|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface X509Credential
Implementations are used to wrap credentials (private key and certificate) in various formats. Methods allow for converting the wrapped credentials into the format usable by the Java API.
Method Summary | |
---|---|
X509Certificate |
getCertificate()
Helper method to get certificate from the underlying keystore |
X509Certificate[] |
getCertificateChain()
Helper method to get certificate chain from the underlying keystore |
PrivateKey |
getKey()
Helper method to get private key from the underlying keystore |
String |
getKeyAlias()
Returns an alias which can be used to obtain the PrivateKey entry from the KeyStore returned by the getKeyStore() method. |
X509ExtendedKeyManager |
getKeyManager()
Returns a KeyManager which accompanies the KeyStore. |
char[] |
getKeyPassword()
Returns a password which can be used to obtain PrivateKey entry from the KeyStore returned by the getKeyStore() method,
with the alias returned by the getKeyAlias() method. |
KeyStore |
getKeyStore()
Returns the credential in a keystore. |
String |
getSubjectName()
|
Method Detail |
---|
KeyStore getKeyStore()
X509ExtendedKeyManager getKeyManager()
char[] getKeyPassword()
getKeyStore()
method,
with the alias returned by the getKeyAlias()
method.
String getKeyAlias()
getKeyStore()
method.
PrivateKey getKey()
X509Certificate getCertificate()
X509Certificate[] getCertificateChain()
String getSubjectName()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |