Home
last modified time | relevance | path

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

12

/external/openssl/crypto/pkcs7/
Dpkcs7.h217 } PKCS7; typedef
219 DECLARE_STACK_OF(PKCS7)
220 DECLARE_ASN1_SET_OF(PKCS7)
221 DECLARE_PKCS12_STACK_OF(PKCS7)
284 PKCS7 *d2i_PKCS7_fp(FILE *fp,PKCS7 **p7);
285 int i2d_PKCS7_fp(FILE *fp,PKCS7 *p7);
287 PKCS7 *PKCS7_dup(PKCS7 *p7);
288 PKCS7 *d2i_PKCS7_bio(BIO *bp,PKCS7 **p7);
289 int i2d_PKCS7_bio(BIO *bp,PKCS7 *p7);
290 int i2d_PKCS7_bio_stream(BIO *out, PKCS7 *p7, BIO *in, int flags);
[all …]
Dpk7_asn1.c69 ASN1_ADB_TEMPLATE(p7default) = ASN1_EXP_OPT(PKCS7, d.other, ASN1_ANY, 0);
71 ASN1_ADB(PKCS7) = {
72 ADB_ENTRY(NID_pkcs7_data, ASN1_NDEF_EXP_OPT(PKCS7, d.data, ASN1_OCTET_STRING_NDEF, 0)),
73 ADB_ENTRY(NID_pkcs7_signed, ASN1_NDEF_EXP_OPT(PKCS7, d.sign, PKCS7_SIGNED, 0)),
74 ADB_ENTRY(NID_pkcs7_enveloped, ASN1_NDEF_EXP_OPT(PKCS7, d.enveloped, PKCS7_ENVELOPE, 0)),
75 …ADB_ENTRY(NID_pkcs7_signedAndEnveloped, ASN1_NDEF_EXP_OPT(PKCS7, d.signed_and_enveloped, PKCS7_SIG…
76 ADB_ENTRY(NID_pkcs7_digest, ASN1_NDEF_EXP_OPT(PKCS7, d.digest, PKCS7_DIGEST, 0)),
77 ADB_ENTRY(NID_pkcs7_encrypted, ASN1_NDEF_EXP_OPT(PKCS7, d.encrypted, PKCS7_ENCRYPT, 0))
78 } ASN1_ADB_END(PKCS7, 0, type, 0, &p7default_tt, NULL);
85 PKCS7 **pp7 = (PKCS7 **)pval; in pk7_cb()
[all …]
Dpk7_mime.c64 int i2d_PKCS7_bio_stream(BIO *out, PKCS7 *p7, BIO *in, int flags) in i2d_PKCS7_bio_stream()
67 ASN1_ITEM_rptr(PKCS7)); in i2d_PKCS7_bio_stream()
70 int PEM_write_bio_PKCS7_stream(BIO *out, PKCS7 *p7, BIO *in, int flags) in PEM_write_bio_PKCS7_stream()
74 ASN1_ITEM_rptr(PKCS7)); in PEM_write_bio_PKCS7_stream()
77 int SMIME_write_PKCS7(BIO *bio, PKCS7 *p7, BIO *data, int flags) in SMIME_write_PKCS7()
91 ASN1_ITEM_rptr(PKCS7)); in SMIME_write_PKCS7()
94 PKCS7 *SMIME_read_PKCS7(BIO *bio, BIO **bcont) in SMIME_read_PKCS7()
96 return (PKCS7 *)SMIME_read_ASN1(bio, bcont, ASN1_ITEM_rptr(PKCS7)); in SMIME_read_PKCS7()
Dpk7_enc.c67 PKCS7_in_bio(PKCS7 *p7,BIO *in);
68 PKCS7_out_bio(PKCS7 *p7,BIO *out);
70 PKCS7_add_signer(PKCS7 *p7,X509 *cert,EVP_PKEY *key);
71 PKCS7_cipher(PKCS7 *p7,EVP_CIPHER *cipher);
73 PKCS7_Init(PKCS7 *p7);
74 PKCS7_Update(PKCS7 *p7);
75 PKCS7_Finish(PKCS7 *p7);
Dpk7_lib.c65 long PKCS7_ctrl(PKCS7 *p7, int cmd, long larg, char *parg) in PKCS7_ctrl()
115 int PKCS7_content_new(PKCS7 *p7, int type) in PKCS7_content_new()
117 PKCS7 *ret=NULL; in PKCS7_content_new()
129 int PKCS7_set_content(PKCS7 *p7, PKCS7 *p7_data) in PKCS7_set_content()
159 int PKCS7_set_type(PKCS7 *p7, int type) in PKCS7_set_type()
229 int PKCS7_set0_type_other(PKCS7 *p7, int type, ASN1_TYPE *other) in PKCS7_set0_type_other()
236 int PKCS7_add_signer(PKCS7 *p7, PKCS7_SIGNER_INFO *psi) in PKCS7_add_signer()
295 int PKCS7_add_certificate(PKCS7 *p7, X509 *x509) in PKCS7_add_certificate()
330 int PKCS7_add_crl(PKCS7 *p7, X509_CRL *crl) in PKCS7_add_crl()
413 PKCS7_SIGNER_INFO *PKCS7_add_signature(PKCS7 *p7, X509 *x509, EVP_PKEY *pkey, in PKCS7_add_signature()
[all …]
Ddoc1 int PKCS7_set_content_type(PKCS7 *p7, int type);
2 Call to set the type of PKCS7 object we are working on
9 int PKCS7_add_signer(PKCS7 *p7, PKCS7_SIGNER_INFO *p7i);
12 int PKCS7_add_certificae(PKCS7 *p7, X509 *x509);
13 int PKCS7_add_crl(PKCS7 *p7, X509_CRL *x509);
Dpk7_smime.c66 static int pkcs7_copy_existing_digest(PKCS7 *p7, PKCS7_SIGNER_INFO *si);
68 PKCS7 *PKCS7_sign(X509 *signcert, EVP_PKEY *pkey, STACK_OF(X509) *certs, in PKCS7_sign()
71 PKCS7 *p7; in PKCS7_sign()
115 int PKCS7_final(PKCS7 *p7, BIO *data, int flags) in PKCS7_final()
161 PKCS7_SIGNER_INFO *PKCS7_sign_add_signer(PKCS7 *p7, X509 *signcert, in PKCS7_sign_add_signer()
235 static int pkcs7_copy_existing_digest(PKCS7 *p7, PKCS7_SIGNER_INFO *si) in pkcs7_copy_existing_digest()
266 int PKCS7_verify(PKCS7 *p7, STACK_OF(X509) *certs, X509_STORE *store, in PKCS7_verify()
430 STACK_OF(X509) *PKCS7_get0_signers(PKCS7 *p7, STACK_OF(X509) *certs, int flags) in STACK_OF()
492 PKCS7 *PKCS7_encrypt(STACK_OF(X509) *certs, BIO *in, const EVP_CIPHER *cipher, in PKCS7_encrypt()
495 PKCS7 *p7; in PKCS7_encrypt()
[all …]
Des1.pem1 -----BEGIN PKCS7-----
66 -----END PKCS7-----
Dpk7_doit.c71 static int PKCS7_type_is_other(PKCS7* p7) in PKCS7_type_is_other()
95 static ASN1_OCTET_STRING *PKCS7_get_octet_string(PKCS7 *p7) in PKCS7_get_octet_string()
256 BIO *PKCS7_dataInit(PKCS7 *p7, BIO *bio) in PKCS7_dataInit()
413 BIO *PKCS7_dataDecode(PKCS7 *p7, EVP_PKEY *pkey, BIO *in_bio, X509 *pcert) in PKCS7_dataDecode()
697 int PKCS7_dataFinal(PKCS7 *p7, BIO *bio) in PKCS7_dataFinal()
917 PKCS7 *p7, PKCS7_SIGNER_INFO *si) in PKCS7_dataVerify()
970 int PKCS7_signatureVerify(BIO *bio, PKCS7 *p7, PKCS7_SIGNER_INFO *si, in PKCS7_signatureVerify()
1095 PKCS7_ISSUER_AND_SERIAL *PKCS7_get_issuer_and_serial(PKCS7 *p7, int idx) in PKCS7_get_issuer_and_serial()
/external/openssl/include/openssl/
Dpkcs7.h217 } PKCS7; typedef
219 DECLARE_STACK_OF(PKCS7)
220 DECLARE_ASN1_SET_OF(PKCS7)
221 DECLARE_PKCS12_STACK_OF(PKCS7)
284 PKCS7 *d2i_PKCS7_fp(FILE *fp,PKCS7 **p7);
285 int i2d_PKCS7_fp(FILE *fp,PKCS7 *p7);
287 PKCS7 *PKCS7_dup(PKCS7 *p7);
288 PKCS7 *d2i_PKCS7_bio(BIO *bp,PKCS7 **p7);
289 int i2d_PKCS7_bio(BIO *bp,PKCS7 *p7);
290 int i2d_PKCS7_bio_stream(BIO *out, PKCS7 *p7, BIO *in, int flags);
[all …]
Dpkcs12.h108 PKCS7 *authsafes;
189 PKCS7 *PKCS12_pack_p7data(STACK_OF(PKCS12_SAFEBAG) *sk);
190 STACK_OF(PKCS12_SAFEBAG) *PKCS12_unpack_p7data(PKCS7 *p7);
191 PKCS7 *PKCS12_pack_p7encdata(int pbe_nid, const char *pass, int passlen,
194 STACK_OF(PKCS12_SAFEBAG) *PKCS12_unpack_p7encdata(PKCS7 *p7, const char *pass, int passlen);
196 int PKCS12_pack_authsafes(PKCS12 *p12, STACK_OF(PKCS7) *safes);
197 STACK_OF(PKCS7) *PKCS12_unpack_authsafes(PKCS12 *p12);
255 int PKCS12_add_safe(STACK_OF(PKCS7) **psafes, STACK_OF(PKCS12_SAFEBAG) *bags,
257 PKCS12 *PKCS12_add_safes(STACK_OF(PKCS7) *safes, int p7_nid);
Dts.h238 PKCS7 *token;
316 TS_TST_INFO *PKCS7_to_TS_TST_INFO(PKCS7 *token);
417 void TS_RESP_set_tst_info(TS_RESP *a, PKCS7 *p7, TS_TST_INFO *tst_info);
418 PKCS7 *TS_RESP_get_token(TS_RESP *a);
614 int TS_RESP_verify_signature(PKCS7 *token, STACK_OF(X509) *certs,
684 int TS_RESP_verify_token(TS_VERIFY_CTX *ctx, PKCS7 *token);
/external/openssl/crypto/pkcs12/
Dp12_add.c135 PKCS7 *PKCS12_pack_p7data(STACK_OF(PKCS12_SAFEBAG) *sk) in PKCS12_pack_p7data()
137 PKCS7 *p7; in PKCS12_pack_p7data()
156 STACK_OF(PKCS12_SAFEBAG) *PKCS12_unpack_p7data(PKCS7 *p7) in STACK_OF()
168 PKCS7 *PKCS12_pack_p7encdata(int pbe_nid, const char *pass, int passlen, in PKCS12_pack_p7encdata()
172 PKCS7 *p7; in PKCS12_pack_p7encdata()
209 STACK_OF(PKCS12_SAFEBAG) *PKCS12_unpack_p7encdata(PKCS7 *p7, const char *pass, int passlen) in STACK_OF()
224 int PKCS12_pack_authsafes(PKCS12 *p12, STACK_OF(PKCS7) *safes) in PKCS12_pack_authsafes()
232 STACK_OF(PKCS7) *PKCS12_unpack_authsafes(PKCS12 *p12) in STACK_OF() argument
Dpkcs12.h108 PKCS7 *authsafes;
189 PKCS7 *PKCS12_pack_p7data(STACK_OF(PKCS12_SAFEBAG) *sk);
190 STACK_OF(PKCS12_SAFEBAG) *PKCS12_unpack_p7data(PKCS7 *p7);
191 PKCS7 *PKCS12_pack_p7encdata(int pbe_nid, const char *pass, int passlen,
194 STACK_OF(PKCS12_SAFEBAG) *PKCS12_unpack_p7encdata(PKCS7 *p7, const char *pass, int passlen);
196 int PKCS12_pack_authsafes(PKCS12 *p12, STACK_OF(PKCS7) *safes);
197 STACK_OF(PKCS7) *PKCS12_unpack_authsafes(PKCS12 *p12);
255 int PKCS12_add_safe(STACK_OF(PKCS7) **psafes, STACK_OF(PKCS12_SAFEBAG) *bags,
257 PKCS12 *PKCS12_add_safes(STACK_OF(PKCS7) *safes, int p7_nid);
Dp12_crt.c84 STACK_OF(PKCS7) *safes = NULL; in PKCS12_create()
265 int PKCS12_add_safe(STACK_OF(PKCS7) **psafes, STACK_OF(PKCS12_SAFEBAG) *bags, in PKCS12_add_safe()
268 PKCS7 *p7 = NULL; in PKCS12_add_safe()
341 PKCS12 *PKCS12_add_safes(STACK_OF(PKCS7) *safes, int nid_p7) in PKCS12_add_safes()
Dp12_asn.c68 ASN1_SIMPLE(PKCS12, authsafes, PKCS7),
123 ASN1_EX_TEMPLATE_TYPE(ASN1_TFLG_SEQUENCE_OF, 0, PKCS12_AUTHSAFES, PKCS7)
/external/openssl/crypto/x509/
Dx_all.c161 PKCS7 *d2i_PKCS7_fp(FILE *fp, PKCS7 **p7) in d2i_PKCS7_fp()
163 return ASN1_item_d2i_fp(ASN1_ITEM_rptr(PKCS7), fp, p7); in d2i_PKCS7_fp()
166 int i2d_PKCS7_fp(FILE *fp, PKCS7 *p7) in i2d_PKCS7_fp()
168 return ASN1_item_i2d_fp(ASN1_ITEM_rptr(PKCS7), fp, p7); in i2d_PKCS7_fp()
172 PKCS7 *d2i_PKCS7_bio(BIO *bp, PKCS7 **p7) in d2i_PKCS7_bio()
174 return ASN1_item_d2i_bio(ASN1_ITEM_rptr(PKCS7), bp, p7); in d2i_PKCS7_bio()
177 int i2d_PKCS7_bio(BIO *bp, PKCS7 *p7) in i2d_PKCS7_bio()
179 return ASN1_item_i2d_bio(ASN1_ITEM_rptr(PKCS7), bp, p7); in i2d_PKCS7_bio()
/external/openssl/crypto/pkcs7/t/
D3des.pem1 -----BEGIN PKCS7-----
15 -----END PKCS7-----
Dmsie-e.pem1 -----BEGIN PKCS7-----
22 -----END PKCS7-----
Dff1 -----BEGIN PKCS7-----
32 -----END PKCS7-----
D3dess.pem1 -----BEGIN PKCS7-----
32 -----END PKCS7-----
Dmsie-enc-01.pem1 -----BEGIN PKCS7-----
66 -----END PKCS7-----
Dmsie-enc-02.pem1 -----BEGIN PKCS7-----
106 -----END PKCS7-----
Dmsie-s-a-e.pem1 -----BEGIN PKCS7-----
106 -----END PKCS7-----
/external/openssl/crypto/pem/
Dpem_all.c146 IMPLEMENT_PEM_rw(PKCS7, PKCS7, PEM_STRING_PKCS7, PKCS7) in IMPLEMENT_PEM_rw()

12