| /src/crypto/external/apache2/openssl/dist/crypto/pkcs12/ |
| p12_asn.c | 13 #include <openssl/pkcs12.h> 19 ASN1_SEQUENCE(PKCS12) = { 20 ASN1_SIMPLE(PKCS12, version, ASN1_INTEGER), 21 ASN1_SIMPLE(PKCS12, authsafes, PKCS7), 22 ASN1_OPT(PKCS12, mac, PKCS12_MAC_DATA) 23 } ASN1_SEQUENCE_END(PKCS12) 25 IMPLEMENT_ASN1_ENCODE_FUNCTIONS_fname(PKCS12, PKCS12, PKCS12) 27 PKCS12 *PKCS12_new(void [all...] |
| p12_init.c | 12 #include <openssl/pkcs12.h> 16 /* Initialise a PKCS12 structure to take data */ 18 PKCS12 *PKCS12_init_ex(int mode, OSSL_LIB_CTX *ctx, const char *propq) 20 PKCS12 *pkcs12; local 22 if ((pkcs12 = PKCS12_new()) == NULL) { 26 if (!ASN1_INTEGER_set(pkcs12->version, 3)) 28 pkcs12->authsafes->type = OBJ_nid2obj(mode); 30 ossl_pkcs7_set0_libctx(pkcs12->authsafes, ctx); 31 if (!ossl_pkcs7_set1_propq(pkcs12->authsafes, propq)) [all...] |
| p12_utl.c | 12 #include <openssl/pkcs12.h> 235 int i2d_PKCS12_bio(BIO *bp, const PKCS12 *p12) 237 return ASN1_item_i2d_bio(ASN1_ITEM_rptr(PKCS12), bp, p12); 241 int i2d_PKCS12_fp(FILE *fp, const PKCS12 *p12) 243 return ASN1_item_i2d_fp(ASN1_ITEM_rptr(PKCS12), fp, p12); 247 PKCS12 *d2i_PKCS12_bio(BIO *bp, PKCS12 **p12) 260 return ASN1_item_d2i_bio_ex(ASN1_ITEM_rptr(PKCS12), bp, p12, libctx, propq); 264 PKCS12 *d2i_PKCS12_fp(FILE *fp, PKCS12 **p12 [all...] |
| p12_local.h | 45 const PKCS7_CTX *ossl_pkcs12_get0_pkcs7ctx(const PKCS12 *p12);
|
| /src/crypto/external/bsd/openssl.old/dist/include/openssl/ |
| pkcs12.h | 45 typedef struct PKCS12_st PKCS12; 78 int PKCS12_mac_present(const PKCS12 *p12); 83 const PKCS12 *p12); 128 int PKCS12_pack_authsafes(PKCS12 *p12, STACK_OF(PKCS7) *safes); 129 STACK_OF(PKCS7) *PKCS12_unpack_authsafes(const PKCS12 *p12); 159 PKCS12 *PKCS12_init(int mode); 172 int PKCS12_gen_mac(PKCS12 *p12, const char *pass, int passlen, 174 int PKCS12_verify_mac(PKCS12 *p12, const char *pass, int passlen); 175 int PKCS12_set_mac(PKCS12 *p12, const char *pass, int passlen, 178 int PKCS12_setup_mac(PKCS12 *p12, int iter, unsigned char *salt [all...] |
| /src/crypto/external/bsd/openssl/dist/crypto/pkcs12/ |
| p12_init.c | 12 #include <openssl/pkcs12.h> 16 /* Initialise a PKCS12 structure to take data */ 18 PKCS12 *PKCS12_init_ex(int mode, OSSL_LIB_CTX *ctx, const char *propq) 20 PKCS12 *pkcs12; local 22 if ((pkcs12 = PKCS12_new()) == NULL) { 26 if (!ASN1_INTEGER_set(pkcs12->version, 3)) 28 pkcs12->authsafes->type = OBJ_nid2obj(mode); 30 ossl_pkcs7_set0_libctx(pkcs12->authsafes, ctx); 31 if (!ossl_pkcs7_set1_propq(pkcs12->authsafes, propq)) [all...] |
| p12_asn.c | 13 #include <openssl/pkcs12.h> 18 ASN1_SEQUENCE(PKCS12) = { 19 ASN1_SIMPLE(PKCS12, version, ASN1_INTEGER), 20 ASN1_SIMPLE(PKCS12, authsafes, PKCS7), 21 ASN1_OPT(PKCS12, mac, PKCS12_MAC_DATA) 22 } ASN1_SEQUENCE_END(PKCS12) 24 IMPLEMENT_ASN1_FUNCTIONS(PKCS12)
|
| p12_utl.c | 12 #include <openssl/pkcs12.h> 227 int i2d_PKCS12_bio(BIO *bp, const PKCS12 *p12) 229 return ASN1_item_i2d_bio(ASN1_ITEM_rptr(PKCS12), bp, p12); 233 int i2d_PKCS12_fp(FILE *fp, const PKCS12 *p12) 235 return ASN1_item_i2d_fp(ASN1_ITEM_rptr(PKCS12), fp, p12); 239 PKCS12 *d2i_PKCS12_bio(BIO *bp, PKCS12 **p12) 241 return ASN1_item_d2i_bio(ASN1_ITEM_rptr(PKCS12), bp, p12); 245 PKCS12 *d2i_PKCS12_fp(FILE *fp, PKCS12 **p12 [all...] |
| p12_mutl.c | 21 #include <openssl/pkcs12.h> 24 int PKCS12_mac_present(const PKCS12 *p12) 33 const PKCS12 *p12) 76 static int pkcs12_gen_mac(PKCS12 *p12, const char *pass, int passlen, 178 int PKCS12_gen_mac(PKCS12 *p12, const char *pass, int passlen, 185 int PKCS12_verify_mac(PKCS12 *p12, const char *pass, int passlen) 209 int PKCS12_set_mac(PKCS12 *p12, const char *pass, int passlen, 242 int PKCS12_setup_mac(PKCS12 *p12, int iter, unsigned char *salt, int saltlen,
|
| p12_crt.c | 12 #include <openssl/pkcs12.h> 37 PKCS12 *PKCS12_create_ex(const char *pass, const char *name, EVP_PKEY *pkey, 42 PKCS12 *p12 = NULL; 148 PKCS12 *PKCS12_create(const char *pass, const char *name, EVP_PKEY *pkey, X509 *cert, 341 PKCS12 *PKCS12_add_safes_ex(STACK_OF(PKCS7) *safes, int nid_p7, 344 PKCS12 *p12; 361 PKCS12 *PKCS12_add_safes(STACK_OF(PKCS7) *safes, int nid_p7)
|
| /src/crypto/external/bsd/openssl.old/dist/crypto/pkcs12/ |
| p12_init.c | 12 #include <openssl/pkcs12.h> 15 /* Initialise a PKCS12 structure to take data */ 17 PKCS12 *PKCS12_init(int mode) 19 PKCS12 *pkcs12; local 21 if ((pkcs12 = PKCS12_new()) == NULL) { 25 if (!ASN1_INTEGER_set(pkcs12->version, 3)) 27 pkcs12->authsafes->type = OBJ_nid2obj(mode); 30 if ((pkcs12->authsafes->d.data = ASN1_OCTET_STRING_new()) == NULL) { 39 return pkcs12; [all...] |
| p12_asn.c | 13 #include <openssl/pkcs12.h> 18 ASN1_SEQUENCE(PKCS12) = { 19 ASN1_SIMPLE(PKCS12, version, ASN1_INTEGER), 20 ASN1_SIMPLE(PKCS12, authsafes, PKCS7), 21 ASN1_OPT(PKCS12, mac, PKCS12_MAC_DATA) 22 } ASN1_SEQUENCE_END(PKCS12) 24 IMPLEMENT_ASN1_FUNCTIONS(PKCS12)
|
| p12_utl.c | 12 #include <openssl/pkcs12.h> 222 int i2d_PKCS12_bio(BIO *bp, PKCS12 *p12) 224 return ASN1_item_i2d_bio(ASN1_ITEM_rptr(PKCS12), bp, p12); 228 int i2d_PKCS12_fp(FILE *fp, PKCS12 *p12) 230 return ASN1_item_i2d_fp(ASN1_ITEM_rptr(PKCS12), fp, p12); 234 PKCS12 *d2i_PKCS12_bio(BIO *bp, PKCS12 **p12) 236 return ASN1_item_d2i_bio(ASN1_ITEM_rptr(PKCS12), bp, p12); 240 PKCS12 *d2i_PKCS12_fp(FILE *fp, PKCS12 **p12 [all...] |
| p12_mutl.c | 15 #include <openssl/pkcs12.h> 18 int PKCS12_mac_present(const PKCS12 *p12) 27 const PKCS12 *p12) 70 static int pkcs12_gen_mac(PKCS12 *p12, const char *pass, int passlen, 143 int PKCS12_gen_mac(PKCS12 *p12, const char *pass, int passlen, 150 int PKCS12_verify_mac(PKCS12 *p12, const char *pass, int passlen) 175 int PKCS12_set_mac(PKCS12 *p12, const char *pass, int passlen, 206 int PKCS12_setup_mac(PKCS12 *p12, int iter, unsigned char *salt, int saltlen,
|
| /src/crypto/external/apache2/openssl/dist/include/openssl/ |
| pkcs12.h.in | 64 typedef struct PKCS12_st PKCS12; 103 int PKCS12_mac_present(const PKCS12 *p12); 108 const PKCS12 *p12); 185 int PKCS12_pack_authsafes(PKCS12 *p12, STACK_OF(PKCS7) *safes); 186 STACK_OF(PKCS7) *PKCS12_unpack_authsafes(const PKCS12 *p12); 238 PKCS12 *PKCS12_init(int mode); 239 PKCS12 *PKCS12_init_ex(int mode, OSSL_LIB_CTX *ctx, const char *propq); 270 int PKCS12_gen_mac(PKCS12 *p12, const char *pass, int passlen, 272 int PKCS12_verify_mac(PKCS12 *p12, const char *pass, int passlen); 273 int PKCS12_set_mac(PKCS12 *p12, const char *pass, int passlen [all...] |
| /src/crypto/external/bsd/openssl/dist/include/openssl/ |
| pkcs12.h.in | 58 typedef struct PKCS12_st PKCS12; 95 int PKCS12_mac_present(const PKCS12 *p12); 100 const PKCS12 *p12); 175 int PKCS12_pack_authsafes(PKCS12 *p12, STACK_OF(PKCS7) *safes); 176 STACK_OF(PKCS7) *PKCS12_unpack_authsafes(const PKCS12 *p12); 227 PKCS12 *PKCS12_init(int mode); 228 PKCS12 *PKCS12_init_ex(int mode, OSSL_LIB_CTX *ctx, const char *propq); 259 int PKCS12_gen_mac(PKCS12 *p12, const char *pass, int passlen, 261 int PKCS12_verify_mac(PKCS12 *p12, const char *pass, int passlen); 262 int PKCS12_set_mac(PKCS12 *p12, const char *pass, int passlen [all...] |
| /src/crypto/external/bsd/heimdal/dist/lib/hx509/ |
| test_query.in | 48 PKCS12:$srcdir/data/test.p12 >/dev/null 2>/dev/null || exit 1 59 PKCS12:$srcdir/data/test.p12 >/dev/null 2>/dev/null || exit 1 65 PKCS12:$srcdir/data/test.p12 >/dev/null 2>/dev/null || exit 1 71 PKCS12:$srcdir/data/test.p12 >/dev/null 2>/dev/null && exit 1 86 PKCS12:$srcdir/data/test-nopw.p12 >/dev/null 2>/dev/null || exit 1 92 PKCS12:$srcdir/data/test.p12 >/dev/null 2>/dev/null || exit 1 98 PKCS12:$srcdir/data/sub-cert.p12 >/dev/null 2>/dev/null && exit 1 105 PKCS12:$srcdir/data/test.p12 > /dev/null || exit 1 112 PKCS12:$srcdir/data/test.p12 >/dev/null 2>/dev/null && exit 1
|
| test_nist_pkcs12.in | 62 echo "nist pkcs12 tests" 64 for a in $nistdir/pkcs12/*.p12 ; do 66 if ${hxtool} validate $pass PKCS12:$a > /dev/null; then
|
| /src/crypto/external/apache2/openssl/dist/test/ |
| pkcs12_api_test.c | 16 #include <openssl/pkcs12.h> 22 #include "helpers/pkcs12.h" 32 static PKCS12 *PKCS12_load(const char *fpath) 35 PKCS12 *p12 = NULL; 64 static int changepass(PKCS12 *p12, EVP_PKEY *key, X509 *cert, STACK_OF(X509) *ca) 67 PKCS12 *p12new = NULL; 106 PKCS12 *p12 = NULL; 143 static PKCS12 *pkcs12_create_ex2_setup(EVP_PKEY **key, X509 **cert, STACK_OF(X509) **ca) 145 PKCS12 *p12 = NULL; 162 PKCS12 *ptr = NULL, *p12 = NULL [all...] |
| /src/crypto/external/apache2/openssl/dist/test/recipes/30-test_evp_data/ |
| evppbe_pkcs12.txt | 14 Title = PKCS12 tests 16 PBE = pkcs12 24 PBE = pkcs12 32 PBE = pkcs12 40 PBE = pkcs12 48 PBE = pkcs12 56 PBE = pkcs12
|
| /src/crypto/external/bsd/openssl/dist/test/recipes/30-test_evp_data/ |
| evppbe_pkcs12.txt | 14 Title = PKCS12 tests 16 PBE = pkcs12 24 PBE = pkcs12 32 PBE = pkcs12 40 PBE = pkcs12 48 PBE = pkcs12 56 PBE = pkcs12
|
| /src/crypto/external/apache2/openssl/dist/test/helpers/ |
| pkcs12.c | 16 #include <openssl/pkcs12.h> 22 #include "pkcs12.h" /* from the same directory */ 39 static int write_p12(PKCS12 *p12, const char *outfile); 41 static PKCS12 *from_bio_p12(BIO *bio, const PKCS12_ENC *mac); 42 static PKCS12 *read_p12(const char *infile, const PKCS12_ENC *mac); 43 static int check_p12_mac(PKCS12 *p12, const PKCS12_ENC *mac); 98 * PKCS12 builder 139 /* Generate the PKCS12 encoding and write to memory bio */ 142 PKCS12 *p12; 186 static int write_p12(PKCS12 *p12, const char *outfile [all...] |
| /src/crypto/external/bsd/openssl/dist/test/helpers/ |
| pkcs12.c | 16 #include <openssl/pkcs12.h> 22 #include "pkcs12.h" /* from the same directory */ 39 static int write_p12(PKCS12 *p12, const char *outfile); 41 static PKCS12 *from_bio_p12(BIO *bio, const PKCS12_ENC *mac); 42 static PKCS12 *read_p12(const char *infile, const PKCS12_ENC *mac); 43 static int check_p12_mac(PKCS12 *p12, const PKCS12_ENC *mac); 100 * PKCS12 builder 145 /* Generate the PKCS12 encoding and write to memory bio */ 148 PKCS12 *p12; 193 static int write_p12(PKCS12 *p12, const char *outfile [all...] |
| /src/crypto/external/apache2/openssl/dist/demos/pkcs12/ |
| pkread.c | 14 #include <openssl/pkcs12.h> 18 static char *find_friendly_name(PKCS12 *p12) 54 PKCS12 *p12 = NULL;
|
| /src/crypto/external/bsd/openssl/dist/demos/pkcs12/ |
| pkread.c | 14 #include <openssl/pkcs12.h> 18 static char *find_friendly_name(PKCS12 *p12) 54 PKCS12 *p12 = NULL;
|