celery.security.certificate
celery.security.certificate
X.509 certificates.
class celery.security.certificate.Certificate(cert)[源代码]
X.509 certificate.
get_id()[源代码]
Serial number/issuer pair uniquely identifies a certificate
get_issuer()[源代码]
Return issuer (CA) as a string
get_serial_number()[源代码]
Return the serial number in the certificate.
has_expired()[源代码]
Check if the certificate has expired.
verify(data, signature, digest)[源代码]
Verifies the signature for string containing data.
class celery.security.certificate.CertStore[源代码]
Base class for certificate stores
class celery.security.certificate.FSCertStore(path)[源代码]
File system certificate store