Class DEREncodedKeyValueResolver


  • public class DEREncodedKeyValueResolver
    extends KeyResolverSpi
    KeyResolverSpi implementation which resolves public keys from a dsig11:DEREncodedKeyValue element.
    • Field Detail

      • LOG

        private static final java.lang.System.Logger LOG
    • Constructor Detail

      • DEREncodedKeyValueResolver

        public DEREncodedKeyValueResolver()
    • Method Detail

      • engineCanResolve

        protected boolean engineCanResolve​(org.w3c.dom.Element element,
                                           java.lang.String baseURI,
                                           StorageResolver storage)
        This method returns whether the KeyResolverSpi is able to perform the requested action.
        Specified by:
        engineCanResolve in class KeyResolverSpi
        Returns:
        whether the KeyResolverSpi is able to perform the requested action.
      • engineResolvePrivateKey

        protected java.security.PrivateKey engineResolvePrivateKey​(org.w3c.dom.Element element,
                                                                   java.lang.String baseURI,
                                                                   StorageResolver storage,
                                                                   boolean secureValidation)
        Method engineResolvePrivateKey
        Specified by:
        engineResolvePrivateKey in class KeyResolverSpi
        Returns:
        resolved PrivateKey key from the registered from the elements