Go to the documentation of this file.
95 if (info->
x509 != NULL) {
105 if (info->
x509 != NULL) {
115 if (info->
crl != NULL) {
125 if (info->
x_pkey != NULL) {
129 if (info->
x_pkey == NULL) {
141 unsigned char *
data = NULL;
147 ret = sk_X509_INFO_new_null();
155 size_t orig_num = sk_X509_INFO_num(
ret);
196 if (info->
x_pkey != NULL) {
197 if (!sk_X509_INFO_push(
ret, info)) {
207 if (info->
x_pkey == NULL ||
214 }
else if (parse_function != NULL) {
223 if (!sk_X509_INFO_push(
ret, info)) {
246 if (info->
x509 != NULL || info->
crl != NULL ||
248 if (!sk_X509_INFO_push(
ret, info)) {
259 while (sk_X509_INFO_num(
ret) > orig_num) {
263 sk_X509_INFO_free(
ret);
280 unsigned char *
data = NULL;
281 const char *objstr = NULL;
283 unsigned char *iv = NULL;
289 if (objstr == NULL) {
318 if (objstr == NULL) {
324 assert(strlen(objstr) + 23 + 2 * iv_len + 13 <=
sizeof buf);
X509 X509_REQ PKCS7 PKCS8_PRIV_KEY_INFO RSA DSA DSA EC_KEY EVP_PKEY EVP_PKEY int char * kstr
#define OPENSSL_PUT_ERROR(library, reason)
#define PEM_write_bio_RSAPrivateKey
EVP_CIPHER_INFO enc_cipher
#define EVP_CIPHER_iv_length
OPENSSL_EXPORT pem_password_cb void * u
#define PEM_R_NO_START_LINE
int pem_password_cb(char *buf, int size, int rwflag, void *userdata)
#define PEM_get_EVP_CIPHER_INFO
#define PEM_STRING_X509_TRUSTED
#define PEM_X509_INFO_read
#define PEM_R_UNSUPPORTED_CIPHER
#define ERR_GET_REASON(packed_error)
static enum parse_result_t parse_crl(X509_INFO *info, const uint8_t *data, size_t len, int key_type)
#define PEM_STRING_X509_OLD
#define PEM_X509_INFO_read_bio
const EVP_CIPHER * cipher
#define ERR_GET_LIB(packed_error)
struct absl::base_internal::@2940::AllocList::Header header
#define PEM_write_bio_X509
#define PEM_STRING_ECPRIVATEKEY
static enum parse_result_t parse_x509(X509_INFO *info, const uint8_t *data, size_t len, int key_type)
static enum parse_result_t parse_key(X509_INFO *info, const uint8_t *data, size_t len, int key_type)
#define ERR_peek_last_error
#define PEM_R_CIPHER_IS_NULL
#define PEM_STRING_X509_CRL
union evp_pkey_st::@364 pkey
UniquePtr< SSL_SESSION > ret
X509 X509_REQ PKCS7 PKCS8_PRIV_KEY_INFO RSA DSA DSA EC_KEY EVP_PKEY EVP_PKEY int char int klen
int PEM_X509_INFO_write_bio(BIO *bp, X509_INFO *xi, EVP_CIPHER *enc, unsigned char *kstr, int klen, pem_password_cb *cb, void *u)
OPENSSL_EXPORT pem_password_cb * cb
#define ERR_R_MALLOC_FAILURE
unsigned char iv[EVP_MAX_IV_LENGTH]
OPENSSL_EXPORT X509 * d2i_X509_AUX(X509 **a, const unsigned char **pp, long length)
#define PEM_TYPE_ENCRYPTED
static enum parse_result_t parse_x509_aux(X509_INFO *info, const uint8_t *data, size_t len, int key_type)
grpc
Author(s):
autogenerated on Fri May 16 2025 02:59:41