|
IBM WebSphere Application ServerTM Release 7 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface KeyLocator
Retrieves the key for signature and encryption, either with or without the abstract or concrete key "name" as a clue.
Method Summary | |
---|---|
java.security.cert.Certificate |
getCertificate(java.security.Key key)
Deprecated. Returns a certificate object which corresponds to the specified key. |
java.security.cert.Certificate |
getCertificate(java.lang.String name)
Deprecated. 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)
Deprecated. Returns an decryption key. |
java.security.Key |
getEncryptionKey(java.lang.String name,
java.lang.Object context)
Deprecated. Returns an encryption key. |
java.lang.String |
getName(java.security.Key key)
Deprecated. Returns a concrete key "name" which corresponds to the specified key. |
java.lang.String |
getName(java.lang.String name)
Deprecated. 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)
Deprecated. Returns a Set object which contains all the
concrete key "name"s. |
java.security.Key |
getSigningKey(java.lang.String name)
Deprecated. Returns a signing key. |
java.security.Key |
getVerificationKey(java.lang.String name)
Deprecated. Returns a verification key. |
Methods inherited from interface com.ibm.wsspi.wssecurity.Initializable |
---|
init |
Method Detail |
---|
java.util.Set getNames(java.lang.Object context) throws KeyLocatorException
Set
object which contains all the
concrete key "name"s.
context
- Reserved for the future use.
Set
object which contains all the
concrete key "name"s.
KeyLocatorException
java.security.Key getEncryptionKey(java.lang.String name, java.lang.Object context) throws KeyLocatorException
name
- An abstract or concrete key "name".context
- Reserved for the future use.
KeyLocatorException
java.security.Key getDecryptionKey(java.lang.String name, java.lang.Object context) throws KeyLocatorException
name
- An abstract or concrete key "name".context
- Reserved for the future use.
KeyLocatorException
java.security.Key getSigningKey(java.lang.String name) throws KeyLocatorException
name
- An abstract or concrete key "name".
KeyLocatorException
java.security.Key getVerificationKey(java.lang.String name) throws KeyLocatorException
NOTE: This function is not implemented in current WS-Security runtime, because verification key is always embedded in the received message as <BinarySecurityToken>.
name
- An abstract or concrete key "name".
KeyLocatorException
java.lang.String getName(java.security.Key key) throws KeyLocatorException
key
- A key which can be retrieved through the
KeyLocator
object.
KeyLocatorException
java.security.cert.Certificate getCertificate(java.security.Key key) throws KeyLocatorException
key
- A key which can be retrieved through the
KeyLocator
object.
KeyLocatorException
java.security.cert.Certificate getCertificate(java.lang.String name) throws KeyLocatorException
name
- An abstract or concrete key "name".
KeyLocatorException
java.lang.String getName(java.lang.String name) throws KeyLocatorException
name
- An abstract key "name".
KeyLocatorException
|
IBM WebSphere Application ServerTM Release 7 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |