Class KeyInfoKeySelector

  • All Implemented Interfaces:

    public class KeyInfoKeySelector
    extends javax.xml.crypto.KeySelector
    implements javax.xml.crypto.KeySelectorResult
    JSR105 key selector implementation using the ds:KeyInfo data of the signature itself.
    • Nested Class Summary

      • Nested classes/interfaces inherited from class javax.xml.crypto.KeySelector

    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.util.List<> getCertChain() getKey() 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)  
      • Methods inherited from class javax.xml.crypto.KeySelector

      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • KeyInfoKeySelector

        public KeyInfoKeySelector()
    • Method Detail

      • select

        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
        Specified by:
        select in class javax.xml.crypto.KeySelector
      • getKey

        public getKey()
        Specified by:
        getKey in interface javax.xml.crypto.KeySelectorResult
      • getSigner

        public getSigner()
        Gives back the X509 certificate used during the last signature verification operation.
        the certificate which was used to sign the xml content
      • getCertChain

        public java.util.List<> getCertChain()