| Modifier and Type | Field and Description |
|---|---|
| private byte[] | bytes
A cached bytes |
| private boolean | |
| private Node | excludeNode
Exclude Node *for enveloped transformations* |
| private Set | inputNodeSet
The original NodeSet for this XMLSignatureInput |
| private InputStream | inputOctetStreamProxy
Some InputStreams do not support the |
| private boolean | |
| private String | mimeType
Some Transforms may require explicit MIME type, charset (IANA registered "character set"), or other such information concerning the data they are receiving from an earlier Transform or the source data, although no Transform algorithm specified in this document needs such explicit information. |
| private boolean | |
| private List | nodeFilters
Node Filter list. |
| private OutputStream | |
| private String | preCalculatedDigest
Pre-calculated digest value of the object in base64. |
| private boolean | |
| private String | sourceURI
Field sourceURI |
| private Node | subNode
The original Element |
| Access | Constructor and Description |
|---|---|
| public | XMLSignatureInput(byte[]
an octet array which including XML document or node inputOctets)Construct a XMLSignatureInput from an octet array. |
| public | |
| public | |
| public | |
| public | XMLSignatureInput(String
digest value in base64. preCalculatedDigest)Construct a |
| Modifier and Type | Method and Description |
|---|---|
| public void | |
| private void | |
| public byte[] | Returns: the byte[] from input which was specified as the parameter ofXMLSignatureInput constructorReturns the byte array from input which was specified as the parameter of
|
| private byte[] | |
| public Node | |
| public String | Returns: The HTML representation for this XMLSignatureMethod getHTMLRepresentation |
| public String | Returns: The HTML representation for this XMLSignatureMethod getHTMLRepresentation |
| public Set | |
| public String | |
| public List | |
| public Set | Returns: the node setReturns the node set from input which was specified as the parameter of
|
| public Set | Returns: the node setReturns the node set from input which was specified as the parameter of
|
| public InputStream | Returns: the Octet stream(byte Stream) from input which was specified as the parameter ofXMLSignatureInput constructorReturns the Octet stream(byte Stream) from input which was specified as
the parameter of |
| public InputStream | |
| public String | |
| public String | |
| public Node | |
| public boolean | Returns: true if the object has been set up with an octet streamDetermines if the object has been set up with a ByteArray |
| public boolean | Returns: true if the object has been set up with an ElementDetermines if the object has been set up with an Element |
| public boolean | |
| public boolean | |
| public boolean | |
| public boolean | Returns: true if the object has been set up with a Node setDetermines if the object has been set up with a Node set |
| public boolean | Returns: true if the object has been set up with an octet streamDetermines if the object has been set up with an octet stream |
| public boolean | Returns: true ifsetOutputStream has been called with a
non-null OutputStreamDetermines if |
| public boolean | Returns: true if the object has been set up with a pre-calculated digest.Determines if the object has been set up with a pre-calculated digest. |
| public boolean | |
| public void | |
| public void | setExcludeNode(Node
The excludeNode to set. excludeNode)Sets the exclude node of this XMLSignatureInput |
| public void | |
| public void | setNeedsToBeExpanded(boolean
true if so. needsToBeExpanded)Set if the structure needs to be expanded. |
| public void | |
| public void | |
| public void | |
| public void | |
| public String | toString()
Overrides java. Method toString Returns a string representation of the object. |
| public void | |
| public void |
| bytes | back to summary |
|---|---|
| private byte[] bytes A cached bytes | |
| excludeComments | back to summary |
|---|---|
| private boolean excludeComments | |
| excludeNode | back to summary |
|---|---|
| private Node excludeNode Exclude Node *for enveloped transformations* | |
| inputNodeSet | back to summary |
|---|---|
| private Set<Node> inputNodeSet The original NodeSet for this XMLSignatureInput | |
| inputOctetStreamProxy | back to summary |
|---|---|
| private InputStream inputOctetStreamProxy Some InputStreams do not support the | |
| isNodeSet | back to summary |
|---|---|
| private boolean isNodeSet | |
| mimeType | back to summary |
|---|---|
| private String mimeType Some Transforms may require explicit MIME type, charset (IANA registered "character set"), or other such information concerning the data they are receiving from an earlier Transform or the source data, although no Transform algorithm specified in this document needs such explicit information. Such data characteristics are provided as parameters to the Transform algorithm and should be described in the specification for the algorithm. | |
| needsToBeExpanded | back to summary |
|---|---|
| private boolean needsToBeExpanded | |
| nodeFilters | back to summary |
|---|---|
| private List<NodeFilter> nodeFilters Node Filter list. | |
| outputStream | back to summary |
|---|---|
| private OutputStream outputStream | |
| preCalculatedDigest | back to summary |
|---|---|
| private String preCalculatedDigest Pre-calculated digest value of the object in base64. | |
| secureValidation | back to summary |
|---|---|
| private boolean secureValidation | |
| sourceURI | back to summary |
|---|---|
| private String sourceURI Field sourceURI | |
| subNode | back to summary |
|---|---|
| private Node subNode The original Element | |
| XMLSignatureInput | back to summary |
|---|---|
| public XMLSignatureInput(byte[] inputOctets) Construct a XMLSignatureInput from an octet array. This is a comfort method, which internally converts the byte[] array into an InputStream Note no defensive copy
| |
| XMLSignatureInput | back to summary |
|---|---|
| public XMLSignatureInput(InputStream inputOctetStream) Constructs a | |
| XMLSignatureInput | back to summary |
|---|---|
| public XMLSignatureInput(Node rootNode) Construct a XMLSignatureInput from a subtree rooted by rootNode. This method included the node and all its descendants in the output. | |
| XMLSignatureInput | back to summary |
|---|---|
| public XMLSignatureInput(Set<Node> inputNodeSet) Constructor XMLSignatureInput | |
| XMLSignatureInput | back to summary |
|---|---|
| public XMLSignatureInput(String preCalculatedDigest) Construct a
| |
| addNodeFilter | back to summary |
|---|---|
| public void addNodeFilter(NodeFilter filter) throws XMLParserException, IOException | |
| convertToNodes | back to summary |
|---|---|
| private void convertToNodes() throws XMLParserException, IOException | |
| getBytes | back to summary |
|---|---|
| public byte[] getBytes() throws IOException, CanonicalizationException Returns the byte array from input which was specified as the parameter of
| |
| getBytesFromInputStream | back to summary |
|---|---|
| private byte[] getBytesFromInputStream() throws IOException | |
| getExcludeNode | back to summary |
|---|---|
| public Node getExcludeNode() Gets the exclude node of this XMLSignatureInput
| |
| getHTMLRepresentation | back to summary |
|---|---|
| public String getHTMLRepresentation() throws XMLSignatureException Method getHTMLRepresentation
| |
| getHTMLRepresentation | back to summary |
|---|---|
| public String getHTMLRepresentation(Set<String> inclusiveNamespaces) throws XMLSignatureException Method getHTMLRepresentation
| |
| getInputNodeSet | back to summary |
|---|---|
| public Set Get the Input NodeSet. | |
| getMIMEType | back to summary |
|---|---|
| public String getMIMEType() Returns mimeType
| |
| getNodeFilters | back to summary |
|---|---|
public List
| |
| getNodeSet | back to summary |
|---|---|
| public Set Returns the node set from input which was specified as the parameter of
| |
| getNodeSet | back to summary |
|---|---|
| public Set Returns the node set from input which was specified as the parameter of
| |
| getOctetStream | back to summary |
|---|---|
| public InputStream getOctetStream() throws IOException Returns the Octet stream(byte Stream) from input which was specified as
the parameter of
| |
| getOctetStreamReal | back to summary |
|---|---|
public InputStream getOctetStreamReal()
| |
| getPreCalculatedDigest | back to summary |
|---|---|
| public String getPreCalculatedDigest() | |
| getSourceURI | back to summary |
|---|---|
| public String getSourceURI() Return SourceURI
| |
| getSubNode | back to summary |
|---|---|
| public Node getSubNode() Gets the node of this XMLSignatureInput
| |
| isByteArray | back to summary |
|---|---|
| public boolean isByteArray() Determines if the object has been set up with a ByteArray
| |
| isElement | back to summary |
|---|---|
| public boolean isElement() Determines if the object has been set up with an Element
| |
| isExcludeComments | back to summary |
|---|---|
public boolean isExcludeComments()
| |
| isInitialized | back to summary |
|---|---|
| public boolean isInitialized() Is the object correctly set up?
| |
| isNeedsToBeExpanded | back to summary |
|---|---|
| public boolean isNeedsToBeExpanded() Check if the structure needs to be expanded.
| |
| isNodeSet | back to summary |
|---|---|
| public boolean isNodeSet() Determines if the object has been set up with a Node set
| |
| isOctetStream | back to summary |
|---|---|
| public boolean isOctetStream() Determines if the object has been set up with an octet stream
| |
| isOutputStreamSet | back to summary |
|---|---|
| public boolean isOutputStreamSet() Determines if
| |
| isPreCalculatedDigest | back to summary |
|---|---|
| public boolean isPreCalculatedDigest() Determines if the object has been set up with a pre-calculated digest.
| |
| isSecureValidation | back to summary |
|---|---|
| public boolean isSecureValidation() | |
| setExcludeComments | back to summary |
|---|---|
public void setExcludeComments(boolean excludeComments)
| |
| setExcludeNode | back to summary |
|---|---|
| public void setExcludeNode(Node excludeNode) Sets the exclude node of this XMLSignatureInput
| |
| setMIMEType | back to summary |
|---|---|
| public void setMIMEType(String mimeType) Sets mimeType | |
| setNeedsToBeExpanded | back to summary |
|---|---|
| public void setNeedsToBeExpanded(boolean needsToBeExpanded) Set if the structure needs to be expanded.
| |
| setNodeSet | back to summary |
|---|---|
| public void setNodeSet(boolean b) | |
| setOutputStream | back to summary |
|---|---|
| public void setOutputStream(OutputStream os) | |
| setSecureValidation | back to summary |
|---|---|
| public void setSecureValidation(boolean secureValidation) | |
| setSourceURI | back to summary |
|---|---|
| public void setSourceURI(String sourceURI) Sets SourceURI | |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Method toString
Returns a string representation of the object.
Satisfying this method's contract implies a non-
| |
| updateOutputStream | back to summary |
|---|---|
| public void updateOutputStream(OutputStream diOs) throws CanonicalizationException, IOException | |
| updateOutputStream | back to summary |
|---|---|
| public void updateOutputStream(OutputStream diOs, boolean c14n11) throws CanonicalizationException, IOException | |