Class FinCipherAlgorithmFactory
Simple helper factory for conveniently creating IFinCipherAlgorithm implementations.
public sealed class FinCipherAlgorithmFactory
- Inheritance
-
FinCipherAlgorithmFactory
- Inherited Members
Remarks
Use the static CreateCipherAlgorithm(FinCipher) method of this class in order to instantiate a IFinCipherAlgorithm implementation from a FinCipher enumeration value.
Methods
CreateCipherAlgorithm(FinCipher)
Creates a new instance of an implementation of the requested cipher algorithm.
public static IFinCipherAlgorithm CreateCipherAlgorithm(FinCipher nCipher)
Parameters
nCipher
FinCipher
Returns
- IFinCipherAlgorithm
If an implementation of the requested cipher algorithm exists, then a new instance of it is returned. If the parameter was None or no suitable implementation exists, then
null
is returned.