Certificate purpose entry used by X509_check_purpose and related helpers.
Declared in <openssl/x509v3.h>
struct x509_purpose_st;
| Name | Description |
|---|---|
check_purpose | Callback that evaluates whether a certificate satisfies this purpose. |
flags | Flags such as X509_PURPOSE_DYNAMIC or X509_PURPOSE_DYNAMIC_NAME. |
name | Long human-readable purpose name. |
purpose | Purpose identifier (X509_PURPOSE_SSL_CLIENT, X509_PURPOSE_SSL_SERVER, …). |
sname | Short purpose name. |
trust | Default trust ID associated with this purpose. |
usr_data | Application-specific data attached to a dynamically registered purpose. |