|
Oracle Fusion Middleware XML Security Java API Reference for Oracle Security Developer Tools 11g Release 1 (11.1.1) E10680-03 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object
oracle.security.xmlsec.transform.XSTransformer
oracle.security.xmlsec.transform.Base64Decoder
public class Base64Decoder
Internal use only. Applies base-64 decoding as per RFC 1421 (PEM) and RFC 2045 (MIME) as a Transform. Whitespace characters ('\r', '\n', '\t', ' ') are ignored in input.
Field Summary |
---|
Fields inherited from class oracle.security.xmlsec.transform.XSTransformer |
---|
transform |
Constructor Summary | |
---|---|
Base64Decoder() Creates a new Base64Decoder instance. |
|
Base64Decoder(XSAlgorithmIdentifier trans) Creates a new Base64Decoder instance. |
Method Summary | |
---|---|
java.lang.String |
getAlgorithmURI() Returns the URI string identifying the Transform algorithm. |
XMLContainer |
transform(XMLContainer source) Applies a Base64 decoding transformation to the given XMLContainer and returns the octet stream result in a new XMLContainer . |
java.io.InputStream |
transformToStream(NodeReader source) transform method that does not actually do the transform, but only sets up things. |
Methods inherited from class oracle.security.xmlsec.transform.XSTransformer |
---|
applyTransforms, getInstance, getInstance, getTransform |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Base64Decoder()
Base64Decoder
instance.public Base64Decoder(XSAlgorithmIdentifier trans)
Base64Decoder
instance.
trans
- A XSAlgorithmIdentifier
object containing no parameter element.java.lang.IllegalArgumentException
- If the XSAlgorithmIdentifier
is not a valid Base64 decode Transform.Method Detail |
---|
public java.lang.String getAlgorithmURI()
XSTransformer
getAlgorithmURI
in class XSTransformer
public XMLContainer transform(XMLContainer source) throws TransformationException
XMLContainer
and returns the octet stream result in a new XMLContainer
.transform
in class XSTransformer
source
- A XMLContainer
on which the transform will operate.XMLContainer
containing the transform octet stream result.TransformationException
- if an error occurs during the transformation process.public java.io.InputStream transformToStream(NodeReader source) throws java.io.IOException, TransformationException
NodeToStreamTransform
transformToStream
in interface NodeToStreamTransform
java.io.IOException
TransformationException
|
Oracle Fusion Middleware XML Security Java API Reference for Oracle Security Developer Tools 11g Release 1 (11.1.1) E10680-03 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |