This document describes the current stable version of Celery (5.4). For development docs, go here.

X.509 certificates.


Base class for certificate stores.

add_cert(cert: Certificate) None[source]
itercerts() Iterator[Certificate][source]

Return certificate iterator.

class str)[source]

X.509 certificate.

get_id() str[source]

Serial number/issuer pair uniquely identifies a certificate.

get_issuer() str[source]

Return issuer (CA) as a string.

get_pubkey() DSAPublicKey | EllipticCurvePublicKey | Ed448PublicKey | Ed25519PublicKey | RSAPublicKey[source]
get_serial_number() int[source]

Return the serial number in the certificate.

has_expired() bool[source]

Check if the certificate has expired.

verify(data: bytes, signature: bytes, digest: HashAlgorithm | Prehashed) None[source]

Verify signature for string containing data.

class str)[source]

File system certificate store.