#include <openssl/ssl.h>
#include <assert.h>
#include <limits.h>
#include <openssl/ec.h>
#include <openssl/ec_key.h>
#include <openssl/err.h>
#include <openssl/evp.h>
#include <openssl/mem.h>
#include "internal.h"
#include "../crypto/internal.h"
Go to the source code of this file.
Classes | |
struct | SSL_SIGNATURE_ALGORITHM |
Variables | |
static constexpr size_t | kMaxSignatureAlgorithmNameLen = 23 |
struct { | |
const char name [kMaxSignatureAlgorithmNameLen] | |
uint16_t signature_algorithm | |
} | kSignatureAlgorithmNames [] |
static const SSL_SIGNATURE_ALGORITHM | kSignatureAlgorithms [] |
struct { | |
int hash_nid | |
int pkey_type | |
uint16_t signature_algorithm | |
} | kSignatureAlgorithmsMapping [] |
Definition at line 563 of file ssl_privkey.cc.
|
static |
Definition at line 127 of file ssl_privkey.cc.
|
static |
Definition at line 529 of file ssl_privkey.cc.
Definition at line 633 of file ssl_privkey.cc.
Definition at line 146 of file ssl_privkey.cc.
|
static |
Definition at line 172 of file ssl_privkey.cc.
Definition at line 575 of file ssl_privkey.cc.
Definition at line 597 of file ssl_privkey.cc.
Definition at line 787 of file ssl_privkey.cc.
void SSL_CTX_set_private_key_method | ( | SSL_CTX * | ctx, |
const SSL_PRIVATE_KEY_METHOD * | key_method | ||
) |
Definition at line 429 of file ssl_privkey.cc.
Definition at line 497 of file ssl_privkey.cc.
Definition at line 824 of file ssl_privkey.cc.
Definition at line 395 of file ssl_privkey.cc.
Definition at line 404 of file ssl_privkey.cc.
Definition at line 368 of file ssl_privkey.cc.
Definition at line 384 of file ssl_privkey.cc.
Definition at line 484 of file ssl_privkey.cc.
Definition at line 479 of file ssl_privkey.cc.
Definition at line 457 of file ssl_privkey.cc.
bool ssl_has_private_key | ( | const SSL_HANDSHAKE * | hs | ) |
Definition at line 136 of file ssl_privkey.cc.
BSSL_NAMESPACE_BEGIN bool ssl_is_key_type_supported | ( | int | key_type | ) |
Definition at line 74 of file ssl_privkey.cc.
Definition at line 492 of file ssl_privkey.cc.
enum ssl_private_key_result_t ssl_private_key_decrypt | ( | SSL_HANDSHAKE * | hs, |
uint8_t * | out, | ||
size_t * | out_len, | ||
size_t | max_out, | ||
Span< const uint8_t > | in | ||
) |
Definition at line 252 of file ssl_privkey.cc.
enum ssl_private_key_result_t ssl_private_key_sign | ( | SSL_HANDSHAKE * | hs, |
uint8_t * | out, | ||
size_t * | out_len, | ||
size_t | max_out, | ||
uint16_t | sigalg, | ||
Span< const uint8_t > | in | ||
) |
Definition at line 200 of file ssl_privkey.cc.
bool ssl_private_key_supports_signature_algorithm | ( | SSL_HANDSHAKE * | hs, |
uint16_t | sigalg | ||
) |
Definition at line 290 of file ssl_privkey.cc.
bool ssl_public_key_verify | ( | SSL * | ssl, |
Span< const uint8_t > | signature, | ||
uint16_t | sigalg, | ||
EVP_PKEY * | pkey, | ||
Span< const uint8_t > | in | ||
) |
Definition at line 236 of file ssl_privkey.cc.
Definition at line 613 of file ssl_privkey.cc.
Definition at line 804 of file ssl_privkey.cc.
Definition at line 79 of file ssl_privkey.cc.
void SSL_set_private_key_method | ( | SSL * | ssl, |
const SSL_PRIVATE_KEY_METHOD * | key_method | ||
) |
Definition at line 421 of file ssl_privkey.cc.
Definition at line 502 of file ssl_privkey.cc.
Definition at line 829 of file ssl_privkey.cc.
Definition at line 342 of file ssl_privkey.cc.
Definition at line 351 of file ssl_privkey.cc.
Definition at line 316 of file ssl_privkey.cc.
Definition at line 332 of file ssl_privkey.cc.
int hash_nid |
Definition at line 512 of file ssl_privkey.cc.
|
staticconstexpr |
Definition at line 434 of file ssl_privkey.cc.
const { ... } kSignatureAlgorithmNames[] |
|
static |
Definition at line 104 of file ssl_privkey.cc.
constexpr { ... } kSignatureAlgorithmsMapping[] |
const char name[kMaxSignatureAlgorithmNameLen] |
Definition at line 440 of file ssl_privkey.cc.
int pkey_type |
Definition at line 511 of file ssl_privkey.cc.
uint16_t signature_algorithm |
Definition at line 439 of file ssl_privkey.cc.