Skip navigation links

Oracle Security Developer Tools Web Services Security Java API Reference
11g (11.1.1)

E10678-02


oracle.security.xmlsec.wss.encoding
Class Base64BinaryEncoder

java.lang.Object
  extended by oracle.security.xmlsec.util.Base64
      extended by oracle.security.xmlsec.wss.encoding.Base64BinaryEncoder

All Implemented Interfaces:
BinaryDataEncoder

public class Base64BinaryEncoder
extends oracle.security.xmlsec.util.Base64
implements BinaryDataEncoder

Implements base-64 encoding as per RFC 1421 (PEM) and RFC 2045 (MIME).


Nested Class Summary

 

Nested classes/interfaces inherited from class oracle.security.xmlsec.util.Base64
oracle.security.xmlsec.util.Base64.DecodeInputStream, oracle.security.xmlsec.util.Base64.EncodeOutputStream

 

Constructor Summary
Base64BinaryEncoder()
           

 

Method Summary
 java.lang.String encode(byte[] data)
          Returns the Base-64 encoding of the given byte array.
 java.lang.String getEncodingType()
          Get the ValueType for this encoder.

 

Methods inherited from class oracle.security.xmlsec.util.Base64
decode, fromBase64, getUseLineBreaks, setUseLineBreaks, toBase64

 

Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

 

Methods inherited from interface oracle.security.xmlsec.wss.encoding.BinaryDataEncoder
decode

 

Constructor Detail

Base64BinaryEncoder

public Base64BinaryEncoder()

Method Detail

getEncodingType

public java.lang.String getEncodingType()
Get the ValueType for this encoder.
Specified by:
getEncodingType in interface BinaryDataEncoder
Returns:
The QName representing this encoder.

encode

public java.lang.String encode(byte[] data)
Description copied from class: oracle.security.xmlsec.util.Base64
Returns the Base-64 encoding of the given byte array.
Specified by:
encode in interface BinaryDataEncoder
Overrides:
encode in class oracle.security.xmlsec.util.Base64
Parameters:
data - The data to be encoded.
Returns:
A String representation of the binary data.

Skip navigation links

Oracle Security Developer Tools Web Services Security Java API Reference
11g (11.1.1)

E10678-02


Copyright © 2005, 2009, Oracle. All rights reserved.