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.py798 def add_revoked_certificate(self, revoked_certificate): argument
802 if not isinstance(revoked_certificate, RevokedCertificate):
810 self._revoked_certificates + [revoked_certificate],
/external/python/cryptography/docs/x509/
Dreference.rst514 >>> revoked_certificate = crl[0]
515 >>> type(revoked_certificate)
1006 .. method:: add_revoked_certificate(revoked_certificate)
1010 :param revoked_certificate: An instance of
1060 >>> revoked_certificate.serial_number
1071 >>> revoked_certificate.revocation_date
1082 >>> for ext in revoked_certificate.extensions:
1105 >>> revoked_certificate = builder.build()
1106 >>> isinstance(revoked_certificate, x509.RevokedCertificate)