/libcore/luni/src/main/java/libcore/util/ |
RecoverySystem.java | 19 import sun.security.pkcs.PKCS7; 42 PKCS7 block = new PKCS7(blockStream);
|
/libcore/ojluni/src/main/java/sun/security/provider/certpath/ |
X509CertPath.java | 41 import sun.security.pkcs.PKCS7; 77 private static final String PKCS7_ENCODING = "PKCS7"; 231 PKCS7 pkcs7 = new PKCS7(is); local 233 X509Certificate[] certArray = pkcs7.getCertificates(); 242 throw new CertificateException("IOException parsing PKCS7 data: " + 324 PKCS7 p7 = new PKCS7(new AlgorithmId[0],
|
/external/boringssl/src/crypto/pkcs7/ |
pkcs7.c | 15 #include <openssl/pkcs7.h> 67 OPENSSL_PUT_ERROR(PKCS7, PKCS7_R_NOT_PKCS7_SIGNED_DATA); 82 OPENSSL_PUT_ERROR(PKCS7, PKCS7_R_BAD_PKCS7_VERSION); 109 OPENSSL_PUT_ERROR(PKCS7, PKCS7_R_NO_CERTIFICATES_INCLUDED);
|
pkcs7_x509.c | 15 #include <openssl/pkcs7.h> 87 OPENSSL_PUT_ERROR(PKCS7, PKCS7_R_NO_CRLS_INCLUDED);
|
/libcore/ojluni/src/main/java/sun/security/pkcs/ |
SignerInfo.java | 256 public X509Certificate getCertificate(PKCS7 block) 265 public ArrayList<X509Certificate> getCertificateChain(PKCS7 block) 317 SignerInfo verify(PKCS7 block, byte[] data) 329 SignerInfo verify(PKCS7 block, InputStream inputStream) 501 /* Verify the content of the pkcs7 block. */ 502 SignerInfo verify(PKCS7 block) 543 * Returns the timestamp PKCS7 data unverified. 544 * @return a PKCS7 object 546 public PKCS7 getTsToken() throws IOException { 556 return new PKCS7((byte[])tsTokenAttr.getValue()) [all...] |
PKCS7.java | 56 * PKCS7 as defined in RSA Laboratories PKCS7 Technical Note. Profile 64 public class PKCS7 { 112 * Unmarshals a PKCS7 block from its encoded form, parsing the 115 * @param in an input stream holding at least one PKCS7 block. 119 public PKCS7(InputStream in) throws ParsingException, IOException { 128 * Unmarshals a PKCS7 block from its encoded form, parsing the 131 * @param derin a DerInputStream holding at least one PKCS7 block. 134 public PKCS7(DerInputStream derin) throws ParsingException { 139 * Unmarshals a PKCS7 block from its encoded form, parsing th [all...] |
/external/conscrypt/common/src/main/java/org/conscrypt/ |
OpenSSLX509CertPath.java | 53 PKCS7("PKCS7"); 76 Encoding.PKCS7.apiName, 117 case PKCS7: 234 case PKCS7:
|
/device/linaro/bootloader/edk2/CryptoPkg/Library/BaseCryptLib/Pk/ |
CryptAuthenticode.c | 27 #include <openssl/pkcs7.h>
74 PKCS7 *Pkcs7;
94 Pkcs7 = NULL;
101 Pkcs7 = d2i_PKCS7 (NULL, &Temp, (int)DataSize);
102 if (Pkcs7 == NULL) {
109 if (!PKCS7_type_is_signed (Pkcs7)) {
114 // NOTE: OpenSSL PKCS7 Decoder didn't work for Authenticode-format signed data due to
118 SpcIndirectDataOid = OBJ_get0_data(Pkcs7->d.sign->contents->type);
119 if (OBJ_length(Pkcs7->d.sign->contents->type) != sizeof(mSpcIndirectOidValue) || [all...] |
CryptPkcs7Sign.c | 19 #include <openssl/pkcs7.h>
62 PKCS7 *Pkcs7;
78 Pkcs7 = NULL;
138 Pkcs7 = PKCS7_sign (
145 if (Pkcs7 == NULL) {
152 P7DataSize = i2d_PKCS7 (Pkcs7, NULL);
163 P7DataSize = i2d_PKCS7 (Pkcs7, (unsigned char **) &Tmp);
202 if (Pkcs7 != NULL) {
203 PKCS7_free (Pkcs7);
[all...] |
CryptPkcs7Verify.c | 29 #include <openssl/pkcs7.h>
262 PKCS7 *Pkcs7;
288 Pkcs7 = NULL;
302 Pkcs7 = d2i_PKCS7 (NULL, (const unsigned char **) &Temp, (int) SignedDataSize);
303 if (Pkcs7 == NULL) {
310 if (!PKCS7_type_is_signed (Pkcs7)) {
314 Stack = PKCS7_get0_signers(Pkcs7, NULL, PKCS7_BINARY);
387 if (Pkcs7 != NULL) {
388 PKCS7_free (Pkcs7);
[all...] |
CryptTs.c | 25 #include <openssl/pkcs7.h>
361 PKCS7 *Pkcs7;
387 Pkcs7 = NULL;
398 Pkcs7 = d2i_PKCS7 (NULL, (const unsigned char **) &TokenTemp, (int) TokenSize);
399 if (Pkcs7 == NULL) {
406 if (!PKCS7_type_is_signed (Pkcs7)) {
443 if (!PKCS7_verify (Pkcs7, NULL, CertStore, NULL, OutBio, PKCS7_BINARY)) {
486 PKCS7_free (Pkcs7);
529 PKCS7 *Pkcs7; [all...] |
/frameworks/base/core/java/android/util/jar/ |
StrictJarVerifier.java | 43 import sun.security.pkcs.PKCS7; 309 * that specified in {@code blockBytes} (which is a PKCS7 block). Returns 310 * certificates listed in the PKCS7 block. Throws a {@code GeneralSecurityException} 320 PKCS7 block = new PKCS7(blockBytes);
|
/libcore/ojluni/src/main/java/sun/security/util/ |
SignatureFileVerifier.java | 56 import sun.security.pkcs.PKCS7; 77 /** the PKCS7 block for this .DSA/.RSA/.EC file */ 78 private PKCS7 block; 113 // new PKCS7() calls CertificateFactory.getInstance() 118 block = new PKCS7(rawBytes); 162 * to determine the signature file names and PKCS7 block 167 * Signature File or PKCS7 block file name 170 // we currently only support DSA and RSA PKCS7 blocks 540 * Given the PKCS7 block and SignerInfo[], create an array of 544 private CodeSigner[] getSigners(SignerInfo infos[], PKCS7 block [all...] |
/system/security/keystore/ |
keystore_client_impl.cpp | 79 encrypt_params.Padding(PaddingMode::PKCS7); 138 encrypt_params.Padding(PaddingMode::PKCS7); 409 .Padding(PaddingMode::PKCS7) 498 if (!padding_mode.isOk() || padding_mode.value() != PaddingMode::PKCS7) {
|
/hardware/interfaces/keymaster/4.0/vts/functional/ |
keymaster_hidl_hal_test.cpp | [all...] |
/hardware/interfaces/keymaster/3.0/ |
types.hal | 198 PKCS7 = 64,
|
/hardware/interfaces/keymaster/4.0/ |
types.hal | 139 * PaddingMode::PKCS7 may only be used with AES and 3DES keys, and only with ECB and CBC modes. [all...] |
/frameworks/base/core/java/android/os/ |
RecoverySystem.java | 69 import sun.security.pkcs.PKCS7; 252 PKCS7 block = 253 new PKCS7(new ByteArrayInputStream(eocd, commentSize+22-signatureStart, signatureStart)); [all...] |
/prebuilts/gcc/linux-x86/host/x86_64-w64-mingw32-4.8/x86_64-w64-mingw32/include/ |
xenroll.h | 107 virtual HRESULT WINAPI acceptPKCS7(BSTR PKCS7) = 0; 177 HRESULT (WINAPI *acceptPKCS7)(ICEnroll *This,BSTR PKCS7); 246 #define ICEnroll_acceptPKCS7(This,PKCS7) (This)->lpVtbl->acceptPKCS7(This,PKCS7) 307 HRESULT WINAPI ICEnroll_acceptPKCS7_Proxy(ICEnroll *This,BSTR PKCS7); 447 HRESULT (WINAPI *acceptPKCS7)(ICEnroll2 *This,BSTR PKCS7) [all...] |
/hardware/interfaces/keymaster/3.0/vts/functional/ |
keymaster_hidl_hal_test.cpp | [all...] |
keymaster_tags.h | 393 case PaddingMode::PKCS7: 394 return "Pkcs7";
|
/external/wpa_supplicant_8/hs20/client/ |
est.c | 13 #include <openssl/pkcs7.h> 30 static int pkcs7_to_cert(struct hs20_osu_client *ctx, const u8 *pkcs7, 36 PKCS7 *p7 = NULL; 37 const unsigned char *p = pkcs7; 47 CBS_init(&pkcs7_cbs, pkcs7, len); 124 unsigned char *pkcs7; local 160 pkcs7 = base64_decode((unsigned char *) resp, resp_len, &pkcs7_len); 161 if (pkcs7 && pkcs7_len < resp_len / 2) { 164 os_free(pkcs7); 165 pkcs7 = NULL 668 unsigned char *pkcs7; local [all...] |
/external/nos/host/android/hals/keymaster/ |
proto_utils.cpp | 263 case PaddingMode::PKCS7: 290 *out = PaddingMode::PKCS7; [all...] |
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/lib2to3/tests/data/ |
infinite_recursion.py | [all...] |
/external/ipsec-tools/src/racoon/ |
oakley.c | 46 #include <openssl/pkcs7.h> [all...] |