Interface IEbicsSecurityOperations

Namespace
Subsembly.EBICS
Assembly
Subsembly.EBICS.Core.dll

Interface that provides the essential RSA security operations required for EBICS messages.

public interface IEbicsSecurityOperations

Methods

Decrypt(EbicsSecurityCode, byte[])

Decrypts the given transaction key.

byte[] Decrypt(EbicsSecurityCode nCode, byte[] vbCrypt)

Parameters

nCode EbicsSecurityCode

Selects the security process to be performed. This also implicitly selects the RSA key that will be used for the security process.

vbCrypt byte[]

The raw encrypted transaction key data.

Returns

byte[]

The plain, decrypted transaction key.

GetPubKey(EbicsSecurityCode)

Retrieve the public key information.

EbicsPubKeyInfo GetPubKey(EbicsSecurityCode nCode)

Parameters

nCode EbicsSecurityCode

The security process that shall be performed identifies the key for which to retrieve the public key data.

Returns

EbicsPubKeyInfo

The public key information or null if the requested security process is not supported.

SignHash(EbicsSecurityCode, byte[])

Computes an EBICS authentication signature or electronic signature.

byte[] SignHash(EbicsSecurityCode nCode, byte[] vbHash)

Parameters

nCode EbicsSecurityCode

Selects the security process to be performed. This also implicitly selects the RSA key that will be used for the security process.

vbHash byte[]

Raw hash value to be signed. The required length of the hash value depends on the selected security process.

Returns

byte[]

The raw signature value.