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(BigInteger bigNum)
Create a
DOMCryptoBinary instance from the specified
BigInteger |
DOMCryptoBinary(Node cbNode)
Creates a
DOMCryptoBinary from a node. |
Modifier and Type | Method and Description |
---|---|
BigInteger |
getBigNum()
Returns the
BigInteger that this object contains. |
void |
marshal(Node parent,
String prefix,
DOMCryptoContext context) |
equalsContent, isFeatureSupported
public DOMCryptoBinary(BigInteger bigNum)
DOMCryptoBinary
instance from the specified
BigInteger
bigNum
- the arbitrary-length integerNullPointerException
- if bigNum
is null
public DOMCryptoBinary(Node cbNode) throws MarshalException
DOMCryptoBinary
from a node.cbNode
- a CryptoBinary text nodeMarshalException
- if value cannot be decoded (invalid format)public BigInteger getBigNum()
BigInteger
that this object contains.BigInteger
that this object containspublic void marshal(Node parent, String prefix, DOMCryptoContext context) throws MarshalException
marshal
in class DOMStructure
MarshalException
Copyright © 2000–2020 The Apache Software Foundation. All rights reserved.