RSA Security logo

RSA BSAFE Cert-C
API Reference

POLICY_INFO Reference

Represents the Certificate Policies extension for X.509 v3 certificates.

It indicates the policy under which the certificate was issued and the purposes for which the certificate can be used. Applications with specific policy requirements can check the policyID to determine whether or not the certificate is acceptable. The default criticality for this extension is NON_CRITICAL. A certificate can have multiple Certificate Policies extensions at the same time. Use the POLICY_INFO structure with the C_AddExtensionValue() and C_GetExtensionValue() functions.

Data Fields
policyID An ITEM structure whose data member points to the certificate policy's OID.
qualifierInfoCount An unsigned int value that indicates the number of policy qualifiers in the qualifierInfo array.
qualifierInfo A pointer to a QualifierInfo array that contains policy qualifier information. If qualifierInfo is (QualifierInfo *)NULL_PTR, set qualifierInfoCount to 0 (zero).

#include <certext.h>

01976 typedef struct POLICY_INFO {
01977   ITEM policyID;                     /* certificate policy identifier */
01978   unsigned int   qualifierInfoCount; /* qualifier count. To omit, set to 0 */
01979   QualifierInfo *qualifierInfo;      /* list of qualifierInfo with 'count' elements
01980                                         To omit, set to (QualifierInfo *)0 */
01981 } POLICY_INFO;

The documentation for this struct was generated from the following file:


RSA BSAFE® Cert-C 2.7 API Reference