Lines Matching defs:peer
35 /* so that peer-specific behavior is not possible.
42 /* SSL_shutdown() to the peer and resets all connection specific
63 /* If the peer offered a certificate, part of the certificate data are
66 /* A bitmask field that records the status of the peer certificate
70 /* Extracted CommonName of the peer, or zero-length string
76 /* Fingerprint of the certificate, or zero-length string when no peer
79 /* If no peer certificate is presented the peer_status is set to 0.
871 /* When authenticating the peer, use 80-bit plus OpenSSL security level */
950 X509 *peer;
967 * Let's see whether a peer certificate is available and what is the
970 peer = TLS_PEEK_PEER_CERT(TLScontext->con);
971 if (peer != NULL) {
977 X509_NAME_oneline(X509_get_subject_name(peer),
980 X509_NAME_oneline(X509_get_issuer_name(peer),
984 TLScontext->peer_CN = tls_peer_CN(peer, TLScontext);
985 TLScontext->issuer_CN = tls_issuer_CN(peer, TLScontext);
986 TLScontext->peer_cert_fprint = tls_cert_fprint(peer, TLScontext->mdalg);
987 TLScontext->peer_pkey_fprint = tls_pkey_fprint(peer, TLScontext->mdalg);
997 TLS_FREE_PEER_CERT(peer);