Class DOMCryptoBinary

java.lang.Object
org.apache.jcp.xml.dsig.internal.dom.DOMStructure
org.apache.jcp.xml.dsig.internal.dom.DOMCryptoBinary
All Implemented Interfaces:
XMLStructure

public final class DOMCryptoBinary extends DOMStructure
A DOM-based representation of the XML CryptoBinary simple type as defined in the W3C specification for XML-Signature Syntax and Processing. The XML Schema Definition is defined as: <simpleType name="CryptoBinary"> <restriction base="base64Binary"> </restriction> </simpleType>
  • Field Details

  • Constructor Details

    • DOMCryptoBinary

      public DOMCryptoBinary(BigInteger bigNum)
      Create a DOMCryptoBinary instance from the specified BigInteger
      Parameters:
      bigNum - the arbitrary-length integer
      Throws:
      NullPointerException - if bigNum is null
    • DOMCryptoBinary

      public DOMCryptoBinary(Node cbNode) throws MarshalException
      Creates a DOMCryptoBinary from a node.
      Parameters:
      cbNode - a CryptoBinary text node
      Throws:
      MarshalException - if value cannot be decoded (invalid format)
  • Method Details