Skip to content

Commit

Permalink
Slight adjustment to ExtensionPolicy documentation to use x509 spec t…
Browse files Browse the repository at this point in the history
…erms.
  • Loading branch information
deivse committed Nov 9, 2024
1 parent 6b72323 commit 8b730cf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/x509/verification.rst
Original file line number Diff line number Diff line change
Expand Up @@ -346,15 +346,15 @@ the root of trust:

.. method:: require_not_present(oid)

Specifies that the extension identified by the given OID must not be present.
Specifies that the extension identified by the given OID must not be present (must be absent).

:param oid: The OID of the extension that must not be present.

:returns: An instance of :class:`ExtensionPolicy`

.. method:: may_be_present(oid, criticality, validator_cb)

Specifies that the extension identified by the given OID may or may not be present.
Specifies that the extension identified by the given OID is optional.
If it is present, it must conform to the given criticality constraint.
An optional validator callback may be provided.

Expand Down

0 comments on commit 8b730cf

Please sign in to comment.