/libcore/support/src/test/java/tests/resources/x509/ |
create.sh | 26 openssl req -in /tmp/cert-rsa-req.pem -pubkey -noout | openssl rsa -pubin -pubout -outform der > "$DIR/cert-rsa-pubkey.der" 27 openssl x509 -extfile "$DIR/default.cnf" -days 3650 -extensions usr_cert -req -signkey "$DIR/privkey.pem" -outform d -set_serial -99999999999999999999 < /tmp/cert-rsa-req.pem > "$DIR/cert-rsa.der" 30 openssl asn1parse -in "$DIR/cert-rsa.der" -inform d -out "$DIR/cert-rsa-tbs.der" -noout -strparse 4 31 SIG_OFFSET=$(openssl asn1parse -in "$DIR/cert-rsa.der" -inform d | tail -1 | cut -f1 -d:) 32 openssl asn1parse -in "$DIR/cert-rsa.der" -inform d -strparse "$SIG_OFFSET" -noout -out "$DIR/cert-rsa-sig.der" 35 openssl x509 -in "$DIR/cert-rsa.der" -inform d -noout -startdate -enddate > "$DIR/cert-rsa-dates.txt" 38 openssl x509 -in "$DIR/cert-rsa.der" -inform d -noout -serial > "$DIR/cert-rsa-serial.txt [all...] |
/external/boringssl/src/crypto/evp/ |
evp_extra_test.cc | 36 // kExampleRSAKeyDER is an RSA private key in ASN.1, DER format. Of course, you 581 uint8_t *der; local 585 ASSERT_TRUE(CBB_finish(cbb.get(), &der, &der_len)); 586 bssl::UniquePtr<uint8_t> free_der(der); 587 EXPECT_EQ(Bytes(kPublicKeySPKI), Bytes(der, der_len)); [all...] |
/external/boringssl/src/crypto/fipsmodule/bn/ |
bn_test.cc | 1130 const char *der; member in struct:ASN1Test 1147 const char *der; member in struct:ASN1InvalidTest 1180 uint8_t *der; local [all...] |
/external/boringssl/src/crypto/fipsmodule/ec/ |
ec_test.cc | 120 uint8_t *der; local 124 !CBB_finish(cbb.get(), &der, &der_len)) { 127 out->assign(der, der + der_len); 128 OPENSSL_free(der);
|
/frameworks/support/media/src/main/java/androidx/media/subtitle/ |
Cea608CCParser.java | 53 private static final int DER = 0x24; 202 case DER: 203 getMemory().der(); 555 void der() { method in class:Cea608CCParser.CCMemory 708 "DER", "RU2", "RU3", "RU4",
|
/external/boringssl/src/crypto/bytestring/ |
bytestring_test.cc | 591 // These parts need to be concatenated in DER form. 893 std::vector<uint8_t> der; member in struct:__anon14271 [all...] |
/external/scapy/scapy/layers/tls/ |
handshake.py | 535 s = i.der 541 s = s.der 579 s = i.der 585 s = s.der [all...] |
/external/boringssl/src/crypto/obj/ |
objects.go | 175 var der []byte 176 der = appendBase128(der, 40*oid[0]+oid[1]) 178 der = appendBase128(der, value) 180 return der 601 // Emit each object's DER encoding, concatenated, and save the offsets.
|
/external/boringssl/src/crypto/pkcs8/ |
pkcs8_test.cc | 28 // openssl pkcs8 -topk8 -in test.key -out test.key.encrypted -v2 des3 -outform der 168 static void TestDecrypt(const uint8_t *der, size_t der_len, 170 const uint8_t *data = der; 173 ASSERT_EQ(der + der_len, data);
|
/external/nos/host/android/hals/keymaster/ |
KeymasterDevice.cpp | 520 hidl_vec<uint8_t> der; local 521 error_code = export_key_der(response, &der); 523 _hidl_cb(error_code, der); [all...] |
/libcore/luni/src/test/java/libcore/java/security/cert/ |
X509CertificateTest.java | 90 private static final String CERT_RSA = "x509/cert-rsa.der"; 92 private static final String CERT_DSA = "x509/cert-dsa.der"; 94 private static final String CERT_EC = "x509/cert-ec.der"; 96 private static final String CERT_KEYUSAGE_EXTRALONG = "x509/cert-keyUsage-extraLong.der"; 98 private static final String CERT_EXTENDEDKEYUSAGE = "x509/cert-extendedKeyUsage.der"; 100 private final static String CERT_RSA_TBS = "x509/cert-rsa-tbs.der"; 102 private final static String CERT_RSA_SIGNATURE = "x509/cert-rsa-sig.der"; 104 private static final String CERT_USERWITHPATHLEN = "x509/cert-userWithPathLen.der"; 106 private static final String CERT_CA = "x509/cert-ca.der"; 108 private static final String CERT_CAWITHPATHLEN = "x509/cert-caWithPathLen.der"; [all...] |
/external/boringssl/src/include/openssl/ |
ssl.h | [all...] |
/external/boringssl/src/ssl/ |
ssl_test.cc | 981 std::vector<uint8_t> der; local 3077 uint8_t *der = nullptr; local [all...] |
/external/curl/lib/vtls/ |
darwinssl.c | 156 /* both new and old APIs return rsa keys missing the spki header (not DER) */ 169 /* the *new* version doesn't return DER encoded ecdsa certs like the old... */ 2045 unsigned char *certbuf, *der; local [all...] |
vtls.c | 741 * Public key pem to der conversion 745 unsigned char **der, size_t *der_len) 791 result = Curl_base64_decode(stripped_pem, der, der_len); 920 /* If the sizes are the same, it can't be base64 encoded, must be der */ [all...] |
/tools/tradefederation/core/tests/src/com/android/tradefed/device/ |
DeviceManagerTest.java | 548 DeviceEventResponse der = local 551 .andReturn(der); 577 DeviceEventResponse der = local 580 .andReturn(der); [all...] |
/external/webrtc/talk/app/webrtc/ |
statscollector_unittest.cc | 254 std::string DerToPem(const std::string& der) { 257 reinterpret_cast<const unsigned char*>(der.c_str()), 258 der.length()); 281 std::string der = rtc::Base64::Decode(der_base64, rtc::Base64::DO_STRICT); local 282 EXPECT_EQ(ders[i], der); [all...] |
/prebuilts/go/darwin-x86/src/crypto/x509/ |
x509_test.go | 412 der, _ := pem.Decode([]byte(rsaPSSSelfSignedPEM)) 413 if der == nil { 417 cert, err := ParseCertificate(der.Bytes) 714 t.Errorf("%s: didn't find extra extension in DER output", test.name) [all...] |
/prebuilts/go/linux-x86/src/crypto/x509/ |
x509_test.go | 412 der, _ := pem.Decode([]byte(rsaPSSSelfSignedPEM)) 413 if der == nil { 417 cert, err := ParseCertificate(der.Bytes) 714 t.Errorf("%s: didn't find extra extension in DER output", test.name) [all...] |
/external/tpm2/ |
CpriHash.c | 219 // This function returns a pointer to the DER string for the algorithm and indicates its size. 229 *p = &q->der[0]; [all...] |
/frameworks/av/packages/MediaComponents/src/com/android/media/subtitle/ |
ClosedCaptionRenderer.java | 269 private static final int DER = 0x24; 418 case DER: 419 getMemory().der(); 772 void der() { method in class:Cea608CCParser.CCMemory 926 "DER", "RU2", "RU3", "RU4", [all...] |
/frameworks/base/media/java/android/media/ |
ClosedCaptionRenderer.java | 274 private static final int DER = 0x24; 423 case DER: 424 getMemory().der(); 779 void der() { method in class:Cea608CCParser.CCMemory 933 "DER", "RU2", "RU3", "RU4", [all...] |
/prebuilts/go/darwin-x86/src/encoding/asn1/ |
asn1_test.go | [all...] |
/prebuilts/go/linux-x86/src/encoding/asn1/ |
asn1_test.go | [all...] |
/external/wpa_supplicant_8/hs20/client/ |
osu_client.c | 191 char *der, *pem; local 209 der = os_readfile("Cert/est_cert.der", &der_len); 210 if (der == NULL) { 216 if (sha256_vector(1, (const u8 **) &der, &der_len, digest2) < 0) { 217 os_free(der); 220 os_free(der); 229 unlink("Cert/est_cert.der"); 684 if (cert && os_file_exists("Cert/est_cert.der") && [all...] |