Class FinCipherAlgorithmFactory
Simple helper factory for conveniently creating IFinCipherAlgorithm implementations.
Inheritance
System.Object
FinCipherAlgorithmFactory
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Subsembly.FinTS
Assembly: Subsembly.FinTS.Core.dll
Syntax
public sealed class FinCipherAlgorithmFactory
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.
Declaration
public static IFinCipherAlgorithm CreateCipherAlgorithm(FinCipher nCipher)
Parameters
Type | Name | Description |
---|---|---|
FinCipher | nCipher |
Returns
Type | Description |
---|---|
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 |