RSA BSAFE Cert-C

Certificate Components for C

Crypto-C 6.2.1 Developer's Guide
Search

POLICY_CONSTRAINTS_36 Reference

Represents the Policy Constraints extension for X.509 v3 certificates.

This extension is used only in CA certificates. It constrains path validation by requiring a policy identifier or by prohibiting policy mapping. The default criticality for this extension is NON_CRITICAL. A certificate can have only one Policy Constraints extension at a time. Use this structure with C_AddExtensionValue() and C_GetExtensionValue().

#include <certext.h>

typedef struct POLICY_CONSTRAINTS_36 {

  int requireExplicitPolicy;

  int inhibitPolicyMapping;
} POLICY_CONSTRAINTS_36;

Data Fields

int requireExplicitPolicy
 An int value that indicates the number of certificates to skip before policy constraints apply. More...

int inhibitPolicyMapping
 An int value that indicates the number of certificates to skip before policy mapping is not permitted. More...


Field Documentation

int inhibitPolicyMapping
 

An int value that indicates the number of certificates to skip before policy mapping is not permitted. To omit this constraint, set it to NOT_IN_USE.

int requireExplicitPolicy
 

An int value that indicates the number of certificates to skip before policy constraints apply. To omit this constraint, set it to NOT_IN_USE.


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