Lines Matching refs:cert
18 newCertificate(PyTypeObject *type, X509 *cert, int upref) in newCertificate() argument
23 assert(cert != NULL); in newCertificate()
30 X509_up_ref(cert); in newCertificate()
32 self->cert = cert; in newCertificate()
39 _PySSL_CertificateFromX509(_sslmodulestate *state, X509 *cert, int upref) in _PySSL_CertificateFromX509() argument
41 return newCertificate(state->PySSLCertificate_Type, cert, upref); in _PySSL_CertificateFromX509()
56 X509 *cert = sk_X509_value(stack, i); in _PySSL_CertificateFromX509Stack() local
57 PyObject *ocert = _PySSL_CertificateFromX509(state, cert, upref); in _PySSL_CertificateFromX509Stack()
90 retcode = PEM_write_bio_X509(bio, self->cert); in _ssl_Certificate_public_bytes_impl()
93 retcode = PEM_write_bio_X509_AUX(bio, self->cert); in _ssl_Certificate_public_bytes_impl()
96 retcode = i2d_X509_bio(bio, self->cert); in _ssl_Certificate_public_bytes_impl()
127 return _decode_certificate(get_state_cert(self), self->cert); in _ssl_Certificate_get_info_impl()
164 X509_get_subject_name(self->cert), in certificate_repr()
183 hash = X509_subject_name_hash(self->cert); in certificate_hash()
206 cmp = X509_cmp(self->cert, ((PySSLCertificate*)other)->cert); in certificate_richcompare()
218 X509_free(self->cert); in certificate_dealloc()