Callback type that looks up a certificate by issuer name and serial number.

Synopsis

Declared in <openssl/x509_vfy.h>

typedef int(* X509_LOOKUP_get_by_issuer_serial_fn)(X509_LOOKUP*, X509_LOOKUP_TYPE, X509_NAME const*, ASN1_INTEGER const*, X509_OBJECT*);

Return Value

1 on success, or 0 on failure / not found.

Parameters

Name

Description

ctx

Lookup instance to query.

type

Object kind (typically X509_LU_X509).

name

Issuer distinguished name.

serial

Certificate serial number.

ret

Receives the found object on success.

Created with MrDocs