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 Details

    • KeyValue

      public KeyValue(Document doc, DSAKeyValue dsaKeyValue)
      Constructor KeyValue
      Parameters:
      doc -
      dsaKeyValue -
    • KeyValue

      public KeyValue(Document doc, RSAKeyValue rsaKeyValue)
      Constructor KeyValue
      Parameters:
      doc -
      rsaKeyValue -
    • KeyValue

      public KeyValue(Document doc, Element unknownKeyValue)
      Constructor KeyValue
      Parameters:
      doc -
      unknownKeyValue -
    • KeyValue

      public KeyValue(Document doc, PublicKey pk)
      Constructor KeyValue
      Parameters:
      doc -
      pk -
    • KeyValue

      public KeyValue(Element element, String baseURI) throws XMLSecurityException
      Constructor KeyValue
      Parameters:
      element -
      baseURI -
      Throws:
      XMLSecurityException
  • Method Details