public interface VerifierKeyManager
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getId()
Gets the Id attribute of the KeyInfo Element represented by this this SignerKeyManager interface.
|
KeyProviderInterface |
getKeyProvider()
Returns a reference to the particular key provider that provided the verification public key
to this
VerifierKeyManager. |
KeyProviderInterface[] |
getKeyProviders()
Gets an array of all key providers registerred at this key manager.
|
java.security.Key |
getVerifierKey()
Gets the key which will be used to verify the XML signature.
|
void |
setKeyInfo(org.w3c.dom.Element keyInfo)
Initializes the key manager, which is used in for the verification use case, with the DOM
representation of the XML KeyInfo element found in the XML signature, which is to be verified.
|
void |
setURIResolverParameters(URIResolverParameters params)
Sets the parameters to be used by the key mananger when resolving URIs.
|
void setKeyInfo(org.w3c.dom.Element keyInfo)
throws KeyManagerException
keyInfo - the DOM representation of the XML KeyInfo element found in the XML signature.KeyManagerException - if the key manager cannot handle the provided information.java.security.Key getVerifierKey()
throws KeyManagerException
setKeyInfo(org.w3c.dom.Element).KeyManagerException - if providing the key fails for any reason.java.lang.String getId()
null if the attribute is not set.KeyProviderInterface[] getKeyProviders()
null, if there are no registerred
providers available.void setURIResolverParameters(URIResolverParameters params)
params - The parameters to be set. May be null to indicate a restore of the default
values.KeyProviderInterface getKeyProvider()
VerifierKeyManager.null, if there is no such key provider.