org.apache.jcp.xml.dsig.internal.dom
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
public final class DOMCryptoBinary
- extends DOMStructure
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
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DOMCryptoBinary
public DOMCryptoBinary(BigInteger bigNum)
- Create a
DOMCryptoBinary instance from the specified
BigInteger
- Parameters:
bigNum - the arbitrary-length integer
- Throws:
NullPointerException - if bigNum is null
DOMCryptoBinary
public DOMCryptoBinary(Node cbNode)
throws MarshalException
- Creates a
DOMCryptoBinary from a node.
- Parameters:
cbNode - a CryptoBinary text node
- Throws:
MarshalException - if value cannot be decoded (invalid format)
getBigNum
public BigInteger getBigNum()
- Returns the
BigInteger that this object contains.
- Returns:
- the
BigInteger that this object contains
marshal
public void marshal(Node parent,
String prefix,
DOMCryptoContext context)
throws MarshalException
- Specified by:
marshal in class DOMStructure
- Throws:
MarshalException
Copyright © 2000–2014 The Apache Software Foundation. All rights reserved.