Callback type that looks up a certificate or CRL by alias / friendly name.
Declared in <openssl/x509_vfy.h>
typedef int(* X509_LOOKUP_get_by_alias_fn)(X509_LOOKUP*, X509_LOOKUP_TYPE, char const*, int, X509_OBJECT*);
1 on success, or 0 on failure / not found.
| Name | Description |
|---|---|
| ctx | Lookup instance to query. |
| type | X509_LU_X509 or X509_LU_CRL selecting the object kind. |
| str | Alias bytes to match. |
| len | Length of str in bytes. |
| ret | Receives the found object on success. |