getCipher(String, Operation , AlgorithmParameters) method

Returns a javax.crypto.Cipher object instance initialized for the specified operation.

Syntax

Cipher getCipher ( String profileName , Operation operation , AlgorithmParameters params ) throws SecException

Parameters

Returns

Cipher to perform the specified operation.

Exceptions

Usage

The supplied AlgorithmParameters object is used to complete initialization of the Cipher.

Cipher to perform the specified operation.