Enum EbicsSecurityCode
Specifies type and version of a EBICS security operation.
[Flags]
public enum EbicsSecurityCode
- Extension Methods
Fields
A004 = 1EBICS A004 electronic signature. Uses an RSA key with a length of 1024 bit for a ISO9796-2 DINSIG signature. Hashalgorithm is RIPEMD-160. The SignHash(byte[]) method expects the raw 20 byte RIPEMD-160 hash value as its input data and returns the signature value.
A005 = 2EBICS A005 electronic signature. Uses an RSA key with a length from 1536 bits to 4096 bits for a PKCS #1 signature. Hashalgorithm is SHA-256. The SignHash(byte[]) method expects the raw 32 byte SHA-256 hash value as its input data and returns the signature value.
A006 = 4EBICS A006 electronic signature. Uses an RSA key with a length from 1536 bits to 4096 bits for a PKCS PSS signature. Hashalgorithm is SHA-256. The SignHash(byte[]) method expects the raw 32 byte SHA-256 hash value as its input data and returns the signature value.
All = SignatureMask | AuthenticationOrEncryptionMaskMask that includes all security codes.
AuthenticationMask = 65280Mask that includes all current and future Xxxx authentication signature security codes.
AuthenticationOrEncryptionMask = AuthenticationMask | EncryptionMaskMask that combines all non-signature operations, that is, AuthenticationMask and EncryptionMask.
E001 = 65536EBICS E001 encryption (2-Key-Tripple-DES). Uses an RSA key with a length from 1024 bits to 16384 bits and PKCS #1 padding. The Decrypt(byte[]) method expects the encrypted transaction key and returns the plain transaction key.
E002 = 131072EBICS E002 encryption (AES-128). Uses an RSA key with a length from 1024 bits to 16384 bits and PKCS #1 padding. The Decrypt(byte[]) method expects the encrypted transaction key and returns the plain transaction key.
EncryptionMask = 16711680Mask that includes all current and future Exxx encryption security codes.
None = 0No security operation selected.
SignatureMask = 255Mask that includes all current and future Axxx electronic signature security codes.
SignatureOrAuthenticationMask = SignatureMask | AuthenticationMaskMask that combines all signing operations, that is, SignatureMask and AuthenticationMask.
X001 = 256EBICS X001 authentication signature. Uses an RSA key with a length from 1024 bits to 16384 bits for a PKCS #1 signature. Hashalgorithm is SHA-1. The SignHash(byte[]) method expects a properly formatted DSI as its input data and returns the signature value.
X002 = 512EBICS X002 authentication signature. Uses an RSA key with a length from 1024 bits to 16384 bits for a PKCS #1 signature. Hashalgorithm is SHA-256. The SignHash(byte[]) method expects a properly formatted DSI as its input data and returns the signature value.
Remarks
On an EBICS security media an EBICS security operation implicitly also selects an RSA key that will be used in order to carry out this security operation. A particular security media implementation may use different RSA keys for the different security operations, or it may use the very same key at its discretion. If you really need to detect whether different RSA keys are used, you can compare the public modulus provided for each security operation.