public class WSIdKeyStoreMapKeyLocator extends KeyStoreKeyLocator
KeyStore object.
In addition to the properties specified in KeyStoreKeyLocator,
this class accepts two kinds of properties: id_n and
mappedName_n where n is an integer.
The former represents the authenticated ID and the latter represents the
abstract key "name" which is also specified in
KeyStoreKeyLocator.
| Constructor and Description |
|---|
WSIdKeyStoreMapKeyLocator()
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
java.security.cert.Certificate |
getCertificate(java.lang.String name)
Deprecated.
Retrieves the certificate which corresponds to the authenticated ID.
|
java.security.Key |
getEncryptionKey(java.lang.String name,
java.lang.Object context)
Deprecated.
Retrieves the encryption key which corresponds to the authenticated ID.
|
void |
init(java.util.Map map)
Deprecated.
Initializes the object.
|
doInit, encodedName, getCertificate, getConfidentialKey, getDecryptionKey, getDefaultBasePath, getName, getName, getNames, getSigningKey, getVerificationKeypublic void init(java.util.Map map)
throws SoapSecurityException
Initializableinit in interface Initializableinit in class KeyStoreKeyLocatormap - a Map object which contains name-value pairs.
These pairs are specified in <Property> elements in
the configuration XMI files.SoapSecurityExceptionpublic java.security.Key getEncryptionKey(java.lang.String name,
java.lang.Object context)
throws KeyLocatorException
getEncryptionKey in interface KeyLocatorgetEncryptionKey in class KeyStoreKeyLocatorname - Ignored because the key are retrieved according to the
authentication information.context - Reserved for the future use.KeyLocatorExceptionpublic java.security.cert.Certificate getCertificate(java.lang.String name)
throws KeyLocatorException
getCertificate in interface KeyLocatorgetCertificate in class KeyStoreKeyLocatorname - ignored because the key are retrieved according to the
authentication information.KeyLocatorException