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

celery.security.certificate

X.509 certificates.

class celery.security.certificate.CertStore[source]

Base class for certificate stores.

add_cert(cert)[source]
itercerts()[source]

Return certificate iterator.

class celery.security.certificate.Certificate(cert)[source]

X.509 certificate.

get_id()[source]

Serial number/issuer pair uniquely identifies a certificate.

get_issuer()[source]

Return issuer (CA) as a string.

get_pubkey() RSAPublicKey[source]

Get public key from certificate. Public key type is checked in __init__.

get_serial_number()[source]

Return the serial number in the certificate.

has_expired()[source]

Check if the certificate has expired.

verify(data, signature, digest)[source]

Verify signature for string containing data.

class celery.security.certificate.FSCertStore(path)[source]

File system certificate store.