Sortix cross-volatile manual
This manual documents Sortix cross-volatile. You can instead view this document in the latest official manual.
NAME
X509_get_pubkey_parameters — copy public key parameters from a chainSYNOPSIS
#include <openssl/x509.h>X509_get_pubkey_parameters(EVP_PKEY *pkey, STACK_OF(X509) *chain);
DESCRIPTION
X509_get_pubkey_parameters() copies public key parameters from the first appropriate certificate in the chain.RETURN VALUES
X509_get_pubkey_parameters() returns 1 for success or 0 for failure.ERRORS
The following diagnostics can be retrieved with ERR_get_error(3), ERR_GET_REASON(3), and ERR_reason_error_string(3):- X509_R_UNABLE_TO_GET_CERTS_PUBLIC_KEY “unable to get certs public key”
- Retrieving the public key from a certificate in the chain failed before a certificate containing complete public key parameters could be found.
- X509_R_UNABLE_TO_FIND_PARAMETERS_IN_CHAIN “unable to find parameters in chain”
- None of the certificates in the chain contain complete public key parameters.