cert_validate_message.cc File Reference
#include "squid.h"
#include "acl/FilledChecklist.h"
#include "globals.h"
#include "helper.h"
#include "security/CertError.h"
#include "ssl/cert_validate_message.h"
#include "ssl/ErrorDetail.h"
#include "ssl/support.h"
#include "util.h"
Include dependency graph for cert_validate_message.cc:

Go to the source code of this file.

Functions

static STACK_OF (X509)*PeerValidationCertificatesChain(const Security
 
static int get_error_id (const char *label, size_t len)
 

Function Documentation

static int get_error_id ( const char *  label,
size_t  len 
)
static

Definition at line 83 of file cert_validate_message.cc.

References xisdigit.

Referenced by Ssl::CertValidationMsg::parseResponse().

static STACK_OF ( X509  ) const
static

Retrieves the certificates chain used to verify the peer. This is the full chain built by OpenSSL while verifying the server certificate or, if this is not available, the chain sent by server.

Returns
the certificates chain or nil

Last resort: certificates chain sent by server

Definition at line 23 of file cert_validate_message.cc.

References assert, and ssl_ex_index_ssl_cert_chain.

Referenced by adjustSSL(), Ssl::certificateMatchesProperties(), Ssl::CertValidationMsg::composeRequest(), Ssl::matchX509CommonNames(), Ssl::CertValidationMsg::parseResponse(), Ssl::SSL_add_untrusted_cert(), ssl_free_CertChain(), ssl_verify_cb(), sslGetUserCertificateChainPEM(), untrustedToStoreCtx_cb(), and Security::ServerOptions::updateContextClientCa().

 

Introduction

Documentation

Support

Miscellaneous

Web Site Translations

Mirrors