RSA BSAFE Cert-C

Certificate Components for C

Crypto-C 6.2.1 Developer's Guide
Search

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 this structure with C_AddExtensionValue() and C_GetExtensionValue().

Samples:

extnhlp.c.

#include <certext.h>

typedef struct POLICY_INFO {

  ITEM policyID;

  unsigned int   qualifierInfoCount;

  QualifierInfo *qualifierInfo;
} POLICY_INFO;

Data Fields

ITEM policyID
 An ITEM structure whose data member points to the certificate policy's OID.

unsigned int qualifierInfoCount
 An unsigned int value that indicates the number of policy qualifiers in the qualifierInfo array.

QualifierInfoqualifierInfo
 A pointer to a QualifierInfo array that contains policy qualifier information. More...


Field Documentation

QualifierInfo* qualifierInfo
 

A pointer to a QualifierInfo array that contains policy qualifier information. If qualifierInfo is (QualifierInfo *)NULL_PTR, set qualifierInfoCount to 0 (zero).


Copyright (c) 1999-2005 RSA Security Inc. All rights reserved. 067-001001-2720-001-000 - 2.7.2