Overview | Package | Class | Tree | Deprecated | Index | Help
| Oracle Security Developer Tools Web Services Security Java API Reference 10g Release 3 (10.1.3) B25382-01
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## 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.

Overview | Package | Class | Tree | Deprecated | Index | Help
| Oracle Security Developer Tools Web Services Security Java API Reference 10g Release 3 (10.1.3) B25382-01
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

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