/cts/tests/security/src/android/keystore/cts/ |
D | CertificateUtils.java | 51 X500Name.getInstance(issuer.getEncoded()), in createCertificate() 55 X500Name.getInstance(subject.getEncoded()), in createCertificate() 56 SubjectPublicKeyInfo.getInstance(keyPair.getPublic().getEncoded())); in createCertificate() 78 new ByteArrayInputStream(x509holder.getEncoded())); in createCertificate()
|
/cts/tests/tests/identity/src/android/security/identity/cts/ |
D | X509CertificateSigningTest.java | 97 outputStream.write(cert.getEncoded()); in testSigning() 110 assertArrayEquals(keyToSignKeyPair.getPublic().getEncoded(), in testSigning() 111 cert.getPublicKey().getEncoded()); in testSigning()
|
D | EphemeralKeyTest.java | 80 assertTrue(ephemeralKeyPair.getPublic().getEncoded().length > 0); in createEphemeralKey() 81 assertTrue(ephemeralKeyPair.getPrivate().getEncoded().length > 0); in createEphemeralKey()
|
D | Util.java | 457 unprotectedHeaders.put(COSE_LABEL_X5CHAIN, cert.getEncoded()); in coseSign1Sign() 462 x5chainsArray.add(cert.getEncoded()); in coseSign1Sign()
|
D | ProvisioningTest.java | 426 byte[] encodedCredentialCert = certificateChain.iterator().next().getEncoded(); in deleteCredential()
|
/cts/apps/VpnApp/src/com/android/cts/vpnfirewall/ |
D | IcmpMessage.java | 47 if (!Arrays.equals(original, getEncoded())) { in IcmpMessage() 52 public byte[] getEncoded() throws IOException { in getEncoded() method in IcmpMessage
|
D | PingReflector.java | 85 packet.setData(echo.getEncoded()); in processPacket() 86 writePacket(packet.getEncoded()); in processPacket()
|
D | Ipv4Packet.java | 80 if (!Arrays.equals(original, getEncoded())) { in Ipv4Packet() 95 public byte[] getEncoded() throws IOException { in getEncoded() method in Ipv4Packet
|
/cts/tests/tests/keystore/src/android/keystore/cts/ |
D | TransparentSecretKey.java | 42 public byte[] getEncoded() { in getEncoded() method in TransparentSecretKey
|
D | ImportWrappedKeyTest.java | 153 byte[] keyMaterial = kg.generateKey().getEncoded(); in testKeyStore_ImportWrappedKey_3DES() 201 byte[] keyMaterial = kg.generateKey().getEncoded(); in testKeyStore_ImportWrappedKey_3DES_StrongBox() 333 byte[] aad = wrappedKeyDescription.getEncoded(); in wrapKey() 353 return new DERSequence(items).getEncoded(ASN1Encoding.DER); in wrapKey()
|
D | KeyFactoryTest.java | 220 MoreAsserts.assertEquals(publicKey.getEncoded(), x509EncodedSpec.getEncoded()); in testGetKeySpecWithKeystorePublicKeyAcceptsX509EncodedKeySpec()
|
D | AndroidKeyStoreTest.java | 1147 assertNull("getEncoded() should return null", privKey.getEncoded()); in assertPrivateKeyEntryEquals() 1150 assertNotNull("Public keys should be encodable", pubKey.getEncoded()); in assertPrivateKeyEntryEquals() 1883 assertEquals(Arrays.toString(expectedSecret.getEncoded()), in testKeyStore_KeyOperations_Wrap_Unencrypted_Success() 1884 Arrays.toString(actualSecret.getEncoded())); in testKeyStore_KeyOperations_Wrap_Unencrypted_Success()
|
D | KeyPairGeneratorTest.java | 738 if(Arrays.equals(pub1.getEncoded(), pub2.getEncoded())) { in testGenerate_EC_Different_KeysHelper() 767 if(Arrays.equals(pub1.getEncoded(), pub2.getEncoded())) { in testGenerate_RSA_Different_KeysHelper()
|
D | TestUtils.java | 208 byte[] encodedForm = key.getEncoded(); in assertKeyMaterialExportable() 217 assertEquals(null, key.getEncoded()); in assertKeyMaterialNotExportable()
|
D | KeyStoreTest.java | 341 privateKey.getPrivateKey().getEncoded(), in setPrivateKeyBytes() 367 key.getEncoded(), in setSecretKeyBytes() 1085 keyStore.setKeyEntry(ALIAS_SECRET, getSecretKey().getEncoded(), null); in test_KeyStore_setKeyEntry_array()
|
/cts/hostsidetests/devicepolicy/app/DeviceAndProfileOwner/src/com/android/cts/deviceandprofileowner/ |
D | KeyManagementTest.java | 412 assertThat(keyFromCert.getEncoded()).isEqualTo(leafKey.getEncoded()); in validateSignatureChain() 685 assertThat(fetchedCerts[0].getEncoded()).isEqualTo(certs.get(0).getEncoded()); in testCanSetKeyPairCert() 711 assertThat(fetchedCerts[i].getEncoded()).isEqualTo(chain.get(i).getEncoded()); in testCanSetKeyPairCertChain()
|
D | CaCertManagementTest.java | 136 boolean installed = mDevicePolicyManager.hasCaCertInstalled(mAdmin, caCert.getEncoded()); in isCaCertInstalledAndTrusted()
|
/cts/tests/tests/telephony/current/src/android/telephony/cts/ |
D | ImsiEncryptionInfoTest.java | 61 byte[] b = publicKey.getEncoded(); in testParcel()
|
/cts/tests/tests/net/src/org/apache/http/conn/ssl/cts/ |
D | AbstractVerifierTest.java | 189 public byte[] getEncoded() throws CertificateEncodingException { in createStubCertificate() method in AbstractVerifierTest
|
/cts/tests/tests/net/src/android/net/http/cts/ |
D | SslCertificateTest.java | 145 public byte[] getEncoded() throws CertificateEncodingException { in getEncoded() method in SslCertificateTest.MockX509Certificate
|
/cts/tests/tests/security/src/android/security/cts/ |
D | CertificateTest.java | 195 messageDigest.update(certificate.getEncoded()); in getFingerprint()
|