django_ca.typehints - Type aliases¶
Various type aliases used in throughout django-ca.
- django_ca.typehints.AllowedHashTypes¶
Hash algorithms that can be used for signing certificates. NOTE: This is a duplicate of the protected
cryptography.x509.base._AllowedHashTypes.alias of
Union[SHA224,SHA256,SHA384,SHA512,SHA3_224,SHA3_256,SHA3_384,SHA3_512]
- class django_ca.typehints.ParsableAuthorityInformationAccess¶
- class django_ca.typehints.ParsableAuthorityKeyIdentifierDict¶
- 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"path_length"value that is eitherNoneor an int.
- class django_ca.typehints.ParsableDistributionPoint¶
- crl_issuer: Iterable[Union[GeneralName, str]]¶
- reasons: Iterable[Union[str, ReasonFlags]]¶
- relative_name: Union[str, RelativeDistinguishedName]¶
- class django_ca.typehints.ParsableNameConstraints¶
- excluded: Iterable[Union[GeneralName, str]]¶
- permitted: Iterable[Union[GeneralName, str]]¶
- class django_ca.typehints.ParsableNoticeReference¶
- class django_ca.typehints.ParsablePolicyConstraints¶
- class django_ca.typehints.ParsablePolicyInformation¶
- policy_identifier: Union[str, ObjectIdentifier]¶
- policy_qualifiers: Optional[Sequence[Union[str, UserNotice, ParsableUserNotice]]]¶
- class django_ca.typehints.ParsableUserNotice¶
-
- notice_reference: Union[NoticeReference, ParsableNoticeReference]¶
- class django_ca.typehints.SerializedAuthorityInformationAccess¶
- class django_ca.typehints.SerializedAuthorityKeyIdentifier¶
- 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"path_length"value that is eitherNoneor an int.
- class django_ca.typehints.SerializedDistributionPoint¶
- class django_ca.typehints.SerializedDistributionPoints¶
-
- value: List[SerializedDistributionPoint]¶
- class django_ca.typehints.SerializedPolicyConstraints¶
- class django_ca.typehints.SerializedPolicyInformation¶
- class django_ca.typehints.SerializedProfile¶
- class django_ca.typehints.SerializedSignedCertificateTimestamp¶
A dictionary with four keys: log_id, timestamp, type, version, values are all str.
- class django_ca.typehints.SerializedUserNotice¶
-
- notice_reference: SerializedNoticeReference¶