Oracle Fusion Middleware
Java API Reference for Oracle PDK Java
11g Release 1 (11.1.1)
E10691-01

oracle.portal.provider.v2.security
Interface CipherManager


public interface CipherManager

A CipherManager is employed to transform data to a more secure form, typically using a cryptographic algorithm. The CipherManager must complete this transformation in one operation.


Method Summary
 byte[] decode(byte[] toDecode)
          Transforms the input data to its original form in a single operation.
 byte[] encode(byte[] toEncode)
          Transforms the input data to a more secure form in a single operation.
 

Method Detail

encode

byte[] encode(byte[] toEncode)
              throws ProviderException
Transforms the input data to a more secure form in a single operation.

Parameters:
toEncode - the input data.
Returns:
an encoded form of the input data.
Throws:
ProviderException - if an error occurs during transform.

decode

byte[] decode(byte[] toDecode)
              throws ProviderException
Transforms the input data to its original form in a single operation.

Parameters:
toDecode - the input data.
Returns:
a decoded form of the input data.
Throws:
ProviderException - if an error occurs during transform.

Oracle Fusion Middleware
Java API Reference for Oracle PDK Java
11g Release 1 (11.1.1)
E10691-01

Copyright (c) 1999, 2009, Oracle and/or its affiliates. All rights reserved.