|
Oracle Security Developer Tools XML Security Java API Reference 11g (11.1.1) E10680-02 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object
oracle.security.xmlsec.keys.retrieval.KeyRetriever
oracle.security.xmlsec.keys.retrieval.KeyStoreKeyRetriever
public class KeyStoreKeyRetriever
Constructor Summary | |
---|---|
KeyStoreKeyRetriever(java.security.KeyStore ks, char[] keyPassword) |
Method Summary | |
---|---|
protected java.security.cert.X509Certificate |
retrieveCertificate(KeyInfoData keyInfo) Retrieves the certificate identified by the given KeyInfoData . |
protected java.security.PrivateKey |
retrievePrivateKey(KeyInfoData keyInfo) Retrieves the private key identified by the given KeyInfoData . |
protected java.security.PublicKey |
retrievePublicKey(KeyInfoData keyInfo) Retrieves the public key identified by the given KeyInfoData . |
Methods inherited from class oracle.security.xmlsec.keys.retrieval.KeyRetriever |
---|
addKeyRetriever, getAuthenticator, getCertificate, getCertificate, getPrivateKey, getPrivateKey, getPublicKey, getPublicKey, getSymmetricKey, getSymmetricKey, removeKeyRetriever, retrieveCertificate, retrievePrivateKey, retrievePublicKey, retrieveSymmetricKey, retrieveSymmetricKey, setAuthenticator, setCertificateValidator, validateCertificate, validateCertificate, validateCertificate |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public KeyStoreKeyRetriever(java.security.KeyStore ks, char[] keyPassword)
Method Detail |
---|
protected java.security.cert.X509Certificate retrieveCertificate(KeyInfoData keyInfo) throws KeyRetrievalException
KeyRetriever
KeyInfoData
. If this method is not overridden it always returns null
.retrieveCertificate
in class KeyRetriever
keyInfo
- A KeyInfoData
to be used to locate the certificate.X509Certificate
, or null
if none could be located.StorageAuthenticationException
- If an error occurs authenticating to the key source.KeyRetrievalException
protected java.security.PrivateKey retrievePrivateKey(KeyInfoData keyInfo) throws KeyRetrievalException
KeyRetriever
KeyInfoData
. If this method is not overridden it always returns null
.retrievePrivateKey
in class KeyRetriever
keyInfo
- A KeyInfoData
to be used to locate the private key.PrivateKey
, or null
if none could be located.StorageAuthenticationException
- If an error occurs authenticating to the key source.KeyRetrievalException
protected java.security.PublicKey retrievePublicKey(KeyInfoData keyInfo) throws KeyRetrievalException
KeyRetriever
KeyInfoData
. If this method is not overridden it always returns null
.retrievePublicKey
in class KeyRetriever
keyInfo
- A KeyInfoData
to be used to locate the public key.PublicKey
, or null
if none could be located.StorageAuthenticationException
- If an error occurs authenticating to the key source.KeyRetrievalException
|
Oracle Security Developer Tools XML Security Java API Reference 11g (11.1.1) E10680-02 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |