public class KeyInfoKeySelector
extends javax.xml.crypto.KeySelector
implements javax.xml.crypto.KeySelectorResult
Constructor and Description |
---|
KeyInfoKeySelector() |
Modifier and Type | Method and Description |
---|---|
java.util.List<java.security.cert.X509Certificate> |
getCertChain() |
java.security.Key |
getKey() |
java.security.cert.X509Certificate |
getSigner()
Gives back the X509 certificate used during the last signature
verification operation.
|
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 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.KeySelector
javax.xml.crypto.KeySelectorException
public java.security.Key getKey()
getKey
in interface javax.xml.crypto.KeySelectorResult
public java.security.cert.X509Certificate getSigner()
public java.util.List<java.security.cert.X509Certificate> getCertChain()
Copyright 2018 The Apache Software Foundation or its licensors, as applicable.