Go to the documentation of this file.
85 (X509V3_EXT_I2V) i2v_AUTHORITY_KEYID,
97 int extlist_was_null = extlist == NULL;
109 if (tmpextlist == NULL) {
112 extlist = tmpextlist;
125 if (extlist_was_null) {
143 char keyid = 0, issuer = 0;
149 GENERAL_NAMES *gens = NULL;
156 for (
i = 0;
i < sk_CONF_VALUE_num(
values);
i++) {
157 cnf = sk_CONF_VALUE_value(
values,
i);
158 if (!strcmp(cnf->
name,
"keyid")) {
160 if (cnf->
value && !strcmp(cnf->
value,
"always"))
162 }
else if (!strcmp(cnf->
name,
"issuer")) {
164 if (cnf->
value && !strcmp(cnf->
value,
"always"))
173 if (!
ctx || !
ctx->issuer_cert) {
180 cert =
ctx->issuer_cert;
186 if (keyid == 2 && !ikeyid) {
192 if ((issuer && !ikeyid) || (issuer == 2)) {
195 if (!isname || !serial) {
205 if (!(gens = sk_GENERAL_NAME_new_null())
207 || !sk_GENERAL_NAME_push(gens,
gen)) {
217 akeyid->
keyid = ikeyid;
#define X509V3_R_UNKNOWN_OPTION
#define OPENSSL_PUT_ERROR(library, reason)
#define NID_authority_key_identifier
#define ASN1_ITEM_ref(name)
#define X509V3_R_UNABLE_TO_GET_ISSUER_DETAILS
#define AUTHORITY_KEYID_new
#define X509_get_issuer_name
#define NID_subject_key_identifier
#define x509v3_bytes_to_hex
#define i2v_GENERAL_NAMES
OPENSSL_EXPORT void ASN1_INTEGER_free(ASN1_INTEGER *str)
OPENSSL_EXPORT GENERAL_NAME * gen
union GENERAL_NAME_st::@370 d
#define X509V3_EXT_MULTILINE
static AUTHORITY_KEYID * v2i_AUTHORITY_KEYID(X509V3_EXT_METHOD *method, X509V3_CTX *ctx, STACK_OF(CONF_VALUE) *values)
#define ERR_add_error_data
#define X509V3_R_UNABLE_TO_GET_ISSUER_KEYID
std::array< int64_t, Size > values
ASN1_OCTET_STRING * keyid
const X509V3_EXT_METHOD v3_akey_id
static STACK_OF(CONF_VALUE)
OPENSSL_EXPORT X509_NAME * X509_NAME_dup(X509_NAME *xn)
#define X509_get_serialNumber
void *(* X509V3_EXT_V2I)(const struct v3_ext_method *method, struct v3_ext_ctx *ctx, STACK_OF(CONF_VALUE) *values)
#define X509V3_R_NO_ISSUER_CERTIFICATE
OPENSSL_EXPORT void ASN1_OCTET_STRING_free(ASN1_OCTET_STRING *str)
#define ERR_R_MALLOC_FAILURE
#define X509_get_ext_by_NID
grpc
Author(s):
autogenerated on Fri May 16 2025 03:00:49