Class EbicsCipherFactory
Simple helper factory for conveniently creating IEbicsCipher implementations.
public sealed class EbicsCipherFactory
- Inheritance
-
EbicsCipherFactory
- Inherited Members
Remarks
Use the static CreateCipher(EbicsSecurityCode) method of this class in order to instantiate a IEbicsCipher implementation from a EbicsSecurityCode enumeration value.
Methods
CreateCipher(EbicsSecurityCode)
Creates a new instance of an implementation of the requested cipher algorithm.
public static IEbicsCipher CreateCipher(EbicsSecurityCode nCipher)
Parameters
nCipher
EbicsSecurityCode
Returns
- IEbicsCipher
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.