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
Interface BinaryDataEncoder

All Known Implementing Classes:
Base64BinaryEncoder, HexBinaryEncoder, NullBinaryEncoder

public interface BinaryDataEncoder

Classes implementing this interface encode binary data.


Method Summary
 byte[] decode(java.lang.String encoded)
          Parse the encoded binary data.
 java.lang.String encode(byte[] bytes)
          Encode the raw bytes.
 java.lang.String getEncodingType()
          Get the ValueType for this encoder.

 

Method Detail

encode

java.lang.String encode(byte[] bytes)
Encode the raw bytes.
Parameters:
bytes - The bytes to encode.
Returns:
A String representation of the binary data.

decode

byte[] decode(java.lang.String encoded)
Parse the encoded binary data.
Parameters:
encoded - The binary data String.
Returns:
The raw bytes.

getEncodingType

java.lang.String getEncodingType()
Get the ValueType for this encoder.
Returns:
The URI representing this encoder.

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.