Home
last modified time | relevance | path

Searched refs:keyid (Results 1 – 25 of 43) sorted by relevance

12

/openssl/apps/lib/
H A Dengine_loader.c40 char *keyid; member
45 static OSSL_STORE_LOADER_CTX *OSSL_STORE_LOADER_CTX_new(ENGINE *e, char *keyid) in OSSL_STORE_LOADER_CTX_new() argument
51 ctx->keyid = keyid; in OSSL_STORE_LOADER_CTX_new()
60 OPENSSL_free(ctx->keyid); in OSSL_STORE_LOADER_CTX_free()
72 char *keyid = NULL; in engine_open() local
90 keyid = OPENSSL_strdup(q + 1); in engine_open()
93 if (e != NULL && keyid != NULL) in engine_open()
94 ctx = OSSL_STORE_LOADER_CTX_new(e, keyid); in engine_open()
97 OPENSSL_free(keyid); in engine_open()
126 ENGINE_load_private_key(ctx->e, ctx->keyid, in engine_load()
[all …]
/openssl/crypto/x509/
H A Dx_x509a.c30 ASN1_OPT(X509_CERT_AUX, keyid, ASN1_OCTET_STRING),
71 if (!x || !x->aux || !x->aux->keyid) in X509_keyid_set1()
73 ASN1_OCTET_STRING_free(x->aux->keyid); in X509_keyid_set1()
74 x->aux->keyid = NULL; in X509_keyid_set1()
79 if (aux->keyid == NULL in X509_keyid_set1()
80 && (aux->keyid = ASN1_OCTET_STRING_new()) == NULL) in X509_keyid_set1()
82 return ASN1_STRING_set(aux->keyid, id, len); in X509_keyid_set1()
96 if (!x->aux || !x->aux->keyid) in X509_keyid_get0()
99 *len = x->aux->keyid->length; in X509_keyid_get0()
100 return x->aux->keyid->data; in X509_keyid_get0()
H A Dv3_akid.c46 if (akeyid->keyid) { in STACK_OF()
47 tmp = i2s_ASN1_OCTET_STRING(NULL, akeyid->keyid); in STACK_OF()
100 char keyid = 0, issuer = 0; in v2i_AUTHORITY_KEYID() local
127 if (strcmp(cnf->name, "keyid") == 0 && keyid == 0) { in v2i_AUTHORITY_KEYID()
128 keyid = 1; in v2i_AUTHORITY_KEYID()
130 keyid = 2; in v2i_AUTHORITY_KEYID()
168 if (keyid == 2 || (keyid == 1 && !ss)) { in v2i_AUTHORITY_KEYID()
190 if (keyid == 2 && ikeyid == NULL) { in v2i_AUTHORITY_KEYID()
223 akeyid->keyid = ikeyid; in v2i_AUTHORITY_KEYID()
H A Dv3_akeya.c18 ASN1_IMP_OPT(AUTHORITY_KEYID, keyid, ASN1_OCTET_STRING, 0),
H A Dt_x509.c320 const unsigned char *alias, *keyid; in X509_aux_print() local
360 keyid = X509_keyid_get0(x, &keyidlen); in X509_aux_print()
361 if (keyid) { in X509_aux_print()
364 BIO_printf(out, "%s%02X", i ? ":" : "", keyid[i]); in X509_aux_print()
/openssl/crypto/pkcs12/
H A Dp12_crt.c23 unsigned char *keyid,
46 unsigned char keyid[EVP_MAX_MD_SIZE]; in PKCS12_create_ex2() local
70 if (!X509_digest(cert, EVP_sha1(), keyid, &keyidlen)) in PKCS12_create_ex2()
78 pkeyid = keyid; in PKCS12_create_ex2()
132 if (keyidlen && !PKCS12_add_localkeyid(bag, keyid, keyidlen)) in PKCS12_create_ex2()
196 unsigned char *keyid, in pkcs12_add_cert_bag() argument
208 if (keyid != NULL && !PKCS12_add_localkeyid(bag, keyid, keyidlen)) in pkcs12_add_cert_bag()
225 unsigned char *keyid = NULL; in PKCS12_add_cert() local
232 keyid = X509_keyid_get0(cert, &keyidlen); in PKCS12_add_cert()
234 return pkcs12_add_cert_bag(pbags, cert, name, namelen, keyid, keyidlen); in PKCS12_add_cert()
/openssl/test/
H A Dca-and-certs.cnf38 authorityKeyIdentifier = keyid,issuer:always
44 authorityKeyIdentifier = keyid:always
50 authorityKeyIdentifier = keyid:always
88 authorityKeyIdentifier = keyid:always,issuer:always
H A Dproxy.cnf27 authorityKeyIdentifier = keyid,issuer:always
54 authorityKeyIdentifier = keyid,issuer:always
H A Dv3_ca_exts.cnf4 authorityKeyIdentifier = keyid:always
H A DCAtsa.cnf88 authorityKeyIdentifier=keyid,issuer:always
102 authorityKeyIdentifier=keyid,issuer:always
115 authorityKeyIdentifier=keyid:always,issuer:always
/openssl/crypto/cms/
H A Dcms_kari.c58 ASN1_OCTET_STRING **keyid, in CMS_RecipientInfo_kari_get0_orig_id() argument
73 if (keyid) in CMS_RecipientInfo_kari_get0_orig_id()
74 *keyid = NULL; in CMS_RecipientInfo_kari_get0_orig_id()
85 if (keyid) in CMS_RecipientInfo_kari_get0_orig_id()
86 *keyid = oik->d.subjectKeyIdentifier; in CMS_RecipientInfo_kari_get0_orig_id()
114 ASN1_OCTET_STRING **keyid, in CMS_RecipientEncryptedKey_get0_id() argument
126 if (keyid) in CMS_RecipientEncryptedKey_get0_id()
127 *keyid = NULL; in CMS_RecipientEncryptedKey_get0_id()
133 if (keyid) in CMS_RecipientEncryptedKey_get0_id()
134 *keyid = rid->d.rKeyId->subjectKeyIdentifier; in CMS_RecipientEncryptedKey_get0_id()
H A Dcms_lib.c687 int ossl_cms_keyid_cert_cmp(ASN1_OCTET_STRING *keyid, X509 *cert) in ossl_cms_keyid_cert_cmp() argument
693 return ASN1_OCTET_STRING_cmp(keyid, cert_keyid); in ossl_cms_keyid_cert_cmp()
722 ASN1_OCTET_STRING *keyid = NULL; in ossl_cms_set1_keyid() local
729 keyid = ASN1_STRING_dup(cert_keyid); in ossl_cms_set1_keyid()
730 if (!keyid) { in ossl_cms_set1_keyid()
735 *pkeyid = keyid; in ossl_cms_set1_keyid()
H A Dcms_sd.c200 ASN1_OCTET_STRING **keyid, in ossl_cms_SignerIdentifier_get0_signer_id() argument
210 if (keyid) in ossl_cms_SignerIdentifier_get0_signer_id()
211 *keyid = sid->d.subjectKeyIdentifier; in ossl_cms_SignerIdentifier_get0_signer_id()
636 ASN1_OCTET_STRING **keyid, in CMS_SignerInfo_get0_signer_id() argument
639 return ossl_cms_SignerIdentifier_get0_signer_id(si->sid, keyid, issuer, sno); in CMS_SignerInfo_get0_signer_id()
H A Dcms_local.h415 ASN1_OCTET_STRING **keyid,
431 int ossl_cms_keyid_cert_cmp(ASN1_OCTET_STRING *keyid, X509 *cert);
/openssl/demos/certs/
H A Dca.cnf43 authorityKeyIdentifier=keyid
52 authorityKeyIdentifier=keyid
65 authorityKeyIdentifier=keyid
75 authorityKeyIdentifier=keyid:always
/openssl/demos/certs/apps/
H A Dapps.cnf52 authorityKeyIdentifier=keyid
62 authorityKeyIdentifier=keyid:always
/openssl/test/ocsp-tests/
H A Dca.cnf24 authorityKeyIdentifier = keyid:always
/openssl/doc/man3/
H A DCMS_get0_SignerInfos.pod16 int CMS_SignerInfo_get0_signer_id(CMS_SignerInfo *si, ASN1_OCTET_STRING **keyid,
29 keyidentifier will be set in B<keyid> or B<both> issuer name and serial number
H A DCMS_get0_RecipientInfos.pod22 ASN1_OCTET_STRING **keyid,
55 B<keyid> or B<both> issuer name and serial number in B<issuer> and B<sno>.
/openssl/test/certs/
H A Droot-ed25519.pem23 keyid:A2:8C:C1:F8:6E:59:60:D3:E0:3A:E7:5C:96:2C:97:A8:D4:48:29:3C
/openssl/include/openssl/
H A Dcms.h.in223 ASN1_OCTET_STRING **keyid,
288 ASN1_OCTET_STRING **keyid,
378 ASN1_OCTET_STRING **keyid,
385 ASN1_OCTET_STRING **keyid,
/openssl/apps/
H A Dopenssl-vms.cnf216 authorityKeyIdentifier=keyid,issuer
248 authorityKeyIdentifier=keyid:always,issuer
274 authorityKeyIdentifier=keyid:always
289 authorityKeyIdentifier=keyid,issuer
H A Dopenssl.cnf216 authorityKeyIdentifier=keyid,issuer
248 authorityKeyIdentifier=keyid:always,issuer
274 authorityKeyIdentifier=keyid:always
289 authorityKeyIdentifier=keyid,issuer
/openssl/test/smime-certs/
H A Dca.cnf46 # authorityKeyIdentifier = keyid, issuer
/openssl/doc/man5/
H A Dx509v3_config.pod206 Otherwise it may have the value B<keyid> or B<issuer>
213 for self-signed certificates and B<keyid>C<,> B<issuer> otherwise.
215 If B<keyid> is present, an attempt is made to
223 or B<keyid> is not present,
229 authorityKeyIdentifier = keyid, issuer
231 authorityKeyIdentifier = keyid, issuer:always

Completed in 35 milliseconds

12