Digest the DER encoding of a PKCS7_ISSUER_AND_SERIAL structure.
Declared in <openssl/pkcs7.h>
int
PKCS7_ISSUER_AND_SERIAL_digest(
PKCS7_ISSUER_AND_SERIAL* data,
EVP_MD const* type,
unsigned char* md,
unsigned int* len);
1 on success, or 0 on failure.
| Name | Description |
|---|---|
| data | Issuer-and-serial value whose ASN.1 encoding is hashed. |
| type | Digest algorithm used to hash the DER encoding. |
| md | Buffer that receives the digest bytes (at least EVP_MD_size(type)). |
| len | Receives the digest length in bytes. |