/freebsd/crypto/openssl/crypto/x509/ |
H A D | x_pubkey.c | 45 static int x509_pubkey_decode(EVP_PKEY **pk, const X509_PUBKEY *key); 47 static int x509_pubkey_set0_libctx(X509_PUBKEY *x, OSSL_LIB_CTX *libctx, in x509_pubkey_set0_libctx() 64 ASN1_SIMPLE(X509_PUBKEY, algor, X509_ALGOR), 65 ASN1_SIMPLE(X509_PUBKEY, public_key, ASN1_BIT_STRING) 66 } static_ASN1_SEQUENCE_END_name(X509_PUBKEY, X509_PUBKEY_INTERNAL) 68 X509_PUBKEY *ossl_d2i_X509_PUBKEY_INTERNAL(const unsigned char **pp, 71 X509_PUBKEY *xpub = OPENSSL_zalloc(sizeof(*xpub)); 75 return (X509_PUBKEY *)ASN1_item_d2i_ex((ASN1_VALUE **)&xpub, pp, len, 80 void ossl_X509_PUBKEY_INTERNAL_free(X509_PUBKEY *xpub) in ossl_X509_PUBKEY_INTERNAL_free() 87 X509_PUBKEY *pubkey; in x509_pubkey_ex_free() [all …]
|
H A D | x_all.c | 629 X509_PUBKEY *d2i_X509_PUBKEY_fp(FILE *fp, X509_PUBKEY **xpk) in d2i_X509_PUBKEY_fp() 631 return ASN1_d2i_fp_of(X509_PUBKEY, X509_PUBKEY_new, d2i_X509_PUBKEY, in d2i_X509_PUBKEY_fp() 635 int i2d_X509_PUBKEY_fp(FILE *fp, const X509_PUBKEY *xpk) in i2d_X509_PUBKEY_fp() 637 return ASN1_i2d_fp_of(X509_PUBKEY, i2d_X509_PUBKEY, fp, xpk); in i2d_X509_PUBKEY_fp() 641 X509_PUBKEY *d2i_X509_PUBKEY_bio(BIO *bp, X509_PUBKEY **xpk) in d2i_X509_PUBKEY_bio() 643 return ASN1_d2i_bio_of(X509_PUBKEY, X509_PUBKEY_new, d2i_X509_PUBKEY, in d2i_X509_PUBKEY_bio() 647 int i2d_X509_PUBKEY_bio(BIO *bp, const X509_PUBKEY *xpk) in i2d_X509_PUBKEY_bio() 649 return ASN1_i2d_bio_of(X509_PUBKEY, i2d_X509_PUBKEY, bp, xpk); in i2d_X509_PUBKEY_bio()
|
H A D | v3_skid.c | 55 ASN1_OCTET_STRING *ossl_x509_pubkey_hash(X509_PUBKEY *pubkey) in ossl_x509_pubkey_hash()
|
H A D | x_req.c | 112 ASN1_SIMPLE(X509_REQ_INFO, pubkey, X509_PUBKEY),
|
/freebsd/crypto/openssl/doc/man3/ |
H A D | X509_PUBKEY_new.pod | 15 X509_PUBKEY *X509_PUBKEY_new_ex(OSSL_LIB_CTX *libctx, const char *propq); 16 X509_PUBKEY *X509_PUBKEY_new(void); 17 void X509_PUBKEY_free(X509_PUBKEY *a); 18 X509_PUBKEY *X509_PUBKEY_dup(const X509_PUBKEY *a); 20 int X509_PUBKEY_set(X509_PUBKEY **x, EVP_PKEY *pkey); 21 EVP_PKEY *X509_PUBKEY_get0(const X509_PUBKEY *key); 22 EVP_PKEY *X509_PUBKEY_get(const X509_PUBKEY *key); 35 int X509_PUBKEY_set0_param(X509_PUBKEY *pub, ASN1_OBJECT *aobj, 40 X509_ALGOR **pa, const X509_PUBKEY *pub); 41 int X509_PUBKEY_eq(X509_PUBKEY *a, X509_PUBKEY *b); [all …]
|
H A D | X509_get_pubkey.pod | 17 X509_PUBKEY *X509_get_X509_PUBKEY(const X509 *x); 22 X509_PUBKEY *X509_REQ_get_X509_PUBKEY(X509_REQ *x); 33 X509_get_X509_PUBKEY() returns an internal pointer to the B<X509_PUBKEY>
|
H A D | OSSL_CRMF_MSG_set1_regCtrl_regToken.pod | 44 X509_PUBKEY 47 const X509_PUBKEY *pubkey);
|
H A D | EVP_PKEY_ASN1_METHOD.pod | 46 const X509_PUBKEY *pub), 47 int (*pub_encode) (X509_PUBKEY *pub, 159 int (*pub_decode) (EVP_PKEY *pk, const X509_PUBKEY *pub); 160 int (*pub_encode) (X509_PUBKEY *pub, const EVP_PKEY *pk); 166 encode B<X509_PUBKEY> ASN.1 parameters to / from B<pk>.
|
/freebsd/crypto/openssl/include/crypto/ |
H A D | x509.h | 67 X509_PUBKEY *pubkey; /* public key of request */ 167 X509_PUBKEY *key; 332 const X509_PUBKEY *key); 334 ASN1_OCTET_STRING *ossl_x509_pubkey_hash(X509_PUBKEY *pubkey); 336 X509_PUBKEY *ossl_d2i_X509_PUBKEY_INTERNAL(const unsigned char **pp, 338 void ossl_X509_PUBKEY_INTERNAL_free(X509_PUBKEY *xpub);
|
H A D | asn1.h | 29 int (*pub_decode) (EVP_PKEY *pk, const X509_PUBKEY *pub); 30 int (*pub_encode) (X509_PUBKEY *pub, const EVP_PKEY *pk);
|
/freebsd/crypto/openssl/crypto/crmf/ |
H A D | crmf_local.h | 241 X509_PUBKEY *publicKey; 315 X509_PUBKEY *publicKey; 354 X509_PUBKEY *protocolEncrKey;
|
H A D | crmf_asn.c | 117 ASN1_SIMPLE(OSSL_CRMF_POPOSIGNINGKEYINPUT, publicKey, X509_PUBKEY) 158 value.protocolEncrKey, X509_PUBKEY)), 201 ASN1_IMP_OPT(OSSL_CRMF_CERTTEMPLATE, publicKey, X509_PUBKEY, 6),
|
/freebsd/crypto/openssl/crypto/ct/ |
H A D | ct_sct_ctx.c | 204 __owur static int ct_public_key_hash(SCT_CTX *sctx, X509_PUBKEY *pkey, in ct_public_key_hash() 253 int SCT_CTX_set1_issuer_pubkey(SCT_CTX *sctx, X509_PUBKEY *pubkey) in SCT_CTX_set1_issuer_pubkey() 258 int SCT_CTX_set1_pubkey(SCT_CTX *sctx, X509_PUBKEY *pubkey) in SCT_CTX_set1_pubkey()
|
H A D | ct_local.h | 155 __owur int SCT_CTX_set1_issuer_pubkey(SCT_CTX *sctx, X509_PUBKEY *pubkey); 161 __owur int SCT_CTX_set1_pubkey(SCT_CTX *sctx, X509_PUBKEY *pubkey);
|
/freebsd/crypto/openssl/crypto/pem/ |
H A D | pem_all.c | 41 IMPLEMENT_PEM_rw(X509_PUBKEY, X509_PUBKEY, PEM_STRING_PUBLIC, X509_PUBKEY) in IMPLEMENT_PEM_rw()
|
/freebsd/crypto/openssl/include/openssl/ |
H A D | x509.h | 420 X509_PUBKEY *pubkey; 595 X509_PUBKEY *d2i_X509_PUBKEY_fp(FILE *fp, X509_PUBKEY **xpk); 596 int i2d_X509_PUBKEY_fp(FILE *fp, const X509_PUBKEY *xpk); 643 X509_PUBKEY *d2i_X509_PUBKEY_bio(BIO *bp, X509_PUBKEY **xpk); 644 int i2d_X509_PUBKEY_bio(BIO *bp, const X509_PUBKEY *xpk); 661 DECLARE_ASN1_DUP_FUNCTION(X509_PUBKEY) 698 DECLARE_ASN1_FUNCTIONS(X509_PUBKEY) 700 X509_PUBKEY *X509_PUBKEY_new_ex(OSSL_LIB_CTX *libctx, const char *propq); 701 int X509_PUBKEY_set(X509_PUBKEY **x, EVP_PKEY *pkey); 702 EVP_PKEY *X509_PUBKEY_get0(const X509_PUBKEY *key); [all …]
|
H A D | x509.h.in | 226 X509_PUBKEY *pubkey; 401 X509_PUBKEY *d2i_X509_PUBKEY_fp(FILE *fp, X509_PUBKEY **xpk); 402 int i2d_X509_PUBKEY_fp(FILE *fp, const X509_PUBKEY *xpk); 449 X509_PUBKEY *d2i_X509_PUBKEY_bio(BIO *bp, X509_PUBKEY **xpk); 450 int i2d_X509_PUBKEY_bio(BIO *bp, const X509_PUBKEY *xpk); 467 DECLARE_ASN1_DUP_FUNCTION(X509_PUBKEY) 504 DECLARE_ASN1_FUNCTIONS(X509_PUBKEY) 506 X509_PUBKEY *X509_PUBKEY_new_ex(OSSL_LIB_CTX *libctx, const char *propq); 507 int X509_PUBKEY_set(X509_PUBKEY **x, EVP_PKEY *pkey); 508 EVP_PKEY *X509_PUBKEY_get0(const X509_PUBKEY *key); [all …]
|
H A D | crmf.h.in | 116 const X509_PUBKEY *pubkey); 117 X509_PUBKEY
|
H A D | crmf.h | 163 const X509_PUBKEY *pubkey); 164 X509_PUBKEY
|
H A D | types.h | 163 typedef struct X509_pubkey_st X509_PUBKEY; typedef
|
/freebsd/crypto/openssl/test/ |
H A D | algorithmid_test.c | 23 static int test_spki_aid(X509_PUBKEY *pubkey, const char *filename) in test_spki_aid() 105 X509_PUBKEY *pubkey = X509_get_X509_PUBKEY(cert); in test_x509_spki_aid() 190 X509_PUBKEY *pubkey = NULL; in test_spki_file()
|
H A D | localetest.c | 98 X509_PUBKEY *cert_pubkey = NULL; in setup_tests()
|
/freebsd/crypto/openssl/crypto/asn1/ |
H A D | x_spki.c | 16 ASN1_SIMPLE(NETSCAPE_SPKAC, pubkey, X509_PUBKEY),
|
H A D | ameth_lib.c | 284 const X509_PUBKEY *pub), in EVP_PKEY_asn1_set_public() 285 int (*pub_encode) (X509_PUBKEY *pub, in EVP_PKEY_asn1_set_public()
|
/freebsd/crypto/openssl/providers/implementations/encode_decode/ |
H A D | decode_spki2typespki.c | 60 X509_PUBKEY *xpub = NULL; in spki2typespki_decode()
|