Firma estándar PKCS#7.
Funciones | |
| byte[] | signPKCS7 (String keyId, String keyCertId, String certs, int attributes, byte[] content) throws TacException |
| Genera una firma o cofirma siguiendo el estándar PKCS#7 (Cryptographic Message Syntax Standard). | |
| byte[] signPKCS7 | ( | String | keyId, |
| String | keyCertId, | ||
| String | certs, | ||
| int | attributes, | ||
| byte[] | content ) throws TacException |
Genera una firma o cofirma siguiendo el estándar PKCS#7 (Cryptographic Message Syntax Standard).
| keyId | Nombre de la clave dentro del HSM que se utilizará para realizar la firma. | ||||||||||||||||
| keyCertId | Nombre del certificado (correspondiente al keyId) dentro del HSM que se utilizará en la firma. | ||||||||||||||||
| certs | Nombre de la cadena de certificados (PKCS#7) o certificado X.509 de la autoridad de certificación (correspondiente al keyId) dentro del HSM que se utilizará en la firma. | ||||||||||||||||
| attributes | Bandera que contiene las opciones de suscripción.
| ||||||||||||||||
| content | Buffer que contiene los datos a firmar. |
| TacException |