public class TransformImplBase64Decode extends Transform
| Modifier and Type | Field and Description |
|---|---|
protected static java.lang.String |
DEFAULT_ALGORITHM_URI_
The default algorithm URI for this algorithm implementation.
|
inputNodeSet_, inputOctetStream_, inputURI_| Constructor and Description |
|---|
TransformImplBase64Decode()
Standard constructor.
|
| Modifier and Type | Method and Description |
|---|---|
org.w3c.dom.Element |
toElement(org.w3c.dom.Document signatureDOMDoc)
Returns the DOM element representation of the transform.
|
java.lang.Object |
transform()
Computes the base64 decoding of the input which has been specified for this transform.
|
distributeNSDeclarations, setInput, setInput, skipStylesheetElem, withdrawDistributedNSDeclarationsgetURI, setParameters, setURIprotected static final java.lang.String DEFAULT_ALGORITHM_URI_
public TransformImplBase64Decode()
http://www.w3.org/2000/09/xmldsig#base64.public org.w3c.dom.Element toElement(org.w3c.dom.Document signatureDOMDoc)
throws AlgorithmException
toElement in class AlgorithmsignatureDOMDoc - The DOM document which should be used to create necessary DOM nodes.AlgorithmException - if no identifying URI has been specified for this transform.public java.lang.Object transform()
throws AlgorithmException
If the input has been specified as XPath node set with method Transform.setInput(NodeList, URI), the
node set is converted into an octet stream first, as described in
XML Signature, Base64
Transform.
Alternatively, the input can be specified directly as octet stream with method Transform.setInput(InputStream, URI).
transform in class TransformAlgorithmException - if no input has been specified, or if converting the XPath node set input
into its octet stream representation fails, or if computing the base64
decoding fails for any reason.