public final class KeyValueKeySelector
extends javax.xml.crypto.KeySelector
KeyInfo object.
Supports DSA, RSA and X509 keys.| Constructor and Description |
|---|
KeyValueKeySelector() |
| Modifier and Type | Method and Description |
|---|---|
java.security.cert.X509Certificate |
getX509Certificate()
Returns the x509 certificate used in the signature.
|
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 java.security.cert.X509Certificate getX509Certificate()
null if the
signature used other kind of certificate (RSA, DSA).public 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