This module has no docstring.
An enumeration.
GOOD = <OCSPCertStatus.GOOD: 0>
REVOKED = <OCSPCertStatus.REVOKED: 1>
UNKNOWN = <OCSPCertStatus.UNKNOWN: 2>
public_bytes(self, encoding: cryptography.hazmat.primitives._serialization.Encoding) -> bytes Serializes the request to DER
extensions = <abc.abstractproperty object at 0x7f75e075d660> The list of request extensions. Not single request extensions.
hash_algorithm = <abc.abstractproperty object at 0x7f75e075d5a0> The hash algorithm used in the issuer name and key hashes
issuer_key_hash = <abc.abstractproperty object at 0x7f75e075d540> The hash of the issuer public key
issuer_name_hash = <abc.abstractproperty object at 0x7f75e075d4e0> The hash of the issuer name
serial_number = <abc.abstractproperty object at 0x7f75e075d600> The serial number of the cert whose status is being checked
add_certificate(self, cert: cryptography.x509.base.Certificate, issuer: cryptography.x509.base.Certificate, algorithm: cryptography.hazmat.primitives.hashes.HashAlgorithm) -> 'OCSPRequestBuilder'
add_extension(self, extval: cryptography.x509.extensions.ExtensionType, critical: bool) -> 'OCSPRequestBuilder'
build(self) -> cryptography.x509.ocsp.OCSPRequest
An enumeration.
HASH = <OCSPResponderEncoding.HASH: 'By Hash'>
NAME = <OCSPResponderEncoding.NAME: 'By Name'>
public_bytes(self, encoding: cryptography.hazmat.primitives._serialization.Encoding) -> bytes Serializes the response to DER
certificate_status = <abc.abstractproperty object at 0x7f75e075dde0> The status of the certificate (an element from the OCSPCertStatus enum)
certificates = <abc.abstractproperty object at 0x7f75e075dc60> A list of certificates used to help build a chain to verify the OCSP response. This situation occurs when the OCSP responder uses a delegate certificate.
extensions = <abc.abstractproperty object at 0x7f75e075e140> The list of response extensions. Not single response extensions.
hash_algorithm = <abc.abstractproperty object at 0x7f75e075e080> The hash algorithm used in the issuer name and key hashes
issuer_key_hash = <abc.abstractproperty object at 0x7f75e075dfc0> The hash of the issuer public key
issuer_name_hash = <abc.abstractproperty object at 0x7f75e075e020> The hash of the issuer name
next_update = <abc.abstractproperty object at 0x7f75e075df60> The time when newer information will be available
produced_at = <abc.abstractproperty object at 0x7f75e075dd80> The time the response was produced
responder_key_hash = <abc.abstractproperty object at 0x7f75e075dcc0> The responder's key hash or None
responder_name = <abc.abstractproperty object at 0x7f75e075dd20> The responder's Name or None
response_status = <abc.abstractproperty object at 0x7f75e075da80> The status of the response. This is a value from the OCSPResponseStatus enumeration
responses = <abc.abstractproperty object at 0x7f75e075da20> An iterator over the individual SINGLERESP structures in the response
revocation_reason = <abc.abstractproperty object at 0x7f75e075dea0> The reason the certificate was revoked or None if not specified or not revoked.
revocation_time = <abc.abstractproperty object at 0x7f75e075de40> The date of when the certificate was revoked or None if not revoked.
serial_number = <abc.abstractproperty object at 0x7f75e075e0e0> The serial number of the cert whose status is being checked
signature = <abc.abstractproperty object at 0x7f75e075dba0> The signature bytes
signature_algorithm_oid = <abc.abstractproperty object at 0x7f75e075dae0> The ObjectIdentifier of the signature algorithm
signature_hash_algorithm = <abc.abstractproperty object at 0x7f75e075db40> Returns a HashAlgorithm corresponding to the type of the digest signed
single_extensions = <abc.abstractproperty object at 0x7f75e075e1a0> The list of single response extensions. Not response extensions.
tbs_response_bytes = <abc.abstractproperty object at 0x7f75e075dc00> The tbsResponseData bytes
this_update = <abc.abstractproperty object at 0x7f75e075df00> The most recent time at which the status being indicated is known by the responder to have been correct
add_extension(self, extval: cryptography.x509.extensions.ExtensionType, critical: bool) -> 'OCSPResponseBuilder'
add_response(self, cert: cryptography.x509.base.Certificate, issuer: cryptography.x509.base.Certificate, algorithm: cryptography.hazmat.primitives.hashes.HashAlgorithm, cert_status: cryptography.x509.ocsp.OCSPCertStatus, this_update: datetime.datetime, next_update: Optional[datetime.datetime], revocation_time: Optional[datetime.datetime], revocation_reason: Optional[cryptography.x509.extensions.ReasonFlags]) -> 'OCSPResponseBuilder'
build_unsuccessful(response_status: cryptography.x509.ocsp.OCSPResponseStatus) -> cryptography.x509.ocsp.OCSPResponse
certificates(self, certs: Iterable[cryptography.x509.base.Certificate]) -> 'OCSPResponseBuilder'
responder_id(self, encoding: cryptography.x509.ocsp.OCSPResponderEncoding, responder_cert: cryptography.x509.base.Certificate) -> 'OCSPResponseBuilder'
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]) -> cryptography.x509.ocsp.OCSPResponse
An enumeration.
INTERNAL_ERROR = <OCSPResponseStatus.INTERNAL_ERROR: 2>
MALFORMED_REQUEST = <OCSPResponseStatus.MALFORMED_REQUEST: 1>
SIG_REQUIRED = <OCSPResponseStatus.SIG_REQUIRED: 5>
SUCCESSFUL = <OCSPResponseStatus.SUCCESSFUL: 0>
TRY_LATER = <OCSPResponseStatus.TRY_LATER: 3>
UNAUTHORIZED = <OCSPResponseStatus.UNAUTHORIZED: 6>
certificate_status = <abc.abstractproperty object at 0x7f75e075d6c0> The status of the certificate (an element from the OCSPCertStatus enum)
hash_algorithm = <abc.abstractproperty object at 0x7f75e075d960> The hash algorithm used in the issuer name and key hashes
issuer_key_hash = <abc.abstractproperty object at 0x7f75e075d8a0> The hash of the issuer public key
issuer_name_hash = <abc.abstractproperty object at 0x7f75e075d900> The hash of the issuer name
next_update = <abc.abstractproperty object at 0x7f75e075d840> The time when newer information will be available
revocation_reason = <abc.abstractproperty object at 0x7f75e075d780> The reason the certificate was revoked or None if not specified or not revoked.
revocation_time = <abc.abstractproperty object at 0x7f75e075d720> The date of when the certificate was revoked or None if not revoked.
serial_number = <abc.abstractproperty object at 0x7f75e075d9c0> The serial number of the cert whose status is being checked
this_update = <abc.abstractproperty object at 0x7f75e075d7e0> The most recent time at which the status being indicated is known by the responder to have been correct
load_der_ocsp_request(data: bytes) -> cryptography.x509.ocsp.OCSPRequest
load_der_ocsp_response(data: bytes) -> cryptography.x509.ocsp.OCSPResponse
CERTIFICATE_PRIVATE_KEY_TYPES = typing.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]