// Copyright 2011 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef NET_SSL_SSL_CERT_REQUEST_INFO_H_ #define NET_SSL_SSL_CERT_REQUEST_INFO_H_ #include <cstdint> #include <string> #include <vector> #include "base/memory/ref_counted.h" #include "net/base/host_port_pair.h" #include "net/base/net_export.h" namespace net { // The SSLCertRequestInfo class represents server criteria regarding client // certificate required for a secure connection. // // In TLS 1.1, the CertificateRequest // message is defined as: // enum { // rsa_sign(1), dss_sign(2), rsa_fixed_dh(3), dss_fixed_dh(4), // rsa_ephemeral_dh_RESERVED(5), dss_ephemeral_dh_RESERVED(6), // fortezza_dms_RESERVED(20), (255) // } ClientCertificateType; // // opaque DistinguishedName<1..2^16-1>; // // struct { // ClientCertificateType certificate_types<1..2^8-1>; // DistinguishedName certificate_authorities<0..2^16-1>; // } CertificateRequest; class NET_EXPORT SSLCertRequestInfo : public base::RefCountedThreadSafe<SSLCertRequestInfo> { … }; } // namespace net #endif // NET_SSL_SSL_CERT_REQUEST_INFO_H_