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

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.

Created with MrDocs