PKCS#7 standard signature.
|
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).
|
|
◆ 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
-
KeyId | Name of the key within the HSM that will be used to make the signature. |
CertId | Name of the certificate (corresponding to the szKeyName key) within the HSM that will be used in the signature. |
CertChainId | Name 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. |
mode | Mode for the generated signature |
content | Content of the data to be signed |
- Return
- Return of the function according to the signature mode selection.
- Exceptions
-