|
Oracle Fusion Middleware Web Services Security Java API Reference for Oracle Security Developer Tools 11g Release 1 (11.1.1) E10678-05 |
||||||||
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.wss.util.WSSKeyRetriever
public class WSSKeyRetriever
This class server as an utility for extracting keys from dsig:KeyInfo instances containing wsse elements. It can only retrieve information located in the same org.w3c.dom.Document instance.
Users should override this class to implement retrieval of keys from persistant storage.
Constructor Summary | |
---|---|
WSSKeyRetriever() |
Method Summary | |
---|---|
java.security.cert.X509Certificate |
processCert(oracle.security.xmlsec.keys.KeyInfoData kid) Parse the KeyInfo data and obtain the X509Certificate certificate. |
java.security.PrivateKey |
processPrivateKey(oracle.security.xmlsec.keys.KeyInfoData kid) Parse the KeyInfo data and obtain the private key. |
javax.crypto.SecretKey |
processSymmetricKey(oracle.security.xmlsec.keys.KeyInfoData kid) Parse the KeyInfo data and obtain the symmetric key. |
protected java.security.cert.X509Certificate |
retrieveCertificate(oracle.security.xmlsec.keys.KeyInfoData keyInfo) |
protected java.security.PrivateKey |
retrievePrivateKey(oracle.security.xmlsec.keys.KeyInfoData keyInfo) |
protected java.security.PublicKey |
retrievePublicKey(oracle.security.xmlsec.keys.KeyInfoData keyInfo) |
protected javax.crypto.SecretKey |
retrieveSymmetricKey(oracle.security.xmlsec.keys.KeyInfoData keyInfo) |
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, 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 WSSKeyRetriever()
Method Detail |
---|
protected java.security.cert.X509Certificate retrieveCertificate(oracle.security.xmlsec.keys.KeyInfoData keyInfo) throws oracle.security.xmlsec.keys.retrieval.KeyRetrievalException
retrieveCertificate
in class oracle.security.xmlsec.keys.retrieval.KeyRetriever
oracle.security.xmlsec.keys.retrieval.KeyRetrievalException
protected java.security.PublicKey retrievePublicKey(oracle.security.xmlsec.keys.KeyInfoData keyInfo) throws oracle.security.xmlsec.keys.retrieval.KeyRetrievalException
retrievePublicKey
in class oracle.security.xmlsec.keys.retrieval.KeyRetriever
oracle.security.xmlsec.keys.retrieval.KeyRetrievalException
protected java.security.PrivateKey retrievePrivateKey(oracle.security.xmlsec.keys.KeyInfoData keyInfo) throws oracle.security.xmlsec.keys.retrieval.KeyRetrievalException
retrievePrivateKey
in class oracle.security.xmlsec.keys.retrieval.KeyRetriever
oracle.security.xmlsec.keys.retrieval.KeyRetrievalException
protected javax.crypto.SecretKey retrieveSymmetricKey(oracle.security.xmlsec.keys.KeyInfoData keyInfo) throws oracle.security.xmlsec.keys.retrieval.KeyRetrievalException
retrieveSymmetricKey
in class oracle.security.xmlsec.keys.retrieval.KeyRetriever
oracle.security.xmlsec.keys.retrieval.KeyRetrievalException
public java.security.cert.X509Certificate processCert(oracle.security.xmlsec.keys.KeyInfoData kid) throws WSSException
Document
.kid
- The wsse:SecurityTokenReference element.null
.WSSException
public java.security.PrivateKey processPrivateKey(oracle.security.xmlsec.keys.KeyInfoData kid) throws WSSException
kid
- The wsse:SecurityTokenReference element.null
.WSSException
public javax.crypto.SecretKey processSymmetricKey(oracle.security.xmlsec.keys.KeyInfoData kid) throws WSSException
kid
- The wsse:SecurityTokenReference element.null
.WSSException
|
Oracle Fusion Middleware Web Services Security Java API Reference for Oracle Security Developer Tools 11g Release 1 (11.1.1) E10678-05 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |