public class KeyValueSelector
extends javax.xml.crypto.KeySelector
Class that extends KeySelector to retrieve the public key out of the KeyValue element and returns it. NOTE: If the key algorithm doesn't match the signature algorithm, then the public key will be ignored.
Project:Library for the integration with the services of @Firma, eVisor and TS@.
| Constructor and Description |
|---|
KeyValueSelector() |
| Modifier and Type | Method and Description |
|---|---|
javax.xml.crypto.KeySelectorResult |
select(javax.xml.crypto.dsig.keyinfo.KeyInfo keyInfo,
javax.xml.crypto.KeySelector.Purpose purpose,
javax.xml.crypto.AlgorithmMethod method,
javax.xml.crypto.XMLCryptoContext context) |
public final javax.xml.crypto.KeySelectorResult select(javax.xml.crypto.dsig.keyinfo.KeyInfo keyInfo,
javax.xml.crypto.KeySelector.Purpose purpose,
javax.xml.crypto.AlgorithmMethod method,
javax.xml.crypto.XMLCryptoContext context)
throws javax.xml.crypto.KeySelectorException
select in class javax.xml.crypto.KeySelectorjavax.xml.crypto.KeySelectorException