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(EbicsSecurityCode, 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(EbicsSecurityCode, 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(EbicsSecurityCode, byte[]) method expects the raw 32 byte SHA-256 hash value as its input data and returns the signature value.
All = SignatureMask | AuthenticationMask | EncryptionMaskMask that includes all security codes.
AuthenticationMask = X001 | X002Mask that includes all Xxxx authentication signature security codes.
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(EbicsSecurityCode, 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(EbicsSecurityCode, byte[]) method expects the encrypted transaction key and returns the plain transaction key.
EncryptionMask = E001 | E002Mask that includes all Exxx encryption security codes.
Highest = 131072None = 0No security operation selected.
SignatureMask = A004 | A005 | A006Mask that includes all Axxx electronic signature security codes.
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(EbicsSecurityCode, 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(EbicsSecurityCode, 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.