Location:
x509certext.h
Link against: x509.lib
class TX509PolicyConstraint;
Defines whether a policy constraint applies.
Objects of this type are used by the X.509 certificate extension that constrains the use of policies.
An object of this type encapsulates two pieces of information:
whether a specific policy applies to subsequent certificates
if a specific policy applies, the number of certificates that can follow the current one before the policy constraint applies.
Enables a CA to constrain the use of policies in two ways: they can enforce the appearance of explicit certificate policies in subsequent certificates, and prevent policy mapping from being performed.
Defined in TX509PolicyConstraint
:
iCountdown
, iRequired
TBool iRequired;
The policy requirement.
This has the value ETrue, if the policy constraint applies; EFalse otherwise.
TInt iCountdown;
The count down value.
Defines the number of certificates that can follow the current one before the policy constraint applies. This has no meaning if the policy constraint does not apply.