JavaTM Platform
Standard Ed. 6

javax.security.auth.x500
클래스 X500PrivateCredential

java.lang.Object 
  상위를 확장 javax.security.auth.x500.X500PrivateCredential
모든 구현된 인터페이스:
Destroyable


public final class X500PrivateCredential
extends Object
implements Destroyable

이 클래스는,X500PrivateCredential 를 나타냅니다. 이것은, X. 509 증명서에 관련지을 수 있고 있어 비밀열쇠와 KeyStore 내의 올바른 열쇠를 참조하는 KeyStore 앨리어스(alias)와에 대응하고 있습니다. 이것에 의해, 피인증자의 X. 500 주체용의 비공개 증명서를 룩 올라갈 수 있습니다.


생성자 의 개요
X500PrivateCredential (X509Certificate  cert, PrivateKey  key)
          X. 509 certificate, 비밀열쇠, KeyStore 앨리어스(alias)에 관련지을 수 있었던 X500PrivateCredential 를 작성합니다.
X500PrivateCredential (X509Certificate  cert, PrivateKey  key, String  alias)
          X. 509 certificate, 비밀열쇠, KeyStore 앨리어스(alias)에 관련지을 수 있었던 X500PrivateCredential 를 작성합니다.
 
메소드의 개요
 void destroy ()
          이 객체의 X. 509 증명서, 비밀열쇠, 및 KeyStore 앨리어스(alias)에의 참조를 소거합니다.
 String getAlias ()
          KeyStore 앨리어스(alias)를 돌려줍니다.
 X509Certificate getCertificate ()
          X. 509 증명서를 돌려줍니다.
 PrivateKey getPrivateKey ()
          PrivateKey 를 돌려줍니다.
 boolean isDestroyed ()
          이 객체의 X. 509 증명서와 비밀열쇠에의 참조가 소거되었는지의 여부를 판정합니다.
 
클래스 java.lang. Object 로부터 상속된 메소드
clone , equals , finalize , getClass , hashCode , notify , notifyAll , toString , wait , wait , wait
 

생성자 의 상세

X500PrivateCredential

public X500PrivateCredential(X509Certificate  cert,
                             PrivateKey  key)
X. 509 certificate, 비밀열쇠, KeyStore 앨리어스(alias)에 관련지을 수 있었던 X500PrivateCredential 를 작성합니다.  

파라미터:
cert - X509Certificate
key - 증명서의 PrivateKey
예외:
IllegalArgumentException - cert 또는 key 가 null 의 경우

X500PrivateCredential

public X500PrivateCredential(X509Certificate  cert,
                             PrivateKey  key,
                             String  alias)
X. 509 certificate, 비밀열쇠, KeyStore 앨리어스(alias)에 관련지을 수 있었던 X500PrivateCredential 를 작성합니다.  

파라미터:
cert - X509Certificate
key - 증명서의 PrivateKey
alias - KeyStore 앨리어스(alias)
예외:
IllegalArgumentException - cert,key, 또는 alias 가 null 의 경우
메소드의 상세

getCertificate

public X509Certificate  getCertificate()
X. 509 증명서를 돌려줍니다.  

반환값:
X509Certificate

getPrivateKey

public PrivateKey  getPrivateKey()
PrivateKey 를 돌려줍니다.  

반환값:
PrivateKey

getAlias

public String  getAlias()
KeyStore 앨리어스(alias)를 돌려줍니다.  

반환값:
KeyStore 앨리어스(alias)

destroy

public void destroy()
이 객체의 X. 509 증명서, 비밀열쇠, 및 KeyStore 앨리어스(alias)에의 참조를 소거합니다.

정의:
인터페이스 Destroyable 내의 destroy

isDestroyed

public boolean isDestroyed()
이 객체의 X. 509 증명서와 비밀열쇠에의 참조가 소거되었는지의 여부를 판정합니다.  

정의:
인터페이스 Destroyable 내의 isDestroyed
반환값:
X509Certificate 와 PrivateKey 가 null 의 경우는 true

JavaTM Platform
Standard Ed. 6

버그의 보고와 기능의 요청
한층 더 자세한 API 레퍼런스 및 개발자 문서에 대해서는,Java SE 개발자용 문서를 참조해 주세요. 개발자전용의 상세한 해설, 개념의 개요, 용어의 정의, 버그의 회피책, 및 코드 실례가 포함되어 있습니다.

Copyright 2006 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms . Documentation Redistribution Policy 도 참조해 주세요.