Class 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>
    Author:
    Sean Mullan
    • Constructor Detail

      • 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)