Oracle Security Developer Tools Web Services Security Java API Reference
10g (10.1.4.0.1)

B28177-01


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

public 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

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

getEncodingType

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

Oracle Security Developer Tools Web Services Security Java API Reference
10g (10.1.4.0.1)

B28177-01


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