public class KeyInfoKeySelector extends KeySelector implements KeySelectorResult
KeySelector.Purpose| Constructor and Description |
|---|
KeyInfoKeySelector() |
| Modifier and Type | Method and Description |
|---|---|
List<X509Certificate> |
getCertChain() |
Key |
getKey() |
X509Certificate |
getSigner()
Gives back the X509 certificate used during the last signature
verification operation.
|
KeySelectorResult |
select(KeyInfo keyInfo,
KeySelector.Purpose purpose,
AlgorithmMethod method,
XMLCryptoContext context) |
singletonKeySelectorpublic KeySelectorResult select(KeyInfo keyInfo, KeySelector.Purpose purpose, AlgorithmMethod method, XMLCryptoContext context) throws KeySelectorException
select in class KeySelectorKeySelectorExceptionpublic Key getKey()
getKey in interface KeySelectorResultpublic X509Certificate getSigner()
public List<X509Certificate> getCertChain()