org.jcp.xml.dsig.internal.dom
Class DOMCryptoBinary

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

public final class DOMCryptoBinary
extends DOMStructure

Disabled: no SafeJ information.

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>


Constructor Summary
DOMCryptoBinary(BigInteger bigNum)
          Create a DOMCryptoBinary instance from the specified BigInteger
DOMCryptoBinary(org.w3c.dom.Node cbNode)
          Creates a DOMCryptoBinary from a node.
 
Method Summary
 BigInteger getBigNum()
          Returns the BigInteger that this object contains.
 void marshal(org.w3c.dom.Node parent, String prefix, DOMCryptoContext context)
           
 
Methods inherited from class org.jcp.xml.dsig.internal.dom.DOMStructure
isFeatureSupported
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DOMCryptoBinary

public DOMCryptoBinary(BigInteger bigNum)
Class is disabled.

Create a DOMCryptoBinary instance from the specified BigInteger

Parameters:
bigNum - the arbitrary-length integer
Throws:
NullPointerException - if bigNum is null

DOMCryptoBinary

public DOMCryptoBinary(org.w3c.dom.Node cbNode)
                throws MarshalException
Class is disabled.

Creates a DOMCryptoBinary from a node.

Parameters:
cbNode - a CryptoBinary text node
Throws:
MarshalException - if value cannot be decoded (invalid format)
Method Detail

getBigNum

public BigInteger getBigNum()
Class is disabled.

Returns the BigInteger that this object contains.

Returns:
the BigInteger that this object contains

marshal

public void marshal(org.w3c.dom.Node parent,
                    String prefix,
                    DOMCryptoContext context)
             throws MarshalException
Class is disabled.

Specified by:
marshal in class DOMStructure
Throws:
MarshalException