|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objecteu.emi.security.authn.x509.helpers.AbstractDelegatingX509Credential
public abstract class AbstractDelegatingX509Credential
Abstract base for credential implementations which delegate to another one.
| Field Summary | |
|---|---|
protected X509Credential |
delegate
|
| Constructor Summary | |
|---|---|
AbstractDelegatingX509Credential()
|
|
| 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 X509Credential.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 X509Credential.getKeyStore() method,
with the alias returned by the X509Credential.getKeyAlias() method. |
KeyStore |
getKeyStore()
Returns the credential in a keystore. |
String |
getSubjectName()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected X509Credential delegate
| Constructor Detail |
|---|
public AbstractDelegatingX509Credential()
| Method Detail |
|---|
public KeyStore getKeyStore()
getKeyStore in interface X509Credentialpublic X509ExtendedKeyManager getKeyManager()
getKeyManager in interface X509Credentialpublic char[] getKeyPassword()
X509Credential.getKeyStore() method,
with the alias returned by the X509Credential.getKeyAlias() method.
getKeyPassword in interface X509Credentialpublic String getKeyAlias()
X509Credential.getKeyStore() method.
getKeyAlias in interface X509Credentialpublic PrivateKey getKey()
getKey in interface X509Credentialpublic X509Certificate getCertificate()
getCertificate in interface X509Credentialpublic X509Certificate[] getCertificateChain()
getCertificateChain in interface X509Credentialpublic String getSubjectName()
getSubjectName in interface X509Credential
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||