APIdia Launch Partner
Top Description Fields Constructors Methods
org.jcp.xml.dsig.internal.dom

public final Class DOMCryptoBinary

extends DOMStructure
Class Inheritance
Imports
java.math.BigInteger, javax.xml.crypto.MarshalException, javax.xml.crypto.dom.DOMCryptoContext, com.sun.org.apache.xml.internal.security.utils.XMLUtils, org.w3c.dom.Node, .Text

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

Field Summary

Modifier and TypeField and Description
private final BigInteger
private final String

Constructor Summary

AccessConstructor and Description
public
DOMCryptoBinary(BigInteger
the arbitrary-length integer
bigNum
)

Create a DOMCryptoBinary instance from the specified BigInteger

public
DOMCryptoBinary(Node
a CryptoBinary text node
cbNode
)

Creates a DOMCryptoBinary from a node.

Method Summary

Modifier and TypeMethod and Description
public BigInteger

Returns:

the BigInteger that this object contains
getBigNum
()

Returns the BigInteger that this object contains.

public void
Inherited from org.jcp.xml.dsig.internal.dom.DOMStructure:
equalsContentisFeatureSupported

Field Detail

bigNumback to summary
private final BigInteger bigNum
valueback to summary
private final String value

Constructor Detail

DOMCryptoBinaryback to summary
public DOMCryptoBinary(BigInteger bigNum)

Create a DOMCryptoBinary instance from the specified BigInteger

Parameters
bigNum:BigInteger

the arbitrary-length integer

Exceptions
NullPointerException:
if bigNum is null
DOMCryptoBinaryback to summary
public DOMCryptoBinary(Node cbNode) throws MarshalException

Creates a DOMCryptoBinary from a node.

Parameters
cbNode:Node

a CryptoBinary text node

Exceptions
MarshalException:
if value cannot be decoded (invalid format)

Method Detail

getBigNumback to summary
public BigInteger getBigNum()

Returns the BigInteger that this object contains.

Returns:BigInteger

the BigInteger that this object contains

marshalback to summary
public void marshal(Node parent, String prefix, DOMCryptoContext context) throws MarshalException

Implements abstract org.jcp.xml.dsig.internal.dom.DOMStructure.marshal.

Annotations
@Override