Engine.getCipher

Return a new cipher object

interface Engine
const
KeyedFilter
getCipher
(
in string algo_spec
,
CipherDir dir
,
AlgorithmFactory af
)

Parameters

algo_spec string

the algorithm name/specification

dir CipherDir

specifies if encryption or decryption is desired

af AlgorithmFactory

an algorithm factory object

Return Value

Type: KeyedFilter

newly allocated object, or NULL

Meta