Back to module index

Go to module by name

cryptography

cryptography.x509 (package)

This module has no docstring.

Classes

AccessDescription

access_location = <property object at 0x7f75e2cb4950>
access_method = <property object at 0x7f75e2cb4900>

Attribute

oid = <property object at 0x7f75e2de27a0>
value = <property object at 0x7f75e2de3060>

AttributeNotFound

with_traceback(...)

  Exception.with_traceback(tb) --
      set self.__traceback__ to tb and return self.
args = <attribute 'args' of 'BaseException' objects>

Attributes

get_attribute_for_oid(self, oid: ObjectIdentifier) -> cryptography.x509.base.Attribute

AuthorityInformationAccess

public_bytes(self) -> bytes
oid = <ObjectIdentifier(oid=1.3.6.1.5.5.7.1.1, name=authorityInfoAccess)>

AuthorityInformationAccessOID

CA_ISSUERS = <ObjectIdentifier(oid=1.3.6.1.5.5.7.48.2, name=caIssuers)>
OCSP = <ObjectIdentifier(oid=1.3.6.1.5.5.7.48.1, name=OCSP)>

AuthorityKeyIdentifier

from_issuer_public_key(public_key: Union[cryptography.hazmat.primitives.asymmetric.dsa.DSAPublicKey, cryptography.hazmat.primitives.asymmetric.rsa.RSAPublicKey, cryptography.hazmat.primitives.asymmetric.ec.EllipticCurvePublicKey, cryptography.hazmat.primitives.asymmetric.ed25519.Ed25519PublicKey, cryptography.hazmat.primitives.asymmetric.ed448.Ed448PublicKey]) -> 'AuthorityKeyIdentifier'
from_issuer_subject_key_identifier(ski: 'SubjectKeyIdentifier') -> 'AuthorityKeyIdentifier'
public_bytes(self) -> bytes
authority_cert_issuer = <property object at 0x7f75e2cb44a0>
authority_cert_serial_number = <property object at 0x7f75e2cb44f0>
key_identifier = <property object at 0x7f75e2cb4360>
oid = <ObjectIdentifier(oid=2.5.29.35, name=authorityKeyIdentifier)>

BasicConstraints

public_bytes(self) -> bytes
ca = <property object at 0x7f75e2cb49f0>
oid = <ObjectIdentifier(oid=2.5.29.19, name=basicConstraints)>
path_length = <property object at 0x7f75e2cb4a40>

CRLDistributionPoints

public_bytes(self) -> bytes
oid = <ObjectIdentifier(oid=2.5.29.31, name=cRLDistributionPoints)>

CRLEntryExtensionOID

CERTIFICATE_ISSUER = <ObjectIdentifier(oid=2.5.29.29, name=certificateIssuer)>
CRL_REASON = <ObjectIdentifier(oid=2.5.29.21, name=cRLReason)>
INVALIDITY_DATE = <ObjectIdentifier(oid=2.5.29.24, name=invalidityDate)>

CRLNumber

public_bytes(self) -> bytes
crl_number = <property object at 0x7f75e2cb4180>
oid = <ObjectIdentifier(oid=2.5.29.20, name=cRLNumber)>

CRLReason

public_bytes(self) -> bytes
oid = <ObjectIdentifier(oid=2.5.29.21, name=cRLReason)>
reason = <property object at 0x7f75e2cb7240>

Certificate

fingerprint(self, algorithm: cryptography.hazmat.primitives.hashes.HashAlgorithm) -> bytes


          Returns bytes using digest passed.
        
public_bytes(self, encoding: cryptography.hazmat.primitives._serialization.Encoding) -> bytes


          Serializes the certificate to PEM or DER format.
        
public_key(self) -> Union[cryptography.hazmat.primitives.asymmetric.dsa.DSAPublicKey, cryptography.hazmat.primitives.asymmetric.rsa.RSAPublicKey, cryptography.hazmat.primitives.asymmetric.ec.EllipticCurvePublicKey, cryptography.hazmat.primitives.asymmetric.ed25519.Ed25519PublicKey, cryptography.hazmat.primitives.asymmetric.ed448.Ed448PublicKey, cryptography.hazmat.primitives.asymmetric.x25519.X25519PublicKey, cryptography.hazmat.primitives.asymmetric.x448.X448PublicKey]


          Returns the public key
        
extensions = <abc.abstractproperty object at 0x7f75e2e9b6a0>

          Returns an Extensions object.
        
issuer = <abc.abstractproperty object at 0x7f75e2e9b520>

          Returns the issuer name object.
        
not_valid_after = <abc.abstractproperty object at 0x7f75e2e9b4c0>

          Not after time (represented as UTC datetime)
        
not_valid_before = <abc.abstractproperty object at 0x7f75e2e9b460>

          Not before time (represented as UTC datetime)
        
serial_number = <abc.abstractproperty object at 0x7f75e2dbbfa0>

          Returns certificate serial number
        
signature = <abc.abstractproperty object at 0x7f75e2e9b700>

          Returns the signature bytes.
        
signature_algorithm_oid = <abc.abstractproperty object at 0x7f75e2e9b640>

          Returns the ObjectIdentifier of the signature algorithm.
        
signature_hash_algorithm = <abc.abstractproperty object at 0x7f75e2e9b5e0>

          Returns a HashAlgorithm corresponding to the type of the digest signed
          in the certificate.
        
subject = <abc.abstractproperty object at 0x7f75e2e9b580>

          Returns the subject name object.
        
tbs_certificate_bytes = <abc.abstractproperty object at 0x7f75e2e9b760>

          Returns the tbsCertificate payload bytes as defined in RFC 5280.
        
tbs_precertificate_bytes = <abc.abstractproperty object at 0x7f75e2e9b7c0>

          Returns the tbsCertificate payload bytes with the SCT list extension
          stripped.
        
version = <abc.abstractproperty object at 0x7f75e2e9b400>

          Returns the certificate version
        

CertificateBuilder

add_extension(self, extval: cryptography.x509.extensions.ExtensionType, critical: bool) -> 'CertificateBuilder'


          Adds an X.509 extension to the certificate.
        
issuer_name(self, name: cryptography.x509.name.Name) -> 'CertificateBuilder'


          Sets the CA's distinguished name.
        
not_valid_after(self, time: datetime.datetime) -> 'CertificateBuilder'


          Sets the certificate expiration time.
        
not_valid_before(self, time: datetime.datetime) -> 'CertificateBuilder'


          Sets the certificate activation time.
        
public_key(self, key: Union[cryptography.hazmat.primitives.asymmetric.dsa.DSAPublicKey, cryptography.hazmat.primitives.asymmetric.rsa.RSAPublicKey, cryptography.hazmat.primitives.asymmetric.ec.EllipticCurvePublicKey, cryptography.hazmat.primitives.asymmetric.ed25519.Ed25519PublicKey, cryptography.hazmat.primitives.asymmetric.ed448.Ed448PublicKey, cryptography.hazmat.primitives.asymmetric.x25519.X25519PublicKey, cryptography.hazmat.primitives.asymmetric.x448.X448PublicKey]) -> 'CertificateBuilder'


          Sets the requestor's public key (as found in the signing request).
        
serial_number(self, number: int) -> 'CertificateBuilder'


          Sets the certificate serial number.
        
sign(self, private_key: Union[cryptography.hazmat.primitives.asymmetric.ed25519.Ed25519PrivateKey, cryptography.hazmat.primitives.asymmetric.ed448.Ed448PrivateKey, cryptography.hazmat.primitives.asymmetric.rsa.RSAPrivateKey, cryptography.hazmat.primitives.asymmetric.dsa.DSAPrivateKey, cryptography.hazmat.primitives.asymmetric.ec.EllipticCurvePrivateKey], algorithm: Optional[cryptography.hazmat.primitives.hashes.HashAlgorithm], backend: Any = None) -> cryptography.x509.base.Certificate


          Signs the certificate using the CA's private key.
        
subject_name(self, name: cryptography.x509.name.Name) -> 'CertificateBuilder'


          Sets the requestor's distinguished name.
        

CertificateIssuer

get_values_for_type(self, type: Union[Type[cryptography.x509.general_name.DNSName], Type[cryptography.x509.general_name.DirectoryName], Type[cryptography.x509.general_name.IPAddress], Type[cryptography.x509.general_name.OtherName], Type[cryptography.x509.general_name.RFC822Name], Type[cryptography.x509.general_name.RegisteredID], Type[cryptography.x509.general_name.UniformResourceIdentifier]]) -> Union[List[Union[ipaddress.IPv4Address, ipaddress.IPv6Address, ipaddress.IPv4Network, ipaddress.IPv6Network]], List[str], List[cryptography.x509.general_name.OtherName], List[cryptography.x509.name.Name], List[ObjectIdentifier]]
public_bytes(self) -> bytes
oid = <ObjectIdentifier(oid=2.5.29.29, name=certificateIssuer)>

CertificatePolicies

public_bytes(self) -> bytes
oid = <ObjectIdentifier(oid=2.5.29.32, name=certificatePolicies)>

CertificatePoliciesOID

ANY_POLICY = <ObjectIdentifier(oid=2.5.29.32.0, name=Unknown OID)>
CPS_QUALIFIER = <ObjectIdentifier(oid=1.3.6.1.5.5.7.2.1, name=id-qt-cps)>
CPS_USER_NOTICE = <ObjectIdentifier(oid=1.3.6.1.5.5.7.2.2, name=id-qt-unotice)>

CertificateRevocationList

fingerprint(self, algorithm: cryptography.hazmat.primitives.hashes.HashAlgorithm) -> bytes


          Returns bytes using digest passed.
        
get_revoked_certificate_by_serial_number(self, serial_number: int) -> Optional[cryptography.x509.base.RevokedCertificate]


          Returns an instance of RevokedCertificate or None if the serial_number
          is not in the CRL.
        
is_signature_valid(self, public_key: Union[cryptography.hazmat.primitives.asymmetric.dsa.DSAPublicKey, cryptography.hazmat.primitives.asymmetric.rsa.RSAPublicKey, cryptography.hazmat.primitives.asymmetric.ec.EllipticCurvePublicKey, cryptography.hazmat.primitives.asymmetric.ed25519.Ed25519PublicKey, cryptography.hazmat.primitives.asymmetric.ed448.Ed448PublicKey]) -> bool


          Verifies signature of revocation list against given public key.
        
public_bytes(self, encoding: cryptography.hazmat.primitives._serialization.Encoding) -> bytes


          Serializes the CRL to PEM or DER format.
        
extensions = <abc.abstractproperty object at 0x7f75e2e9bb80>

          Returns an Extensions object containing a list of CRL extensions.
        
issuer = <abc.abstractproperty object at 0x7f75e2e9ba60>

          Returns the X509Name with the issuer of this CRL.
        
last_update = <abc.abstractproperty object at 0x7f75e2e9bb20>

          Returns the date of last update for this CRL.
        
next_update = <abc.abstractproperty object at 0x7f75e2e9bac0>

          Returns the date of next update for this CRL.
        
signature = <abc.abstractproperty object at 0x7f75e2e9bbe0>

          Returns the signature bytes.
        
signature_algorithm_oid = <abc.abstractproperty object at 0x7f75e2e9ba00>

          Returns the ObjectIdentifier of the signature algorithm.
        
signature_hash_algorithm = <abc.abstractproperty object at 0x7f75e2e9b9a0>

          Returns a HashAlgorithm corresponding to the type of the digest signed
          in the certificate.
        
tbs_certlist_bytes = <abc.abstractproperty object at 0x7f75e2e9bc40>

          Returns the tbsCertList payload bytes as defined in RFC 5280.
        

CertificateRevocationListBuilder

add_extension(self, extval: cryptography.x509.extensions.ExtensionType, critical: bool) -> 'CertificateRevocationListBuilder'


          Adds an X.509 extension to the certificate revocation list.
        
add_revoked_certificate(self, revoked_certificate: cryptography.x509.base.RevokedCertificate) -> 'CertificateRevocationListBuilder'


          Adds a revoked certificate to the CRL.
        
issuer_name(self, issuer_name: cryptography.x509.name.Name) -> 'CertificateRevocationListBuilder'
last_update(self, last_update: datetime.datetime) -> 'CertificateRevocationListBuilder'
next_update(self, next_update: datetime.datetime) -> 'CertificateRevocationListBuilder'
sign(self, private_key: Union[cryptography.hazmat.primitives.asymmetric.ed25519.Ed25519PrivateKey, cryptography.hazmat.primitives.asymmetric.ed448.Ed448PrivateKey, cryptography.hazmat.primitives.asymmetric.rsa.RSAPrivateKey, cryptography.hazmat.primitives.asymmetric.dsa.DSAPrivateKey, cryptography.hazmat.primitives.asymmetric.ec.EllipticCurvePrivateKey], algorithm: Optional[cryptography.hazmat.primitives.hashes.HashAlgorithm], backend: Any = None) -> cryptography.x509.base.CertificateRevocationList

CertificateSigningRequest

get_attribute_for_oid(self, oid: ObjectIdentifier) -> bytes


          Get the attribute value for a given OID.
        
public_bytes(self, encoding: cryptography.hazmat.primitives._serialization.Encoding) -> bytes


          Encodes the request to PEM or DER format.
        
public_key(self) -> Union[cryptography.hazmat.primitives.asymmetric.dsa.DSAPublicKey, cryptography.hazmat.primitives.asymmetric.rsa.RSAPublicKey, cryptography.hazmat.primitives.asymmetric.ec.EllipticCurvePublicKey, cryptography.hazmat.primitives.asymmetric.ed25519.Ed25519PublicKey, cryptography.hazmat.primitives.asymmetric.ed448.Ed448PublicKey, cryptography.hazmat.primitives.asymmetric.x25519.X25519PublicKey, cryptography.hazmat.primitives.asymmetric.x448.X448PublicKey]


          Returns the public key
        
attributes = <abc.abstractproperty object at 0x7f75e2e9be20>

          Returns an Attributes object.
        
extensions = <abc.abstractproperty object at 0x7f75e2e9bdc0>

          Returns the extensions in the signing request.
        
is_signature_valid = <abc.abstractproperty object at 0x7f75e2e9bf40>

          Verifies signature of signing request.
        
signature = <abc.abstractproperty object at 0x7f75e2e9be80>

          Returns the signature bytes.
        
signature_algorithm_oid = <abc.abstractproperty object at 0x7f75e2e9bd60>

          Returns the ObjectIdentifier of the signature algorithm.
        
signature_hash_algorithm = <abc.abstractproperty object at 0x7f75e2e9bd00>

          Returns a HashAlgorithm corresponding to the type of the digest signed
          in the certificate.
        
subject = <abc.abstractproperty object at 0x7f75e2e9bca0>

          Returns the subject name object.
        
tbs_certrequest_bytes = <abc.abstractproperty object at 0x7f75e2e9bee0>

          Returns the PKCS#10 CertificationRequestInfo bytes as defined in RFC
          2986.
        

CertificateSigningRequestBuilder

add_attribute(self, oid: ObjectIdentifier, value: bytes, *, _tag: Optional[cryptography.x509.name._ASN1Type] = None) -> 'CertificateSigningRequestBuilder'


          Adds an X.509 attribute with an OID and associated value.
        
add_extension(self, extval: cryptography.x509.extensions.ExtensionType, critical: bool) -> 'CertificateSigningRequestBuilder'


          Adds an X.509 extension to the certificate request.
        
sign(self, private_key: Union[cryptography.hazmat.primitives.asymmetric.ed25519.Ed25519PrivateKey, cryptography.hazmat.primitives.asymmetric.ed448.Ed448PrivateKey, cryptography.hazmat.primitives.asymmetric.rsa.RSAPrivateKey, cryptography.hazmat.primitives.asymmetric.dsa.DSAPrivateKey, cryptography.hazmat.primitives.asymmetric.ec.EllipticCurvePrivateKey], algorithm: Optional[cryptography.hazmat.primitives.hashes.HashAlgorithm], backend: Any = None) -> cryptography.x509.base.CertificateSigningRequest


          Signs the request using the requestor's private key.
        
subject_name(self, name: cryptography.x509.name.Name) -> 'CertificateSigningRequestBuilder'


          Sets the certificate requestor's distinguished name.
        

DNSName

value = <property object at 0x7f75e2c97830>

DeltaCRLIndicator

public_bytes(self) -> bytes
crl_number = <property object at 0x7f75e2cb4bd0>
oid = <ObjectIdentifier(oid=2.5.29.27, name=deltaCRLIndicator)>

DirectoryName

value = <property object at 0x7f75e2c979c0>

DistributionPoint

crl_issuer = <property object at 0x7f75e2cb5120>
full_name = <property object at 0x7f75e2cb5030>
reasons = <property object at 0x7f75e2cb50d0>
relative_name = <property object at 0x7f75e2cb5080>

DuplicateExtension

with_traceback(...)

  Exception.with_traceback(tb) --
      set self.__traceback__ to tb and return self.
args = <attribute 'args' of 'BaseException' objects>

ExtendedKeyUsage

public_bytes(self) -> bytes
oid = <ObjectIdentifier(oid=2.5.29.37, name=extendedKeyUsage)>

ExtendedKeyUsageOID

ANY_EXTENDED_KEY_USAGE = <ObjectIdentifier(oid=2.5.29.37.0, name=Unknown OID)>
CERTIFICATE_TRANSPARENCY = <ObjectIdentifier(oid=1.3.6.1.4.1.11129.2.4.4, name=Unknown OID)>
CLIENT_AUTH = <ObjectIdentifier(oid=1.3.6.1.5.5.7.3.2, name=clientAuth)>
CODE_SIGNING = <ObjectIdentifier(oid=1.3.6.1.5.5.7.3.3, name=codeSigning)>
EMAIL_PROTECTION = <ObjectIdentifier(oid=1.3.6.1.5.5.7.3.4, name=emailProtection)>
IPSEC_IKE = <ObjectIdentifier(oid=1.3.6.1.5.5.7.3.17, name=Unknown OID)>
KERBEROS_PKINIT_KDC = <ObjectIdentifier(oid=1.3.6.1.5.2.3.5, name=pkInitKDC)>
OCSP_SIGNING = <ObjectIdentifier(oid=1.3.6.1.5.5.7.3.9, name=OCSPSigning)>
SERVER_AUTH = <ObjectIdentifier(oid=1.3.6.1.5.5.7.3.1, name=serverAuth)>
SMARTCARD_LOGON = <ObjectIdentifier(oid=1.3.6.1.4.1.311.20.2.2, name=msSmartcardLogin)>
TIME_STAMPING = <ObjectIdentifier(oid=1.3.6.1.5.5.7.3.8, name=timeStamping)>

Extension

critical = <property object at 0x7f75e2cb6660>
oid = <property object at 0x7f75e2cb6610>
value = <property object at 0x7f75e2cb66b0>

ExtensionNotFound

with_traceback(...)

  Exception.with_traceback(tb) --
      set self.__traceback__ to tb and return self.
args = <attribute 'args' of 'BaseException' objects>

ExtensionOID

AUTHORITY_INFORMATION_ACCESS = <ObjectIdentifier(oid=1.3.6.1.5.5.7.1.1, name=authorityInfoAccess)>
AUTHORITY_KEY_IDENTIFIER = <ObjectIdentifier(oid=2.5.29.35, name=authorityKeyIdentifier)>
BASIC_CONSTRAINTS = <ObjectIdentifier(oid=2.5.29.19, name=basicConstraints)>
CERTIFICATE_POLICIES = <ObjectIdentifier(oid=2.5.29.32, name=certificatePolicies)>
CRL_DISTRIBUTION_POINTS = <ObjectIdentifier(oid=2.5.29.31, name=cRLDistributionPoints)>
CRL_NUMBER = <ObjectIdentifier(oid=2.5.29.20, name=cRLNumber)>
DELTA_CRL_INDICATOR = <ObjectIdentifier(oid=2.5.29.27, name=deltaCRLIndicator)>
EXTENDED_KEY_USAGE = <ObjectIdentifier(oid=2.5.29.37, name=extendedKeyUsage)>
FRESHEST_CRL = <ObjectIdentifier(oid=2.5.29.46, name=freshestCRL)>
INHIBIT_ANY_POLICY = <ObjectIdentifier(oid=2.5.29.54, name=inhibitAnyPolicy)>
ISSUER_ALTERNATIVE_NAME = <ObjectIdentifier(oid=2.5.29.18, name=issuerAltName)>
ISSUING_DISTRIBUTION_POINT = <ObjectIdentifier(oid=2.5.29.28, name=issuingDistributionPoint)>
KEY_USAGE = <ObjectIdentifier(oid=2.5.29.15, name=keyUsage)>
NAME_CONSTRAINTS = <ObjectIdentifier(oid=2.5.29.30, name=nameConstraints)>
OCSP_NO_CHECK = <ObjectIdentifier(oid=1.3.6.1.5.5.7.48.1.5, name=OCSPNoCheck)>
POLICY_CONSTRAINTS = <ObjectIdentifier(oid=2.5.29.36, name=policyConstraints)>
POLICY_MAPPINGS = <ObjectIdentifier(oid=2.5.29.33, name=policyMappings)>
PRECERT_POISON = <ObjectIdentifier(oid=1.3.6.1.4.1.11129.2.4.3, name=ctPoison)>
PRECERT_SIGNED_CERTIFICATE_TIMESTAMPS = <ObjectIdentifier(oid=1.3.6.1.4.1.11129.2.4.2, name=signedCertificateTimestampList)>
SIGNED_CERTIFICATE_TIMESTAMPS = <ObjectIdentifier(oid=1.3.6.1.4.1.11129.2.4.5, name=signedCertificateTimestampList)>
SUBJECT_ALTERNATIVE_NAME = <ObjectIdentifier(oid=2.5.29.17, name=subjectAltName)>
SUBJECT_DIRECTORY_ATTRIBUTES = <ObjectIdentifier(oid=2.5.29.9, name=subjectDirectoryAttributes)>
SUBJECT_INFORMATION_ACCESS = <ObjectIdentifier(oid=1.3.6.1.5.5.7.1.11, name=subjectInfoAccess)>
SUBJECT_KEY_IDENTIFIER = <ObjectIdentifier(oid=2.5.29.14, name=subjectKeyIdentifier)>
TLS_FEATURE = <ObjectIdentifier(oid=1.3.6.1.5.5.7.1.24, name=TLSFeature)>

ExtensionType

public_bytes(self) -> bytes


          Serializes the extension type to DER.
        

Extensions

get_extension_for_class(self, extclass: Type[+ExtensionTypeVar]) -> 'Extension[ExtensionTypeVar]'
get_extension_for_oid(self, oid: ObjectIdentifier) -> 'Extension[ExtensionType]'

FreshestCRL

public_bytes(self) -> bytes
oid = <ObjectIdentifier(oid=2.5.29.46, name=freshestCRL)>

GeneralName

value = <abc.abstractproperty object at 0x7f75e2e99ea0>

          Return the value of the object
        

GeneralNames

get_values_for_type(self, type: Union[Type[cryptography.x509.general_name.DNSName], Type[cryptography.x509.general_name.DirectoryName], Type[cryptography.x509.general_name.IPAddress], Type[cryptography.x509.general_name.OtherName], Type[cryptography.x509.general_name.RFC822Name], Type[cryptography.x509.general_name.RegisteredID], Type[cryptography.x509.general_name.UniformResourceIdentifier]]) -> Union[List[Union[ipaddress.IPv4Address, ipaddress.IPv6Address, ipaddress.IPv4Network, ipaddress.IPv6Network]], List[str], List[cryptography.x509.general_name.OtherName], List[cryptography.x509.name.Name], List[ObjectIdentifier]]

IPAddress

value = <property object at 0x7f75e2c97bf0>

InhibitAnyPolicy

public_bytes(self) -> bytes
oid = <ObjectIdentifier(oid=2.5.29.54, name=inhibitAnyPolicy)>
skip_certs = <property object at 0x7f75e2cb5f30>

InvalidVersion

with_traceback(...)

  Exception.with_traceback(tb) --
      set self.__traceback__ to tb and return self.
args = <attribute 'args' of 'BaseException' objects>

InvalidityDate

public_bytes(self) -> bytes
invalidity_date = <property object at 0x7f75e2cb7330>
oid = <ObjectIdentifier(oid=2.5.29.24, name=invalidityDate)>

IssuerAlternativeName

get_values_for_type(self, type: Union[Type[cryptography.x509.general_name.DNSName], Type[cryptography.x509.general_name.DirectoryName], Type[cryptography.x509.general_name.IPAddress], Type[cryptography.x509.general_name.OtherName], Type[cryptography.x509.general_name.RFC822Name], Type[cryptography.x509.general_name.RegisteredID], Type[cryptography.x509.general_name.UniformResourceIdentifier]]) -> Union[List[Union[ipaddress.IPv4Address, ipaddress.IPv6Address, ipaddress.IPv4Network, ipaddress.IPv6Network]], List[str], List[cryptography.x509.general_name.OtherName], List[cryptography.x509.name.Name], List[ObjectIdentifier]]
public_bytes(self) -> bytes
oid = <ObjectIdentifier(oid=2.5.29.18, name=issuerAltName)>

IssuingDistributionPoint

public_bytes(self) -> bytes
full_name = <property object at 0x7f75e2cb78d0>
indirect_crl = <property object at 0x7f75e2cb7a60>
oid = <ObjectIdentifier(oid=2.5.29.28, name=issuingDistributionPoint)>
only_contains_attribute_certs = <property object at 0x7f75e2cb7ab0>
only_contains_ca_certs = <property object at 0x7f75e2cb79c0>
only_contains_user_certs = <property object at 0x7f75e2cb7970>
only_some_reasons = <property object at 0x7f75e2cb7a10>
relative_name = <property object at 0x7f75e2cb7920>

KeyUsage

public_bytes(self) -> bytes
content_commitment = <property object at 0x7f75e2cb60c0>
crl_sign = <property object at 0x7f75e2cb62a0>
data_encipherment = <property object at 0x7f75e2cb61b0>
decipher_only = <property object at 0x7f75e2cb6340>
digital_signature = <property object at 0x7f75e2cb6110>
encipher_only = <property object at 0x7f75e2cb62f0>
key_agreement = <property object at 0x7f75e2cb6200>
key_cert_sign = <property object at 0x7f75e2cb6250>
key_encipherment = <property object at 0x7f75e2cb6160>
oid = <ObjectIdentifier(oid=2.5.29.15, name=keyUsage)>

Name

from_rfc4514_string(data: str, attr_name_overrides: Optional[Mapping[str, ObjectIdentifier]] = None) -> 'Name'
get_attributes_for_oid(self, oid: ObjectIdentifier) -> List[cryptography.x509.name.NameAttribute]
public_bytes(self, backend: Any = None) -> bytes
rfc4514_string(self, attr_name_overrides: Optional[Mapping[ObjectIdentifier, str]] = None) -> str


          Format as RFC4514 Distinguished Name string.
          For example 'CN=foobar.com,O=Foo Corp,C=US'

          An X.509 name is a two-level structure: a list of sets of attributes.
          Each list element is separated by ',' and within each list element, set
          elements are separated by '+'. The latter is almost never used in
          real world certificates. According to RFC4514 section 2.1 the
          RDNSequence must be reversed when converting to string representation.
        
rdns = <property object at 0x7f75e2c973d0>

NameAttribute

rfc4514_string(self, attr_name_overrides: Optional[Mapping[ObjectIdentifier, str]] = None) -> str


          Format as RFC4514 Distinguished Name string.

          Use short attribute name if available, otherwise fall back to OID
          dotted string.
        
oid = <property object at 0x7f75e2c96cf0>
rfc4514_attribute_name = <property object at 0x7f75e2c96d90>

          The short attribute name (for example "CN") if available,
          otherwise the OID dotted string.
        
value = <property object at 0x7f75e2c96d40>

NameConstraints

public_bytes(self) -> bytes
excluded_subtrees = <property object at 0x7f75e2cb64d0>
oid = <ObjectIdentifier(oid=2.5.29.30, name=nameConstraints)>
permitted_subtrees = <property object at 0x7f75e2cb6480>

NameOID

BUSINESS_CATEGORY = <ObjectIdentifier(oid=2.5.4.15, name=businessCategory)>
COMMON_NAME = <ObjectIdentifier(oid=2.5.4.3, name=commonName)>
COUNTRY_NAME = <ObjectIdentifier(oid=2.5.4.6, name=countryName)>
DN_QUALIFIER = <ObjectIdentifier(oid=2.5.4.46, name=dnQualifier)>
DOMAIN_COMPONENT = <ObjectIdentifier(oid=0.9.2342.19200300.100.1.25, name=domainComponent)>
EMAIL_ADDRESS = <ObjectIdentifier(oid=1.2.840.113549.1.9.1, name=emailAddress)>
GENERATION_QUALIFIER = <ObjectIdentifier(oid=2.5.4.44, name=generationQualifier)>
GIVEN_NAME = <ObjectIdentifier(oid=2.5.4.42, name=givenName)>
INN = <ObjectIdentifier(oid=1.2.643.3.131.1.1, name=INN)>
JURISDICTION_COUNTRY_NAME = <ObjectIdentifier(oid=1.3.6.1.4.1.311.60.2.1.3, name=jurisdictionCountryName)>
JURISDICTION_LOCALITY_NAME = <ObjectIdentifier(oid=1.3.6.1.4.1.311.60.2.1.1, name=jurisdictionLocalityName)>
JURISDICTION_STATE_OR_PROVINCE_NAME = <ObjectIdentifier(oid=1.3.6.1.4.1.311.60.2.1.2, name=jurisdictionStateOrProvinceName)>
LOCALITY_NAME = <ObjectIdentifier(oid=2.5.4.7, name=localityName)>
OGRN = <ObjectIdentifier(oid=1.2.643.100.1, name=OGRN)>
ORGANIZATIONAL_UNIT_NAME = <ObjectIdentifier(oid=2.5.4.11, name=organizationalUnitName)>
ORGANIZATION_NAME = <ObjectIdentifier(oid=2.5.4.10, name=organizationName)>
POSTAL_ADDRESS = <ObjectIdentifier(oid=2.5.4.16, name=postalAddress)>
POSTAL_CODE = <ObjectIdentifier(oid=2.5.4.17, name=postalCode)>
PSEUDONYM = <ObjectIdentifier(oid=2.5.4.65, name=pseudonym)>
SERIAL_NUMBER = <ObjectIdentifier(oid=2.5.4.5, name=serialNumber)>
SNILS = <ObjectIdentifier(oid=1.2.643.100.3, name=SNILS)>
STATE_OR_PROVINCE_NAME = <ObjectIdentifier(oid=2.5.4.8, name=stateOrProvinceName)>
STREET_ADDRESS = <ObjectIdentifier(oid=2.5.4.9, name=streetAddress)>
SURNAME = <ObjectIdentifier(oid=2.5.4.4, name=surname)>
TITLE = <ObjectIdentifier(oid=2.5.4.12, name=title)>
UNSTRUCTURED_NAME = <ObjectIdentifier(oid=1.2.840.113549.1.9.2, name=unstructuredName)>
USER_ID = <ObjectIdentifier(oid=0.9.2342.19200300.100.1.1, name=userID)>
X500_UNIQUE_IDENTIFIER = <ObjectIdentifier(oid=2.5.4.45, name=x500UniqueIdentifier)>

NoticeReference

notice_numbers = <property object at 0x7f75e2cb5ad0>
organization = <property object at 0x7f75e2cb59e0>

OCSPNoCheck

public_bytes(self) -> bytes
oid = <ObjectIdentifier(oid=1.3.6.1.5.5.7.48.1.5, name=OCSPNoCheck)>

OCSPNonce

public_bytes(self) -> bytes
nonce = <property object at 0x7f75e2cb76f0>
oid = <ObjectIdentifier(oid=1.3.6.1.5.5.7.48.1.2, name=OCSPNonce)>

ObjectIdentifier

dotted_string = <attribute 'dotted_string' of 'builtins.ObjectIdentifier' objects>

OtherName

type_id = <property object at 0x7f75e2c97d30>
value = <property object at 0x7f75e2c97d80>

PolicyConstraints

public_bytes(self) -> bytes
inhibit_policy_mapping = <property object at 0x7f75e2cb5210>
oid = <ObjectIdentifier(oid=2.5.29.36, name=policyConstraints)>
require_explicit_policy = <property object at 0x7f75e2cb51c0>

PolicyInformation

policy_identifier = <property object at 0x7f75e2cb5620>
policy_qualifiers = <property object at 0x7f75e2cb5760>

PrecertPoison

public_bytes(self) -> bytes
oid = <ObjectIdentifier(oid=1.3.6.1.4.1.11129.2.4.3, name=ctPoison)>

PrecertificateSignedCertificateTimestamps

public_bytes(self) -> bytes
oid = <ObjectIdentifier(oid=1.3.6.1.4.1.11129.2.4.2, name=signedCertificateTimestampList)>

RFC822Name

value = <property object at 0x7f75e2c962a0>

ReasonFlags

An enumeration.
aa_compromise = <ReasonFlags.aa_compromise: 'aACompromise'>
affiliation_changed = <ReasonFlags.affiliation_changed: 'affiliationChanged'>
ca_compromise = <ReasonFlags.ca_compromise: 'cACompromise'>
certificate_hold = <ReasonFlags.certificate_hold: 'certificateHold'>
cessation_of_operation = <ReasonFlags.cessation_of_operation: 'cessationOfOperation'>
key_compromise = <ReasonFlags.key_compromise: 'keyCompromise'>
privilege_withdrawn = <ReasonFlags.privilege_withdrawn: 'privilegeWithdrawn'>
remove_from_crl = <ReasonFlags.remove_from_crl: 'removeFromCRL'>
superseded = <ReasonFlags.superseded: 'superseded'>
unspecified = <ReasonFlags.unspecified: 'unspecified'>

RegisteredID

value = <property object at 0x7f75e2c97ab0>

RelativeDistinguishedName

get_attributes_for_oid(self, oid: ObjectIdentifier) -> List[cryptography.x509.name.NameAttribute]
rfc4514_string(self, attr_name_overrides: Optional[Mapping[ObjectIdentifier, str]] = None) -> str


          Format as RFC4514 Distinguished Name string.

          Within each RDN, attributes are joined by '+', although that is rarely
          used in certificates.
        

RevokedCertificate

extensions = <abc.abstractproperty object at 0x7f75e2e9b8e0>

          Returns an Extensions object containing a list of Revoked extensions.
        
revocation_date = <abc.abstractproperty object at 0x7f75e2e9b880>

          Returns the date of when this certificate was revoked.
        
serial_number = <abc.abstractproperty object at 0x7f75e2e9b820>

          Returns the serial number of the revoked certificate.
        

RevokedCertificateBuilder

add_extension(self, extval: cryptography.x509.extensions.ExtensionType, critical: bool) -> 'RevokedCertificateBuilder'
build(self, backend: Any = None) -> cryptography.x509.base.RevokedCertificate
revocation_date(self, time: datetime.datetime) -> 'RevokedCertificateBuilder'
serial_number(self, number: int) -> 'RevokedCertificateBuilder'

SignatureAlgorithmOID

DSA_WITH_SHA1 = <ObjectIdentifier(oid=1.2.840.10040.4.3, name=dsa-with-sha1)>
DSA_WITH_SHA224 = <ObjectIdentifier(oid=2.16.840.1.101.3.4.3.1, name=dsa-with-sha224)>
DSA_WITH_SHA256 = <ObjectIdentifier(oid=2.16.840.1.101.3.4.3.2, name=dsa-with-sha256)>
DSA_WITH_SHA384 = <ObjectIdentifier(oid=2.16.840.1.101.3.4.3.3, name=Unknown OID)>
DSA_WITH_SHA512 = <ObjectIdentifier(oid=2.16.840.1.101.3.4.3.4, name=Unknown OID)>
ECDSA_WITH_SHA1 = <ObjectIdentifier(oid=1.2.840.10045.4.1, name=ecdsa-with-SHA1)>
ECDSA_WITH_SHA224 = <ObjectIdentifier(oid=1.2.840.10045.4.3.1, name=ecdsa-with-SHA224)>
ECDSA_WITH_SHA256 = <ObjectIdentifier(oid=1.2.840.10045.4.3.2, name=ecdsa-with-SHA256)>
ECDSA_WITH_SHA384 = <ObjectIdentifier(oid=1.2.840.10045.4.3.3, name=ecdsa-with-SHA384)>
ECDSA_WITH_SHA3_224 = <ObjectIdentifier(oid=2.16.840.1.101.3.4.3.9, name=Unknown OID)>
ECDSA_WITH_SHA3_256 = <ObjectIdentifier(oid=2.16.840.1.101.3.4.3.10, name=Unknown OID)>
ECDSA_WITH_SHA3_384 = <ObjectIdentifier(oid=2.16.840.1.101.3.4.3.11, name=Unknown OID)>
ECDSA_WITH_SHA3_512 = <ObjectIdentifier(oid=2.16.840.1.101.3.4.3.12, name=Unknown OID)>
ECDSA_WITH_SHA512 = <ObjectIdentifier(oid=1.2.840.10045.4.3.4, name=ecdsa-with-SHA512)>
ED25519 = <ObjectIdentifier(oid=1.3.101.112, name=ed25519)>
ED448 = <ObjectIdentifier(oid=1.3.101.113, name=ed448)>
GOSTR3410_2012_WITH_3411_2012_256 = <ObjectIdentifier(oid=1.2.643.7.1.1.3.2, name=GOST R 34.10-2012 with GOST R 34.11-2012 (256 bit))>
GOSTR3410_2012_WITH_3411_2012_512 = <ObjectIdentifier(oid=1.2.643.7.1.1.3.3, name=GOST R 34.10-2012 with GOST R 34.11-2012 (512 bit))>
GOSTR3411_94_WITH_3410_2001 = <ObjectIdentifier(oid=1.2.643.2.2.3, name=GOST R 34.11-94 with GOST R 34.10-2001)>
RSASSA_PSS = <ObjectIdentifier(oid=1.2.840.113549.1.1.10, name=RSASSA-PSS)>
RSA_WITH_MD5 = <ObjectIdentifier(oid=1.2.840.113549.1.1.4, name=md5WithRSAEncryption)>
RSA_WITH_SHA1 = <ObjectIdentifier(oid=1.2.840.113549.1.1.5, name=sha1WithRSAEncryption)>
RSA_WITH_SHA224 = <ObjectIdentifier(oid=1.2.840.113549.1.1.14, name=sha224WithRSAEncryption)>
RSA_WITH_SHA256 = <ObjectIdentifier(oid=1.2.840.113549.1.1.11, name=sha256WithRSAEncryption)>
RSA_WITH_SHA384 = <ObjectIdentifier(oid=1.2.840.113549.1.1.12, name=sha384WithRSAEncryption)>
RSA_WITH_SHA3_224 = <ObjectIdentifier(oid=2.16.840.1.101.3.4.3.13, name=Unknown OID)>
RSA_WITH_SHA3_256 = <ObjectIdentifier(oid=2.16.840.1.101.3.4.3.14, name=Unknown OID)>
RSA_WITH_SHA3_384 = <ObjectIdentifier(oid=2.16.840.1.101.3.4.3.15, name=Unknown OID)>
RSA_WITH_SHA3_512 = <ObjectIdentifier(oid=2.16.840.1.101.3.4.3.16, name=Unknown OID)>
RSA_WITH_SHA512 = <ObjectIdentifier(oid=1.2.840.113549.1.1.13, name=sha512WithRSAEncryption)>

SignedCertificateTimestamps

public_bytes(self) -> bytes
oid = <ObjectIdentifier(oid=1.3.6.1.4.1.11129.2.4.5, name=signedCertificateTimestampList)>

SubjectAlternativeName

get_values_for_type(self, type: Union[Type[cryptography.x509.general_name.DNSName], Type[cryptography.x509.general_name.DirectoryName], Type[cryptography.x509.general_name.IPAddress], Type[cryptography.x509.general_name.OtherName], Type[cryptography.x509.general_name.RFC822Name], Type[cryptography.x509.general_name.RegisteredID], Type[cryptography.x509.general_name.UniformResourceIdentifier]]) -> Union[List[Union[ipaddress.IPv4Address, ipaddress.IPv6Address, ipaddress.IPv4Network, ipaddress.IPv6Network]], List[str], List[cryptography.x509.general_name.OtherName], List[cryptography.x509.name.Name], List[ObjectIdentifier]]
public_bytes(self) -> bytes
oid = <ObjectIdentifier(oid=2.5.29.17, name=subjectAltName)>

SubjectInformationAccess

public_bytes(self) -> bytes
oid = <ObjectIdentifier(oid=1.3.6.1.5.5.7.1.11, name=subjectInfoAccess)>

SubjectKeyIdentifier

from_public_key(public_key: Union[cryptography.hazmat.primitives.asymmetric.dsa.DSAPublicKey, cryptography.hazmat.primitives.asymmetric.rsa.RSAPublicKey, cryptography.hazmat.primitives.asymmetric.ec.EllipticCurvePublicKey, cryptography.hazmat.primitives.asymmetric.ed25519.Ed25519PublicKey, cryptography.hazmat.primitives.asymmetric.ed448.Ed448PublicKey, cryptography.hazmat.primitives.asymmetric.x25519.X25519PublicKey, cryptography.hazmat.primitives.asymmetric.x448.X448PublicKey]) -> 'SubjectKeyIdentifier'
public_bytes(self) -> bytes
digest = <property object at 0x7f75e2cb4590>
key_identifier = <property object at 0x7f75e2cb45e0>
oid = <ObjectIdentifier(oid=2.5.29.14, name=subjectKeyIdentifier)>

TLSFeature

public_bytes(self) -> bytes
oid = <ObjectIdentifier(oid=1.3.6.1.5.5.7.1.24, name=TLSFeature)>

TLSFeatureType

An enumeration.
status_request = <TLSFeatureType.status_request: 5>
status_request_v2 = <TLSFeatureType.status_request_v2: 17>

UniformResourceIdentifier

value = <property object at 0x7f75e2c97970>

UnrecognizedExtension

public_bytes(self) -> bytes
oid = <property object at 0x7f75e2cb7b50>
value = <property object at 0x7f75e2cb7ba0>

UnsupportedGeneralNameType

with_traceback(...)

  Exception.with_traceback(tb) --
      set self.__traceback__ to tb and return self.
args = <attribute 'args' of 'BaseException' objects>

UserNotice

explicit_text = <property object at 0x7f75e2cb58a0>
notice_reference = <property object at 0x7f75e2cb5850>

Version

An enumeration.
v1 = <Version.v1: 0>
v3 = <Version.v3: 2>

Functions

load_der_x509_certificate

load_der_x509_certificate(data: bytes, backend: Any = None) -> cryptography.x509.base.Certificate

load_der_x509_crl

load_der_x509_crl(data: bytes, backend: Any = None) -> cryptography.x509.base.CertificateRevocationList

load_der_x509_csr

load_der_x509_csr(data: bytes, backend: Any = None) -> cryptography.x509.base.CertificateSigningRequest

load_pem_x509_certificate

load_pem_x509_certificate(data: bytes, backend: Any = None) -> cryptography.x509.base.Certificate

load_pem_x509_crl

load_pem_x509_crl(data: bytes, backend: Any = None) -> cryptography.x509.base.CertificateRevocationList

load_pem_x509_csr

load_pem_x509_csr(data: bytes, backend: Any = None) -> cryptography.x509.base.CertificateSigningRequest

random_serial_number

random_serial_number() -> int

Other members

OID_ANY_POLICY = <ObjectIdentifier(oid=2.5.29.32.0, name=Unknown OID)>
OID_AUTHORITY_INFORMATION_ACCESS = <ObjectIdentifier(oid=1.3.6.1.5.5.7.1.1, name=authorityInfoAccess)>
OID_AUTHORITY_KEY_IDENTIFIER = <ObjectIdentifier(oid=2.5.29.35, name=authorityKeyIdentifier)>
OID_BASIC_CONSTRAINTS = <ObjectIdentifier(oid=2.5.29.19, name=basicConstraints)>
OID_CA_ISSUERS = <ObjectIdentifier(oid=1.3.6.1.5.5.7.48.2, name=caIssuers)>
OID_CERTIFICATE_ISSUER = <ObjectIdentifier(oid=2.5.29.29, name=certificateIssuer)>
OID_CERTIFICATE_POLICIES = <ObjectIdentifier(oid=2.5.29.32, name=certificatePolicies)>
OID_CLIENT_AUTH = <ObjectIdentifier(oid=1.3.6.1.5.5.7.3.2, name=clientAuth)>
OID_CODE_SIGNING = <ObjectIdentifier(oid=1.3.6.1.5.5.7.3.3, name=codeSigning)>
OID_COMMON_NAME = <ObjectIdentifier(oid=2.5.4.3, name=commonName)>
OID_COUNTRY_NAME = <ObjectIdentifier(oid=2.5.4.6, name=countryName)>
OID_CPS_QUALIFIER = <ObjectIdentifier(oid=1.3.6.1.5.5.7.2.1, name=id-qt-cps)>
OID_CPS_USER_NOTICE = <ObjectIdentifier(oid=1.3.6.1.5.5.7.2.2, name=id-qt-unotice)>
OID_CRL_DISTRIBUTION_POINTS = <ObjectIdentifier(oid=2.5.29.31, name=cRLDistributionPoints)>
OID_CRL_REASON = <ObjectIdentifier(oid=2.5.29.21, name=cRLReason)>
OID_DN_QUALIFIER = <ObjectIdentifier(oid=2.5.4.46, name=dnQualifier)>
OID_DOMAIN_COMPONENT = <ObjectIdentifier(oid=0.9.2342.19200300.100.1.25, name=domainComponent)>
OID_DSA_WITH_SHA1 = <ObjectIdentifier(oid=1.2.840.10040.4.3, name=dsa-with-sha1)>
OID_DSA_WITH_SHA224 = <ObjectIdentifier(oid=2.16.840.1.101.3.4.3.1, name=dsa-with-sha224)>
OID_DSA_WITH_SHA256 = <ObjectIdentifier(oid=2.16.840.1.101.3.4.3.2, name=dsa-with-sha256)>
OID_ECDSA_WITH_SHA1 = <ObjectIdentifier(oid=1.2.840.10045.4.1, name=ecdsa-with-SHA1)>
OID_ECDSA_WITH_SHA224 = <ObjectIdentifier(oid=1.2.840.10045.4.3.1, name=ecdsa-with-SHA224)>
OID_ECDSA_WITH_SHA256 = <ObjectIdentifier(oid=1.2.840.10045.4.3.2, name=ecdsa-with-SHA256)>
OID_ECDSA_WITH_SHA384 = <ObjectIdentifier(oid=1.2.840.10045.4.3.3, name=ecdsa-with-SHA384)>
OID_ECDSA_WITH_SHA512 = <ObjectIdentifier(oid=1.2.840.10045.4.3.4, name=ecdsa-with-SHA512)>
OID_EMAIL_ADDRESS = <ObjectIdentifier(oid=1.2.840.113549.1.9.1, name=emailAddress)>
OID_EMAIL_PROTECTION = <ObjectIdentifier(oid=1.3.6.1.5.5.7.3.4, name=emailProtection)>
OID_EXTENDED_KEY_USAGE = <ObjectIdentifier(oid=2.5.29.37, name=extendedKeyUsage)>
OID_FRESHEST_CRL = <ObjectIdentifier(oid=2.5.29.46, name=freshestCRL)>
OID_GENERATION_QUALIFIER = <ObjectIdentifier(oid=2.5.4.44, name=generationQualifier)>
OID_GIVEN_NAME = <ObjectIdentifier(oid=2.5.4.42, name=givenName)>
OID_INHIBIT_ANY_POLICY = <ObjectIdentifier(oid=2.5.29.54, name=inhibitAnyPolicy)>
OID_INVALIDITY_DATE = <ObjectIdentifier(oid=2.5.29.24, name=invalidityDate)>
OID_ISSUER_ALTERNATIVE_NAME = <ObjectIdentifier(oid=2.5.29.18, name=issuerAltName)>
OID_KEY_USAGE = <ObjectIdentifier(oid=2.5.29.15, name=keyUsage)>
OID_LOCALITY_NAME = <ObjectIdentifier(oid=2.5.4.7, name=localityName)>
OID_NAME_CONSTRAINTS = <ObjectIdentifier(oid=2.5.29.30, name=nameConstraints)>
OID_OCSP = <ObjectIdentifier(oid=1.3.6.1.5.5.7.48.1, name=OCSP)>
OID_OCSP_NO_CHECK = <ObjectIdentifier(oid=1.3.6.1.5.5.7.48.1.5, name=OCSPNoCheck)>
OID_OCSP_SIGNING = <ObjectIdentifier(oid=1.3.6.1.5.5.7.3.9, name=OCSPSigning)>
OID_ORGANIZATIONAL_UNIT_NAME = <ObjectIdentifier(oid=2.5.4.11, name=organizationalUnitName)>
OID_ORGANIZATION_NAME = <ObjectIdentifier(oid=2.5.4.10, name=organizationName)>
OID_POLICY_CONSTRAINTS = <ObjectIdentifier(oid=2.5.29.36, name=policyConstraints)>
OID_POLICY_MAPPINGS = <ObjectIdentifier(oid=2.5.29.33, name=policyMappings)>
OID_PSEUDONYM = <ObjectIdentifier(oid=2.5.4.65, name=pseudonym)>
OID_RSASSA_PSS = <ObjectIdentifier(oid=1.2.840.113549.1.1.10, name=RSASSA-PSS)>
OID_RSA_WITH_MD5 = <ObjectIdentifier(oid=1.2.840.113549.1.1.4, name=md5WithRSAEncryption)>
OID_RSA_WITH_SHA1 = <ObjectIdentifier(oid=1.2.840.113549.1.1.5, name=sha1WithRSAEncryption)>
OID_RSA_WITH_SHA224 = <ObjectIdentifier(oid=1.2.840.113549.1.1.14, name=sha224WithRSAEncryption)>
OID_RSA_WITH_SHA256 = <ObjectIdentifier(oid=1.2.840.113549.1.1.11, name=sha256WithRSAEncryption)>
OID_RSA_WITH_SHA384 = <ObjectIdentifier(oid=1.2.840.113549.1.1.12, name=sha384WithRSAEncryption)>
OID_RSA_WITH_SHA512 = <ObjectIdentifier(oid=1.2.840.113549.1.1.13, name=sha512WithRSAEncryption)>
OID_SERIAL_NUMBER = <ObjectIdentifier(oid=2.5.4.5, name=serialNumber)>
OID_SERVER_AUTH = <ObjectIdentifier(oid=1.3.6.1.5.5.7.3.1, name=serverAuth)>
OID_STATE_OR_PROVINCE_NAME = <ObjectIdentifier(oid=2.5.4.8, name=stateOrProvinceName)>
OID_SUBJECT_ALTERNATIVE_NAME = <ObjectIdentifier(oid=2.5.29.17, name=subjectAltName)>
OID_SUBJECT_DIRECTORY_ATTRIBUTES = <ObjectIdentifier(oid=2.5.29.9, name=subjectDirectoryAttributes)>
OID_SUBJECT_INFORMATION_ACCESS = <ObjectIdentifier(oid=1.3.6.1.5.5.7.1.11, name=subjectInfoAccess)>
OID_SUBJECT_KEY_IDENTIFIER = <ObjectIdentifier(oid=2.5.29.14, name=subjectKeyIdentifier)>
OID_SURNAME = <ObjectIdentifier(oid=2.5.4.4, name=surname)>
OID_TIME_STAMPING = <ObjectIdentifier(oid=1.3.6.1.5.5.7.3.8, name=timeStamping)>
OID_TITLE = <ObjectIdentifier(oid=2.5.4.12, name=title)>

Modules

base

certificate_transparency

extensions

general_name

name

ocsp

oid