Home
last modified time | relevance | path

Searched refs:X509_PUBKEY (Results 1 – 25 of 49) sorted by relevance

12

/freebsd/crypto/openssl/crypto/x509/
H A Dx_pubkey.c45 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 Dx_all.c629 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 Dv3_skid.c55 ASN1_OCTET_STRING *ossl_x509_pubkey_hash(X509_PUBKEY *pubkey) in ossl_x509_pubkey_hash()
H A Dx_req.c112 ASN1_SIMPLE(X509_REQ_INFO, pubkey, X509_PUBKEY),
/freebsd/crypto/openssl/doc/man3/
H A DX509_PUBKEY_new.pod15 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 DX509_get_pubkey.pod17 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 DOSSL_CRMF_MSG_set1_regCtrl_regToken.pod44 X509_PUBKEY
47 const X509_PUBKEY *pubkey);
H A DEVP_PKEY_ASN1_METHOD.pod46 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 Dx509.h67 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 Dasn1.h29 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 Dcrmf_local.h241 X509_PUBKEY *publicKey;
315 X509_PUBKEY *publicKey;
354 X509_PUBKEY *protocolEncrKey;
H A Dcrmf_asn.c117 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 Dct_sct_ctx.c204 __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 Dct_local.h155 __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 Dpem_all.c41 IMPLEMENT_PEM_rw(X509_PUBKEY, X509_PUBKEY, PEM_STRING_PUBLIC, X509_PUBKEY) in IMPLEMENT_PEM_rw()
/freebsd/crypto/openssl/include/openssl/
H A Dx509.h420 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 Dx509.h.in226 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 Dcrmf.h.in116 const X509_PUBKEY *pubkey);
117 X509_PUBKEY
H A Dcrmf.h163 const X509_PUBKEY *pubkey);
164 X509_PUBKEY
H A Dtypes.h163 typedef struct X509_pubkey_st X509_PUBKEY; typedef
/freebsd/crypto/openssl/test/
H A Dalgorithmid_test.c23 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 Dlocaletest.c98 X509_PUBKEY *cert_pubkey = NULL; in setup_tests()
/freebsd/crypto/openssl/crypto/asn1/
H A Dx_spki.c16 ASN1_SIMPLE(NETSCAPE_SPKAC, pubkey, X509_PUBKEY),
H A Dameth_lib.c284 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 Ddecode_spki2typespki.c60 X509_PUBKEY *xpub = NULL; in spki2typespki_decode()

12