|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.ibm.wsspi.wssecurity.config.CertInRequestKeyLocator
Retrieve the response encryption key from the certificate which the client used for signing the request message.
Constructor Summary | |
---|---|
CertInRequestKeyLocator()
|
Method Summary | |
---|---|
java.security.cert.Certificate |
getCertificate(java.security.Key key)
Returns a certificate object which corresponds to the specified key. |
java.security.cert.Certificate |
getCertificate(java.lang.String name)
Returns a certificate object which corresponds to the given abstract or concrete key "name". |
java.security.Key |
getDecryptionKey(java.lang.String name,
java.lang.Object context)
Not implemented. |
java.security.Key |
getEncryptionKey(java.lang.String name,
java.lang.Object context)
Returns an encryption key. |
java.lang.String |
getName(java.security.Key key)
Returns a concrete key "name" which corresponds to the specified key. |
java.lang.String |
getName(java.lang.String name)
Returns a concrete key "name" which corresponds to the given abstract key "name", which is used as a value of the <KeyName> element. |
java.util.Set |
getNames(java.lang.Object context)
Returns a Set object which contains all the
concrete key "name"s. |
java.security.Key |
getSigningKey(java.lang.String name)
Not implemented. |
java.security.Key |
getVerificationKey(java.lang.String name)
Not implemented. |
void |
init(java.util.Map map)
Initializes the object. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public CertInRequestKeyLocator()
Method Detail |
public void init(java.util.Map map) throws SoapSecurityException
Initializable
init
in interface Initializable
com.ibm.wsspi.wssecurity.Initializable
map
- a Map
object which contains name-value pairs.
These pairs are specified in <Property>
elements in
the configuration XMI files.public java.util.Set getNames(java.lang.Object context) throws KeyLocatorException
KeyLocator
Set
object which contains all the
concrete key "name"s.getNames
in interface KeyLocator
com.ibm.wsspi.wssecurity.config.KeyLocator
context
- Reserved for the future use.Set
object which contains all the
concrete key "name"s.public java.security.Key getEncryptionKey(java.lang.String name, java.lang.Object context) throws KeyLocatorException
KeyLocator
getEncryptionKey
in interface KeyLocator
com.ibm.wsspi.wssecurity.config.KeyLocator
name
- An abstract or concrete key "name".context
- Reserved for the future use.public java.security.Key getDecryptionKey(java.lang.String name, java.lang.Object context) throws KeyLocatorException
getDecryptionKey
in interface KeyLocator
com.ibm.wsspi.wssecurity.config.KeyLocator
name
- An abstract or concrete key "name".context
- Reserved for the future use.public java.security.Key getSigningKey(java.lang.String name) throws KeyLocatorException
getSigningKey
in interface KeyLocator
com.ibm.wsspi.wssecurity.config.KeyLocator
name
- An abstract or concrete key "name".public java.security.Key getVerificationKey(java.lang.String name) throws KeyLocatorException
getVerificationKey
in interface KeyLocator
com.ibm.wsspi.wssecurity.config.KeyLocator
name
- An abstract or concrete key "name".public java.lang.String getName(java.security.Key key) throws KeyLocatorException
KeyLocator
getName
in interface KeyLocator
com.ibm.wsspi.wssecurity.config.KeyLocator
key
- A key which can be retrieved through the
KeyLocator
object.public java.lang.String getName(java.lang.String name) throws KeyLocatorException
getName
in interface KeyLocator
name
- An abstract key "name".public java.security.cert.Certificate getCertificate(java.security.Key key) throws KeyLocatorException
KeyLocator
getCertificate
in interface KeyLocator
com.ibm.wsspi.wssecurity.config.KeyLocator
key
- A key which can be retrieved through the
KeyLocator
object.public java.security.cert.Certificate getCertificate(java.lang.String name) throws KeyLocatorException
KeyLocator
getCertificate
in interface KeyLocator
com.ibm.wsspi.wssecurity.config.KeyLocator
name
- An abstract or concrete key "name".
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |