NET API
HSM Dinamo
Loading...
Looking for...
No entries found
PKCS#7

Detailed description

PKCS#7 standard signature.

Functions

byte[] SignPKCS7 (string KeyId, string CertId, string CertChainId, P7_MODE mode, byte[] content)
 It generates a signature or co-signature following the PKCS#7 standard (Cryptographic Message Syntax Standard).
 

Functions

SignPKCS7()

byte[] SignPKCS7 ( string KeyId,
string CertId,
string CertChainId,
P7_MODE mode,
byte[] content )
inline

It generates a signature or co-signature following the PKCS#7 standard (Cryptographic Message Syntax Standard).

Parameters
KeyIdName of the key within the HSM that will be used to make the signature.
CertIdName of the certificate (corresponding to the szKeyName key) within the HSM that will be used in the signature.
CertChainIdName of the certificate chain (PKCS#7) or X.509 certificate of the Certificate Authority (corresponding to the szKeyName key) within the HSM that will be used in the signature.
modeMode for the generated signature
contentContent of the data to be signed
Return
Return of the function according to the signature mode selection.
Exceptions
DinamoExceptionThrows exception in case of error.