Skip navigation links

Oracle Fusion Middleware Web Services Security Java API Reference for Oracle Security Developer Tools
11g Release 1 (11.1.1)

E10678-03


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)
          Encode the raw bytes.
 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 interface: BinaryDataEncoder
Encode the raw bytes.
Specified by:
encode in interface BinaryDataEncoder
Overrides:
encode in class oracle.security.xmlsec.util.Base64
Parameters:
data - The bytes to encode.
Returns:
A String representation of the binary data.

Skip navigation links

Oracle Fusion Middleware Web Services Security Java API Reference for Oracle Security Developer Tools
11g Release 1 (11.1.1)

E10678-03


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