Home
last modified time | relevance | path

Searched refs:PKCS7 (Results 1 – 25 of 45) 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)
288 PKCS7 *d2i_PKCS7_fp(FILE *fp,PKCS7 **p7);
289 int i2d_PKCS7_fp(FILE *fp,PKCS7 *p7);
291 PKCS7 *PKCS7_dup(PKCS7 *p7);
292 PKCS7 *d2i_PKCS7_bio(BIO *bp,PKCS7 **p7);
293 int i2d_PKCS7_bio(BIO *bp,PKCS7 *p7);
304 DECLARE_ASN1_FUNCTIONS(PKCS7)
[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);
80 ASN1_NDEF_SEQUENCE(PKCS7) = {
[all …]
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.c64 long PKCS7_ctrl(PKCS7 *p7, int cmd, long larg, char *parg) in PKCS7_ctrl()
114 int PKCS7_content_new(PKCS7 *p7, int type) in PKCS7_content_new()
116 PKCS7 *ret=NULL; in PKCS7_content_new()
128 int PKCS7_set_content(PKCS7 *p7, PKCS7 *p7_data) in PKCS7_set_content()
158 int PKCS7_set_type(PKCS7 *p7, int type) in PKCS7_set_type()
228 int PKCS7_set0_type_other(PKCS7 *p7, int type, ASN1_TYPE *other) in PKCS7_set0_type_other()
235 int PKCS7_add_signer(PKCS7 *p7, PKCS7_SIGNER_INFO *psi) in PKCS7_add_signer()
294 int PKCS7_add_certificate(PKCS7 *p7, X509 *x509) in PKCS7_add_certificate()
329 int PKCS7_add_crl(PKCS7 *p7, X509_CRL *crl) in PKCS7_add_crl()
442 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 PKCS7 *PKCS7_sign(X509 *signcert, EVP_PKEY *pkey, STACK_OF(X509) *certs, in PKCS7_sign()
69 PKCS7 *p7 = NULL; in PKCS7_sign()
168 int PKCS7_verify(PKCS7 *p7, STACK_OF(X509) *certs, X509_STORE *store, in PKCS7_verify()
332 STACK_OF(X509) *PKCS7_get0_signers(PKCS7 *p7, STACK_OF(X509) *certs, int flags) in STACK_OF()
394 PKCS7 *PKCS7_encrypt(STACK_OF(X509) *certs, BIO *in, const EVP_CIPHER *cipher, in PKCS7_encrypt()
397 PKCS7 *p7; in PKCS7_encrypt()
447 int PKCS7_decrypt(PKCS7 *p7, EVP_PKEY *pkey, X509 *cert, BIO *data, int flags) in PKCS7_decrypt()
Dpk7_mime.c89 static int pkcs7_output_data(BIO *bio, BIO *data, PKCS7 *p7, int flags);
90 static int B64_write_PKCS7(BIO *bio, PKCS7 *p7);
91 static PKCS7 *B64_read_PKCS7(BIO *bio);
115 static int B64_write_PKCS7(BIO *bio, PKCS7 *p7) in B64_write_PKCS7()
130 static PKCS7 *B64_read_PKCS7(BIO *bio) in B64_read_PKCS7()
133 PKCS7 *p7; in B64_read_PKCS7()
149 int SMIME_write_PKCS7(BIO *bio, PKCS7 *p7, BIO *data, int flags) in SMIME_write_PKCS7()
235 static int pkcs7_output_data(BIO *out, BIO *data, PKCS7 *p7, int flags) in pkcs7_output_data()
277 PKCS7 *SMIME_read_PKCS7(BIO *bio, BIO **bcont) in SMIME_read_PKCS7()
284 PKCS7 *p7; in SMIME_read_PKCS7()
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()
141 BIO *PKCS7_dataInit(PKCS7 *p7, BIO *bio) in PKCS7_dataInit()
332 BIO *PKCS7_dataDecode(PKCS7 *p7, EVP_PKEY *pkey, BIO *in_bio, X509 *pcert) in PKCS7_dataDecode()
597 int PKCS7_dataFinal(PKCS7 *p7, BIO *bio) in PKCS7_dataFinal()
815 PKCS7 *p7, PKCS7_SIGNER_INFO *si) in PKCS7_dataVerify()
868 int PKCS7_signatureVerify(BIO *bio, PKCS7 *p7, PKCS7_SIGNER_INFO *si, in PKCS7_signatureVerify()
992 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)
288 PKCS7 *d2i_PKCS7_fp(FILE *fp,PKCS7 **p7);
289 int i2d_PKCS7_fp(FILE *fp,PKCS7 *p7);
291 PKCS7 *PKCS7_dup(PKCS7 *p7);
292 PKCS7 *d2i_PKCS7_bio(BIO *bp,PKCS7 **p7);
293 int i2d_PKCS7_bio(BIO *bp,PKCS7 *p7);
304 DECLARE_ASN1_FUNCTIONS(PKCS7)
[all …]
Dpkcs12.h108 PKCS7 *authsafes;
191 PKCS7 *PKCS12_pack_p7data(STACK_OF(PKCS12_SAFEBAG) *sk);
192 STACK_OF(PKCS12_SAFEBAG) *PKCS12_unpack_p7data(PKCS7 *p7);
193 PKCS7 *PKCS12_pack_p7encdata(int pbe_nid, const char *pass, int passlen,
196 STACK_OF(PKCS12_SAFEBAG) *PKCS12_unpack_p7encdata(PKCS7 *p7, const char *pass, int passlen);
198 int PKCS12_pack_authsafes(PKCS12 *p12, STACK_OF(PKCS7) *safes);
199 STACK_OF(PKCS7) *PKCS12_unpack_authsafes(PKCS12 *p12);
257 int PKCS12_add_safe(STACK_OF(PKCS7) **psafes, STACK_OF(PKCS12_SAFEBAG) *bags,
259 PKCS12 *PKCS12_add_safes(STACK_OF(PKCS7) *safes, int p7_nid);
/external/openssl/crypto/pkcs12/
Dp12_add.c128 PKCS7 *PKCS12_pack_p7data(STACK_OF(PKCS12_SAFEBAG) *sk) in PKCS12_pack_p7data()
130 PKCS7 *p7; in PKCS12_pack_p7data()
149 STACK_OF(PKCS12_SAFEBAG) *PKCS12_unpack_p7data(PKCS7 *p7) in STACK_OF()
161 PKCS7 *PKCS12_pack_p7encdata(int pbe_nid, const char *pass, int passlen, in PKCS12_pack_p7encdata()
165 PKCS7 *p7; in PKCS12_pack_p7encdata()
193 STACK_OF(PKCS12_SAFEBAG) *PKCS12_unpack_p7encdata(PKCS7 *p7, const char *pass, int passlen) in STACK_OF()
208 int PKCS12_pack_authsafes(PKCS12 *p12, STACK_OF(PKCS7) *safes) in PKCS12_pack_authsafes()
216 STACK_OF(PKCS7) *PKCS12_unpack_authsafes(PKCS12 *p12) in STACK_OF() argument
Dpkcs12.h108 PKCS7 *authsafes;
191 PKCS7 *PKCS12_pack_p7data(STACK_OF(PKCS12_SAFEBAG) *sk);
192 STACK_OF(PKCS12_SAFEBAG) *PKCS12_unpack_p7data(PKCS7 *p7);
193 PKCS7 *PKCS12_pack_p7encdata(int pbe_nid, const char *pass, int passlen,
196 STACK_OF(PKCS12_SAFEBAG) *PKCS12_unpack_p7encdata(PKCS7 *p7, const char *pass, int passlen);
198 int PKCS12_pack_authsafes(PKCS12 *p12, STACK_OF(PKCS7) *safes);
199 STACK_OF(PKCS7) *PKCS12_unpack_authsafes(PKCS12 *p12);
257 int PKCS12_add_safe(STACK_OF(PKCS7) **psafes, STACK_OF(PKCS12_SAFEBAG) *bags,
259 PKCS12 *PKCS12_add_safes(STACK_OF(PKCS7) *safes, int p7_nid);
Dp12_crt.c71 STACK_OF(PKCS7) *safes = NULL; in PKCS12_create()
254 int PKCS12_add_safe(STACK_OF(PKCS7) **psafes, STACK_OF(PKCS12_SAFEBAG) *bags, in PKCS12_add_safe()
257 PKCS7 *p7 = NULL; in PKCS12_add_safe()
330 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)
Dp12_npas.c106 STACK_OF(PKCS7) *asafes, *newsafes; in newpass_p12()
109 PKCS7 *p7, *p7new; in newpass_p12()
/external/openssl/crypto/x509/
Dx_all.c168 PKCS7 *d2i_PKCS7_fp(FILE *fp, PKCS7 **p7) in d2i_PKCS7_fp()
170 return ASN1_item_d2i_fp(ASN1_ITEM_rptr(PKCS7), fp, p7); in d2i_PKCS7_fp()
173 int i2d_PKCS7_fp(FILE *fp, PKCS7 *p7) in i2d_PKCS7_fp()
175 return ASN1_item_i2d_fp(ASN1_ITEM_rptr(PKCS7), fp, p7); in i2d_PKCS7_fp()
179 PKCS7 *d2i_PKCS7_bio(BIO *bp, PKCS7 **p7) in d2i_PKCS7_bio()
181 return ASN1_item_d2i_bio(ASN1_ITEM_rptr(PKCS7), bp, p7); in d2i_PKCS7_bio()
184 int i2d_PKCS7_bio(BIO *bp, PKCS7 *p7) in i2d_PKCS7_bio()
186 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-----
D3dess.pem1 -----BEGIN PKCS7-----
32 -----END PKCS7-----
Dff1 -----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.c147 IMPLEMENT_PEM_rw(PKCS7, PKCS7, PEM_STRING_PKCS7, PKCS7) in IMPLEMENT_PEM_rw()

12