Class KeyValueSelector


  • public class KeyValueSelector
    extends javax.xml.crypto.KeySelector

    Class that extends KeySelector to retrieve the public key out of the KeyValue element and returns it. NOTE: If the key algorithm doesn't match the signature algorithm, then the public key will be ignored.

    Project:

    Library for the integration with the services of @Firma, eVisor and TS@.

    Version:
    1.2, 04/03/2020.
    • Nested Class Summary

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

        javax.xml.crypto.KeySelector.Purpose
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      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

        singletonKeySelector
      • Methods inherited from class java.lang.Object

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

      • KeyValueSelector

        public KeyValueSelector()
    • Method Detail

      • select

        public final 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
        Throws:
        javax.xml.crypto.KeySelectorException