xref: /freebsd/crypto/openssl/ssl/ssl_cert_table.h (revision b077aed33b7b6aefca7b17ddb250cf521f938613)
1e71b7053SJung-uk Kim /*
2e71b7053SJung-uk Kim  * Copyright 2017-2018 The OpenSSL Project Authors. All Rights Reserved.
3e71b7053SJung-uk Kim  *
4*b077aed3SPierre Pronchery  * Licensed under the Apache License 2.0 (the "License").  You may not use
5e71b7053SJung-uk Kim  * this file except in compliance with the License.  You can obtain a copy
6e71b7053SJung-uk Kim  * in the file LICENSE in the source distribution or at
7e71b7053SJung-uk Kim  * https://www.openssl.org/source/license.html
8e71b7053SJung-uk Kim  */
9e71b7053SJung-uk Kim 
10e71b7053SJung-uk Kim /*
11e71b7053SJung-uk Kim  * Certificate table information. NB: table entries must match SSL_PKEY indices
12e71b7053SJung-uk Kim  */
13e71b7053SJung-uk Kim static const SSL_CERT_LOOKUP ssl_cert_info [] = {
14e71b7053SJung-uk Kim     {EVP_PKEY_RSA, SSL_aRSA}, /* SSL_PKEY_RSA */
15e71b7053SJung-uk Kim     {EVP_PKEY_RSA_PSS, SSL_aRSA}, /* SSL_PKEY_RSA_PSS_SIGN */
16e71b7053SJung-uk Kim     {EVP_PKEY_DSA, SSL_aDSS}, /* SSL_PKEY_DSA_SIGN */
17e71b7053SJung-uk Kim     {EVP_PKEY_EC, SSL_aECDSA}, /* SSL_PKEY_ECC */
18e71b7053SJung-uk Kim     {NID_id_GostR3410_2001, SSL_aGOST01}, /* SSL_PKEY_GOST01 */
19e71b7053SJung-uk Kim     {NID_id_GostR3410_2012_256, SSL_aGOST12}, /* SSL_PKEY_GOST12_256 */
20e71b7053SJung-uk Kim     {NID_id_GostR3410_2012_512, SSL_aGOST12}, /* SSL_PKEY_GOST12_512 */
21e71b7053SJung-uk Kim     {EVP_PKEY_ED25519, SSL_aECDSA}, /* SSL_PKEY_ED25519 */
22e71b7053SJung-uk Kim     {EVP_PKEY_ED448, SSL_aECDSA} /* SSL_PKEY_ED448 */
23e71b7053SJung-uk Kim };
24