1// Copyright (c) 2011 The Chromium Authors. All rights reserved.
2// Use of this source code is governed by a BSD-style license that can be
3// found in the LICENSE file.
4
5#ifndef NET_SSL_SSL_CLIENT_CERT_TYPE_H_
6#define NET_SSL_SSL_CLIENT_CERT_TYPE_H_
7
8namespace net {
9
10// TLS ClientCertificateType Identifiers
11// http://www.iana.org/assignments/tls-parameters/tls-parameters.xml#tls-parameters-1
12enum SSLClientCertType {
13  CLIENT_CERT_RSA_SIGN = 1,
14  CLIENT_CERT_DSS_SIGN = 2,
15  CLIENT_CERT_ECDSA_SIGN = 64,
16  // 224-255 are Reserved for Private Use, we pick one to use as "invalid".
17  CLIENT_CERT_INVALID_TYPE = 255,
18};
19
20}  // namespace net
21
22#endif  // NET_SSL_SSL_CLIENT_CERT_TYPE_H_
23