PKCS7_ISSUER_AND_SERIAL_digest

Digest the DER encoding of a PKCS7_ISSUER_AND_SERIAL structure.

Synopsis

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);

Return Value

1 on success, or 0 on failure.

Parameters

NameDescription
dataIssuer-and-serial value whose ASN.1 encoding is hashed.
typeDigest algorithm used to hash the DER encoding.
mdBuffer that receives the digest bytes (at least EVP_MD_size(type)).
lenReceives the digest length in bytes.