summaryrefslogtreecommitdiff
path: root/chromium/net/ssl/ssl_client_cert_type.h
blob: d15d06d5c2831652488201740bccd5b53bee8b1e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
// Copyright (c) 2011 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#ifndef NET_SSL_SSL_CLIENT_CERT_TYPE_H_
#define NET_SSL_SSL_CLIENT_CERT_TYPE_H_

namespace net {

// TLS ClientCertificateType Identifiers
// http://www.iana.org/assignments/tls-parameters/tls-parameters.xml#tls-parameters-1
enum SSLClientCertType {
  CLIENT_CERT_RSA_SIGN = 1,
  CLIENT_CERT_ECDSA_SIGN = 64,
  // 224-255 are Reserved for Private Use, we pick one to use as "invalid".
  CLIENT_CERT_INVALID_TYPE = 255,
};

}  // namespace net

#endif  // NET_SSL_SSL_CLIENT_CERT_TYPE_H_