diff options
Diffstat (limited to 'chromium/net/ssl/ssl_client_cert_type.h')
-rw-r--r-- | chromium/net/ssl/ssl_client_cert_type.h | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/chromium/net/ssl/ssl_client_cert_type.h b/chromium/net/ssl/ssl_client_cert_type.h new file mode 100644 index 00000000000..dd6e997a1c5 --- /dev/null +++ b/chromium/net/ssl/ssl_client_cert_type.h @@ -0,0 +1,22 @@ +// 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_DSS_SIGN = 2, + 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_ |