Class KeyValue

  • All Implemented Interfaces:
    KeyInfoContent

    public class KeyValue
    extends SignatureElementProxy
    implements KeyInfoContent
    The KeyValue element contains a single public key that may be useful in validating the signature. Structured formats for defining DSA (REQUIRED) and RSA (RECOMMENDED) public keys are defined in Signature Algorithms (section 6.4). The KeyValue element may include externally defined public keys values represented as PCDATA or element types from an external namespace.
    • Constructor Detail

      • KeyValue

        public KeyValue​(org.w3c.dom.Document doc,
                        DSAKeyValue dsaKeyValue)
        Constructor KeyValue
        Parameters:
        doc -
        dsaKeyValue -
      • KeyValue

        public KeyValue​(org.w3c.dom.Document doc,
                        RSAKeyValue rsaKeyValue)
        Constructor KeyValue
        Parameters:
        doc -
        rsaKeyValue -
      • KeyValue

        public KeyValue​(org.w3c.dom.Document doc,
                        org.w3c.dom.Element unknownKeyValue)
        Constructor KeyValue
        Parameters:
        doc -
        unknownKeyValue -
      • KeyValue

        public KeyValue​(org.w3c.dom.Document doc,
                        java.security.PublicKey pk)
        Constructor KeyValue
        Parameters:
        doc -
        pk -
    • Method Detail

      • getBaseLocalName

        public java.lang.String getBaseLocalName()
        Returns the localname of the Elements of the sub-class.
        Specified by:
        getBaseLocalName in class ElementProxy
        Returns:
        the localname of the Elements of the sub-class.