Interface IEbicsSecurityOperations
Interface that provides the essential RSA security operations required for EBICS messages.
Namespace: Subsembly.EBICS
Assembly: Subsembly.EBICS.Core.dll
Syntax
public interface IEbicsSecurityOperations
Methods
Decrypt(EbicsSecurityCode, Byte[])
Decrypts the given transaction key.
Declaration
byte[] Decrypt(EbicsSecurityCode nCode, byte[] vbCrypt)
Parameters
Type | Name | Description |
---|---|---|
EbicsSecurityCode | nCode | Selects the security process to be performed. This also implicitly selects the RSA key that will be used for the security process. |
System.Byte[] | vbCrypt | The raw encrypted transaction key data. |
Returns
Type | Description |
---|---|
System.Byte[] | The plain, decrypted transaction key. |
GetPubKey(EbicsSecurityCode)
Retrieve the public key information.
Declaration
EbicsPubKeyInfo GetPubKey(EbicsSecurityCode nCode)
Parameters
Type | Name | Description |
---|---|---|
EbicsSecurityCode | nCode | The security process that shall be performed identifies the key for which to retrieve the public key data. |
Returns
Type | Description |
---|---|
EbicsPubKeyInfo | The public key information or |
SignHash(EbicsSecurityCode, Byte[])
Computes an EBICS authentication signature or electronic signature.
Declaration
byte[] SignHash(EbicsSecurityCode nCode, byte[] vbHash)
Parameters
Type | Name | Description |
---|---|---|
EbicsSecurityCode | nCode | Selects the security process to be performed. This also implicitly selects the RSA key that will be used for the security process. |
System.Byte[] | vbHash | Raw hash value to be signed. The required length of the hash value depends on the selected security process. |
Returns
Type | Description |
---|---|
System.Byte[] | The raw signature value. |