diff options
author | Alex Gaynor <alex.gaynor@gmail.com> | 2015-05-29 07:37:01 -0400 |
---|---|---|
committer | Alex Gaynor <alex.gaynor@gmail.com> | 2015-05-29 07:37:01 -0400 |
commit | 13dcdf8ca1f9eba71fc2bcbcf2850cd08db5cdbb (patch) | |
tree | c6411f762c8b8c18e3ede3a178a1d55aa32236a2 /docs | |
parent | da5a321e0d4266f81ff89d2c7f7b233ad6a6bd41 (diff) | |
parent | 16fae766a47f84cab9dd153b92c249a40b27723e (diff) | |
download | cryptography-13dcdf8ca1f9eba71fc2bcbcf2850cd08db5cdbb.tar.gz cryptography-13dcdf8ca1f9eba71fc2bcbcf2850cd08db5cdbb.tar.bz2 cryptography-13dcdf8ca1f9eba71fc2bcbcf2850cd08db5cdbb.zip |
Merge pull request #1954 from reaperhulk/inhibitanypolicy
InhibitAnyPolicy class
Diffstat (limited to 'docs')
-rw-r--r-- | docs/x509.rst | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/docs/x509.rst b/docs/x509.rst index 11ea279b..bdcd60b1 100644 --- a/docs/x509.rst +++ b/docs/x509.rst @@ -1009,6 +1009,24 @@ X.509 Extensions removed from the CRL. This reason cannot be used as a reason flag in a :class:`DistributionPoint`. +.. class:: InhibitAnyPolicy + + .. versionadded:: 1.0 + + The inhibit ``anyPolicy`` extension indicates that the special OID + :data:`OID_ANY_POLICY`, is not considered an explicit match for other + :class:`CertificatePolicies` except when it appears in an intermediate + self-issued CA certificate. The value indicates the number of additional + non-self-issued certificates that may appear in the path before + :data:`OID_ANY_POLICY` is no longer permitted. For example, a value + of one indicates that :data:`OID_ANY_POLICY` may be processed in + certificates issued by the subject of this certificate, but not in + additional certificates in the path. + + .. attribute:: skip_certs + + :type: int + .. class:: CertificatePolicies .. versionadded:: 0.9 @@ -1300,6 +1318,10 @@ Policy Qualifier OIDs Corresponds to the dotted string ``"1.3.6.1.5.5.7.2.2"``. +.. data:: OID_ANY_POLICY + + Corresponds to the dotted string ``"2.5.29.32.0"``. + .. _extension_oids: Extension OIDs |