|
JavaTM Platform Standard Ed. 6 |
|||||||||
앞의 클래스 다음의 클래스 | 프레임 있어 프레임 없음 | |||||||||
개요: 상자 | 필드 | 생성자 | 메소드 | 상세: 필드 | 생성자 | 메소드 |
java.lang.Object javax.security.auth.x500.X500PrivateCredential
public final class X500PrivateCredential
이 클래스는,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 |
생성자 의 상세 |
---|
public X500PrivateCredential(X509Certificate cert, PrivateKey key)
cert
- X509Certificatekey
- 증명서의 PrivateKey
IllegalArgumentException
- cert
또는 key
가 null 의 경우public X500PrivateCredential(X509Certificate cert, PrivateKey key, String alias)
cert
- X509Certificatekey
- 증명서의 PrivateKeyalias
- KeyStore 앨리어스(alias)
IllegalArgumentException
- cert
,key
, 또는 alias
가 null 의 경우메소드의 상세 |
---|
public X509Certificate getCertificate()
public PrivateKey getPrivateKey()
public String getAlias()
public void destroy()
Destroyable
내의 destroy
public boolean isDestroyed()
Destroyable
내의 isDestroyed
|
JavaTM Platform Standard Ed. 6 |
|||||||||
앞의 클래스 다음의 클래스 | 프레임 있어 프레임 없음 | |||||||||
개요: 상자 | 필드 | 생성자 | 메소드 | 상세: 필드 | 생성자 | 메소드 |
Copyright 2006 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms . Documentation Redistribution Policy 도 참조해 주세요.