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.
(返还上次签名验证操作期间使用的 X509 证书。)
|
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.KeySelector 中选择)
javax.xml.crypto.KeySelectorException
(javax.xml.crypto.KeySelectorException)
public java.security.Key getKey()
getKey
in interface
javax.xml.crypto.KeySelectorResult
(接口 javax.xml.crypto.KeySelectorResult 中的 getKey)
public java.security.cert.X509Certificate getSigner()
public java.util.List<java.security.cert.X509Certificate> getCertChain()
Copyright 2021 The Apache Software Foundation or its licensors, as applicable.