django_ca.typehints
- Type aliases¶
Various type aliases used in throughout django-ca.
- django_ca.typehints.ExtensionTypeTypeVar¶
A type variable for a
ExtensionType
instance.alias of TypeVar(‘ExtensionTypeTypeVar’, bound=
ExtensionType
)
- django_ca.typehints.IterableItem¶
TypeVar representing a value contained in an iterable extension.
alias of TypeVar(‘IterableItem’)
- class django_ca.typehints.ParsableAuthorityKeyIdentifierDict¶
- authority_cert_issuer¶
- authority_cert_serial_number¶
- key_identifier¶
- class django_ca.typehints.ParsableBasicConstraints[source]¶
Serialized representation of a BasicConstraints extension.
A value of this type is a dictionary with a
"ca"
key with a boolean value. IfTrue
, it also has a"pathlen"
value that is eitherNone
or an int.- ca¶
- pathlen¶
- django_ca.typehints.ParsableItem¶
TypeVar representing a parsable list item.
alias of TypeVar(‘ParsableItem’)
- class django_ca.typehints.ParsablePolicyConstraints¶
- inhibit_policy_mapping¶
- require_explicit_policy¶
- django_ca.typehints.ParsableValue¶
A value that can be parsed to a valid extension.
alias of TypeVar(‘ParsableValue’)
- class django_ca.typehints.SerializedAuthorityKeyIdentifier¶
- authority_cert_issuer¶
- authority_cert_serial_number¶
- key_identifier¶
- class django_ca.typehints.SerializedBasicConstraints[source]¶
Serialized representation of a BasicConstraints extension.
A value of this type is a dictionary with a
"ca"
key with a boolean value. IfTrue
, it also has a"pathlen"
value that is eitherNone
or an int.- ca¶
- pathlen¶
- class django_ca.typehints.SerializedDistributionPoint¶
- crl_issuer¶
- full_name¶
- reasons¶
- relative_name¶
- django_ca.typehints.SerializedItem¶
TypeVar representing a serialized item for an iterable extension.
alias of TypeVar(‘SerializedItem’)
- class django_ca.typehints.SerializedPolicyConstraints¶
- inhibit_policy_mapping¶
- require_explicit_policy¶
- class django_ca.typehints.SerializedSignedCertificateTimestamp¶
A dictionary with four keys: log_id, timestamp, type, version, values are all str.
- log_id¶
- timestamp¶
- type¶
- version¶
- django_ca.typehints.SerializedSortableItem¶
TypeVar representing a serialized item that can be sorted (for OrderedSetExtension).
alias of TypeVar(‘SerializedSortableItem’, bound=
SupportsLessThan
)
- django_ca.typehints.SerializedValue¶
TypeVar representing a serialized value for an extension.
alias of TypeVar(‘SerializedValue’)