public final class DOMCryptoBinary extends DOMStructure
CryptoBinary simple type
as defined in the W3C specification for XML-Signature Syntax and Processing.
The XML Schema Definition is defined as:
| Constructor and Description |
|---|
DOMCryptoBinary(java.math.BigInteger bigNum)
Create a
DOMCryptoBinary instance from the specified
BigInteger |
DOMCryptoBinary(org.w3c.dom.Node cbNode)
Creates a
DOMCryptoBinary from a node. |
| Modifier and Type | Method and Description |
|---|---|
java.math.BigInteger |
getBigNum()
Returns the
BigInteger that this object contains. |
void |
marshal(org.w3c.dom.Node parent,
java.lang.String prefix,
javax.xml.crypto.dom.DOMCryptoContext context) |
isFeatureSupportedpublic DOMCryptoBinary(java.math.BigInteger bigNum)
DOMCryptoBinary instance from the specified
BigIntegerbigNum - the arbitrary-length integerjava.lang.NullPointerException - if bigNum is nullpublic DOMCryptoBinary(org.w3c.dom.Node cbNode)
throws javax.xml.crypto.MarshalException
DOMCryptoBinary from a node.cbNode - a CryptoBinary text nodejavax.xml.crypto.MarshalException - if value cannot be decoded (invalid format)public java.math.BigInteger getBigNum()
BigInteger that this object contains.BigInteger that this object containspublic void marshal(org.w3c.dom.Node parent,
java.lang.String prefix,
javax.xml.crypto.dom.DOMCryptoContext context)
throws javax.xml.crypto.MarshalException
marshal in class DOMStructurejavax.xml.crypto.MarshalException