X509_LOOKUP_get_by_fingerprint_fn

Callback type that looks up a certificate or CRL by fingerprint.

Synopsis

Declared in <openssl/x509_vfy.h>

typedef int(* X509_LOOKUP_get_by_fingerprint_fn)(X509_LOOKUP*, X509_LOOKUP_TYPE, unsigned char const*, int, X509_OBJECT*);

Return Value

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

Parameters

NameDescription
ctxLookup instance to query.
typeX509_LU_X509 or X509_LU_CRL selecting the object kind.
bytesFingerprint octets to match.
lenLength of bytes.
retReceives the found object on success.