|
Oracle Security Developer Tools XML Security Java API Reference 10g Release 3 (10.1.4.0.1) B28178-01 |
|||||||||
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.KeyInfoTool
Utility for extracting keys and certificates from a KeyInfo.
XSKeyInfo
, KeyInfoData
, KeyRetriever
Constructor Summary | |
KeyInfoTool() Creates a new KeyInfoTool instance. |
Method Summary | |
oracle.security.crypto.cert.X509 |
retrieveCertificate(KeyInfoData keyInfo) Extracts the certificate from the given KeyInfoData . |
oracle.security.crypto.core.PublicKey |
retrievePublicKey(KeyInfoData keyInfo) Extracts the public key from the given KeyInfoData . |
oracle.security.crypto.core.SymmetricKey |
retrieveSymmetricKey(KeyInfoData keyInfo) Extracts the symmetric key from the given KeyInfoData . |
Methods inherited from class oracle.security.xmlsec.keys.retrieval.KeyRetriever |
addKeyRetriever, getAuthenticator, getCertificate, getCertificate, getPrivateKey, getPrivateKey, getPublicKey, getPublicKey, getSymmetricKey, getSymmetricKey, retrieveCertificate, retrievePrivateKey, retrievePrivateKey, retrievePublicKey, retrieveSymmetricKey, setAuthenticator |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public KeyInfoTool()
KeyInfoTool
instance.Method Detail |
public oracle.security.crypto.core.PublicKey retrievePublicKey(KeyInfoData keyInfo) throws KeyRetrievalException
KeyInfoData
.retrievePublicKey
in class KeyRetriever
keyInfo
- A KeyInfoData
instance.PublicKey
if keyInfo
is a KeyValue
or a X509Data
containing a X509Certificate, otherwise returns null
.KeyRetrievalException
public oracle.security.crypto.core.SymmetricKey retrieveSymmetricKey(KeyInfoData keyInfo) throws KeyRetrievalException
KeyInfoData
.retrieveSymmetricKey
in class KeyRetriever
keyInfo
- A KeyInfoData
instance.SymmetricKey
if keyInfo
is a XEEncryptedKey
, otherwise returns null
.KeyRetrievalException
public oracle.security.crypto.cert.X509 retrieveCertificate(KeyInfoData keyInfo) throws KeyRetrievalException
KeyInfoData
.retrieveCertificate
in class KeyRetriever
keyInfo
- A KeyInfoData
instance.X509
if keyInfo
is a X509Data
containing a X509Certificate, otherwise returns null
.KeyRetrievalException
|
Oracle Security Developer Tools XML Security Java API Reference 10g Release 3 (10.1.4.0.1) B28178-01 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |