Interface IEbicsSecurityOperations
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
nCodeEbicsSecurityCodeSelects the security process to be performed. This also implicitly selects the RSA key that will be used for the security process.
vbCryptbyte[]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
nCodeEbicsSecurityCodeThe security process that shall be performed identifies the key for which to retrieve the public key data.
Returns
- EbicsPubKeyInfo
The public key information or
nullif 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
nCodeEbicsSecurityCodeSelects the security process to be performed. This also implicitly selects the RSA key that will be used for the security process.
vbHashbyte[]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.