Home
last modified time | relevance | path

Searched refs:revoked_certificate (Results 1 – 3 of 3) sorted by relevance

/external/python/cryptography/tests/x509/
Dtest_x509_revokedcertbuilder.py39 revoked_certificate = builder.build(backend)
40 assert revoked_certificate.serial_number == 1
51 revoked_certificate = builder.build(backend)
52 assert revoked_certificate.serial_number == (1 << 159) - 1
76 revoked_certificate = builder.build(backend)
77 assert revoked_certificate.revocation_date == utc_time
138 revoked_certificate = builder.build(backend)
139 assert revoked_certificate.serial_number == serial_number
140 assert revoked_certificate.revocation_date == revocation_date
141 assert len(revoked_certificate.extensions) == 0
[all …]
/external/python/cryptography/src/cryptography/x509/
Dbase.py667 def add_revoked_certificate(self, revoked_certificate): argument
671 if not isinstance(revoked_certificate, RevokedCertificate):
677 self._revoked_certificates + [revoked_certificate]
/external/python/cryptography/docs/x509/
Dreference.rst517 >>> revoked_certificate = crl[0]
518 >>> type(revoked_certificate)
988 .. method:: add_revoked_certificate(revoked_certificate)
992 :param revoked_certificate: An instance of
1033 >>> revoked_certificate.serial_number
1044 >>> revoked_certificate.revocation_date
1055 >>> for ext in revoked_certificate.extensions:
1079 >>> revoked_certificate = builder.build(default_backend())
1080 >>> isinstance(revoked_certificate, x509.RevokedCertificate)