Sortix nightly manual
This manual documents Sortix nightly, a development build that has not been officially released. You can instead view this document in the latest official manual.
NAME
POLICYINFO_new, POLICYINFO_free, CERTIFICATEPOLICIES_new, CERTIFICATEPOLICIES_free, POLICYQUALINFO_new, POLICYQUALINFO_free, USERNOTICE_new, USERNOTICE_free, NOTICEREF_new, NOTICEREF_free, POLICY_MAPPING_new, POLICY_MAPPING_free, POLICY_CONSTRAINTS_new, POLICY_CONSTRAINTS_free — X.509 certificate policiesSYNOPSIS
#include <openssl/x509v3.h>POLICYINFO_new(void);
POLICYINFO_free(POLICYINFO *pi);
CERTIFICATEPOLICIES_new(void);
CERTIFICATEPOLICIES_free(CERTIFICATEPOLICIES *pis);
POLICYQUALINFO_new(void);
POLICYQUALINFO_free(POLICYQUALINFO *pqi);
USERNOTICE_new(void);
USERNOTICE_free(USERNOTICE *usernotice);
NOTICEREF_new(void);
NOTICEREF_free(NOTICEREF *noticeref);
POLICY_MAPPING_new(void);
POLICY_MAPPING_free(POLICY_MAPPING *pm);
POLICY_CONSTRAINTS_new(void);
POLICY_CONSTRAINTS_free(POLICY_CONSTRAINTS *pc);
DESCRIPTION
X.509 CA and end entity certificates can optionally indicate restrictions on their intended use.RETURN VALUES
The constructor functions return a new object of the respective type or NULL if an error occurs.SEE ALSO
BASIC_CONSTRAINTS_new(3), d2i_POLICYINFO(3), NAME_CONSTRAINTS_new(3), X509_EXTENSION_new(3), X509_get_extension_flags(3), X509_new(3)STANDARDS
RFC 5280: Internet X.509 Public Key Infrastructure Certificate and Certificate Revocation List (CRL) Profile:- section 4.2.1.4: Certificate Policies
- section 4.2.1.5: Policy Mappings
- section 4.2.1.11: Policy Constraints