Enum EbicsSecurityCode
Specifies type and version of a EBICS security operation.
Namespace: Subsembly.EBICS
Assembly: Subsembly.EBICS.Core.dll
Syntax
[Flags]
public enum EbicsSecurityCode
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.
Fields
Name | Description |
---|---|
A004 | EBICS 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 | EBICS 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 | EBICS 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 | Mask that includes all security codes. |
AuthenticationMask | Mask that includes all Xxxx authentication signature security codes. |
E001 | EBICS 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 | EBICS 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 | Mask that includes all Exxx encryption security codes. |
Highest | |
None | No security operation selected. |
SignatureMask | Mask that includes all Axxx electronic signature security codes. |
X001 | EBICS 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 | EBICS 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. |