ssl_client_cert_type.h 657 B

123456789101112131415161718192021
  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. #ifndef NET_SSL_SSL_CLIENT_CERT_TYPE_H_
  5. #define NET_SSL_SSL_CLIENT_CERT_TYPE_H_
  6. namespace net {
  7. // TLS ClientCertificateType Identifiers
  8. // http://www.iana.org/assignments/tls-parameters/tls-parameters.xml#tls-parameters-1
  9. enum SSLClientCertType {
  10. CLIENT_CERT_RSA_SIGN = 1,
  11. CLIENT_CERT_ECDSA_SIGN = 64,
  12. // 224-255 are Reserved for Private Use, we pick one to use as "invalid".
  13. CLIENT_CERT_INVALID_TYPE = 255,
  14. };
  15. } // namespace net
  16. #endif // NET_SSL_SSL_CLIENT_CERT_TYPE_H_