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
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:
- Author:
- Sean Mullan
-
Constructor Summary
ConstructorsConstructorDescriptionDOMCryptoBinary
(BigInteger bigNum) Create aDOMCryptoBinary
instance from the specifiedBigInteger
DOMCryptoBinary
(Node cbNode) Creates aDOMCryptoBinary
from a node. -
Method Summary
Modifier and TypeMethodDescriptionReturns theBigInteger
that this object contains.void
marshal
(Node parent, String prefix, DOMCryptoContext context) Methods inherited from class org.apache.jcp.xml.dsig.internal.dom.DOMStructure
isFeatureSupported
-
Constructor Details
-
DOMCryptoBinary
Create aDOMCryptoBinary
instance from the specifiedBigInteger
- Parameters:
bigNum
- the arbitrary-length integer- Throws:
NullPointerException
- ifbigNum
isnull
-
DOMCryptoBinary
Creates aDOMCryptoBinary
from a node.- Parameters:
cbNode
- a CryptoBinary text node- Throws:
MarshalException
- if value cannot be decoded (invalid format)
-
-
Method Details
-
getBigNum
Returns theBigInteger
that this object contains.- Returns:
- the
BigInteger
that this object contains
-
marshal
- Specified by:
marshal
in classDOMStructure
- Throws:
MarshalException
-