/external/apache-harmony/security/src/test/api/java/org/apache/harmony/security/tests/javax/security/cert/ |
D | CertificateTest.java | 47 public byte[] getEncoded() in getEncoded() method in CertificateTest.TBTCert 80 public byte[] getEncoded() { in testEquals() 86 public byte[] getEncoded() { in testEquals() 92 public byte[] getEncoded() { in testEquals() 98 public byte[] getEncoded() { in testEquals() 134 public byte[] getEncoded() { in testHashCode() 139 public byte[] getEncoded() { in testHashCode()
|
/external/apache-harmony/security/src/test/api/java/org/apache/harmony/security/tests/java/security/cert/ |
D | X509CRLEntryTest.java | 61 public byte[] getEncoded() throws CRLException { in getEncoded() method in X509CRLEntryTest.TBTCRLEntry 84 public byte[] getEncoded() throws CRLException { in X509CRLEntryTest() 97 public byte[] getEncoded() { in testEquals() 103 public byte[] getEncoded() { in testEquals() 109 public byte[] getEncoded() { in testEquals() 147 public byte[] getEncoded() { in testHashCode()
|
D | X509CRLTest.java | 82 public byte[] getEncoded() { in getEncoded() method in X509CRLTest.TBTCRL 146 public byte[] getEncoded() { in X509CRLTest() 168 public byte[] getEncoded() { in testEquals() 174 public byte[] getEncoded() { in testEquals() 180 public byte[] getEncoded() { in testEquals() 216 public byte[] getEncoded() { in testHashCode() 230 public byte[] getEncoded() { in testGetIssuerX500Principal()
|
D | PolicyQualifierInfoTest.java | 135 byte[] encodingRet = i.getEncoded(); in testPolicyQualifierInfo04() 141 byte[] encodingRet1 = i.getEncoded(); in testPolicyQualifierInfo04() 160 byte[] encodingRet = i.getEncoded(); in testGetEncoded01() 178 byte[] encodingRet = i.getEncoded(); in testGetEncoded02() 182 byte[] encodingRet1 = i.getEncoded(); in testGetEncoded02()
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jce/provider/ |
D | PrincipalUtils.java | 17 return X500Name.getInstance(cert.getSubjectX500Principal().getEncoded()); in getSubjectPrincipal() 22 return X500Name.getInstance(crl.getIssuerX500Principal().getEncoded()); in getIssuerPrincipal() 27 return X500Name.getInstance(cert.getIssuerX500Principal().getEncoded()); in getIssuerPrincipal() 32 return X500Name.getInstance(trustAnchor.getCA().getEncoded()); in getCA() 50 …nce(((X500Principal)((X509AttributeCertificate)cert).getIssuer().getPrincipals()[0]).getEncoded()); in getEncodedIssuerPrincipal()
|
/external/apache-harmony/security/src/test/impl/java/org/apache/harmony/security/tests/pkcs10/ |
D | CertificationRequestInfoTest.java | 61 assertTrue(Arrays.equals(spki.getEncoded(), certReqInfo in testCertificationRequestInfo() 62 .getSubjectPublicKeyInfo().getEncoded())); in testCertificationRequestInfo() 66 byte[] encoding = certReqInfo.getEncoded(); in testCertificationRequestInfo() 76 .getEncoded(), decoded.getSubjectPublicKeyInfo().getEncoded())); in testCertificationRequestInfo()
|
/external/apache-harmony/security/src/test/api/java/org/apache/harmony/security/tests/java/security/spec/ |
D | EncodedKeySpecTest.java | 55 byte[] ek = meks.getEncoded(); in testGetEncoded() 83 byte[] ek = meks.getEncoded(); in testIsStatePreserved1() 100 byte[] ek = meks.getEncoded(); in testIsStatePreserved2() 104 byte[] ek1 = meks.getEncoded(); in testIsStatePreserved2()
|
D | X509EncodedKeySpecTest.java | 70 byte[] ek = eks.getEncoded(); in testGetEncoded() 104 byte[] ek = meks.getEncoded(); in testIsStatePreserved1() 124 byte[] ek = meks.getEncoded(); in testIsStatePreserved2() 130 byte[] ek1 = meks.getEncoded(); in testIsStatePreserved2()
|
D | PKCS8EncodedKeySpecTest.java | 70 byte[] ek = meks.getEncoded(); in testGetEncoded() 104 byte[] ek = meks.getEncoded(); in testIsStatePreserved1() 124 byte[] ek = meks.getEncoded(); in testIsStatePreserved2() 130 byte[] ek1 = meks.getEncoded(); in testIsStatePreserved2()
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/util/ |
D | JcaJceUtils.java | 43 asn1Params = ASN1Primitive.fromByteArray(params.getEncoded("ASN.1")); in extractParameters() 47 asn1Params = ASN1Primitive.fromByteArray(params.getEncoded()); in extractParameters() 66 params.init(sParams.toASN1Primitive().getEncoded(), "ASN.1"); in loadParameters() 70 params.init(sParams.toASN1Primitive().getEncoded()); in loadParameters()
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/asymmetric/util/ |
D | BaseKeyFactorySpi.java | 27 … return generatePrivate(PrivateKeyInfo.getInstance(((PKCS8EncodedKeySpec)keySpec).getEncoded())); in engineGeneratePrivate() 48 …eturn generatePublic(SubjectPublicKeyInfo.getInstance(((X509EncodedKeySpec)keySpec).getEncoded())); in engineGeneratePublic() 68 return new PKCS8EncodedKeySpec(key.getEncoded()); in engineGetKeySpec() 72 return new X509EncodedKeySpec(key.getEncoded()); in engineGetKeySpec()
|
/external/apache-harmony/security/src/test/api/java/org/apache/harmony/security/tests/java/security/serialization/ |
D | KeyPairTest.java | 83 assertTrue("PublicKey encoded", Arrays.equals(key1.getEncoded(), 84 key2.getEncoded())); 94 assertTrue("PrivateKey encoded", Arrays.equals(key1.getEncoded(), 95 key2.getEncoded()));
|
/external/robolectric/src/main/java/android/net/ |
D | Uri__FromAndroid.java | 497 return getSsp().getEncoded(); in getEncodedSchemeSpecificPart() 527 return getAuthorityPart().getEncoded(); in getEncodedAuthority() 547 return getPathPart().getEncoded(); in getEncodedPath() 587 return getQueryPart().getEncoded(); in getEncodedQuery() 624 return getFragmentPart().getEncoded(); in getEncodedFragment() 820 return ssp.getEncoded(); in getEncodedSchemeSpecificPart() 856 return fragment.getEncoded(); in getEncodedFragment() 898 sb.append('#').append(fragment.getEncoded()); in toString() 1000 return getUserInfoPart().getEncoded(); in getEncodedUserInfo() 1142 return getSsp().getEncoded(); in getEncodedSchemeSpecificPart() [all …]
|
/external/conscrypt/src/main/java/org/conscrypt/ |
D | OpenSSLKey.java | 93 final byte[] encoded = key.getEncoded(); in fromPrivateKey() 98 return new OpenSSLKey(NativeCrypto.d2i_PKCS8_PRIV_KEY_INFO(key.getEncoded())); in fromPrivateKey() 176 byte[] encoded = key.getEncoded(); in fromKeyMaterial() 219 final byte[] encoded = key.getEncoded(); in fromPublicKey() 225 return new OpenSSLKey(NativeCrypto.d2i_PUBKEY(key.getEncoded())); in fromPublicKey() 248 key = new OpenSSLKey(NativeCrypto.d2i_PUBKEY(x509KeySpec.getEncoded())); in getPublicKey() 281 key = new OpenSSLKey(NativeCrypto.d2i_PKCS8_PRIV_KEY_INFO(pkcs8KeySpec.getEncoded())); in getPrivateKey()
|
D | OpenSSLX509CertPath.java | 92 private byte[] getEncoded(Encoding encoding) throws CertificateEncodingException { in getEncoded() method in OpenSSLX509CertPath 102 certs[j] = OpenSSLX509Certificate.fromX509Der(cert.getEncoded()); in getEncoded() 119 public byte[] getEncoded() throws CertificateEncodingException { in getEncoded() method in OpenSSLX509CertPath 120 return getEncoded(DEFAULT_ENCODING); in getEncoded() 124 public byte[] getEncoded(String encoding) throws CertificateEncodingException { in getEncoded() method in OpenSSLX509CertPath 130 return getEncoded(enc); in getEncoded()
|
D | OpenSSLECKeyFactory.java | 88 final byte[] encoded = key.getEncoded(); in engineGetKeySpec() 99 final byte[] encoded = key.getEncoded(); in engineGetKeySpec() 108 final byte[] encoded = key.getEncoded(); in engineGetKeySpec() 117 final byte[] encoded = key.getEncoded(); in engineGetKeySpec() 163 byte[] encoded = key.getEncoded(); in engineTranslateKey() 173 byte[] encoded = key.getEncoded(); in engineTranslateKey()
|
D | OpenSSLRSAKeyFactory.java | 90 final byte[] encoded = key.getEncoded(); in engineGetKeySpec() 114 final byte[] encoded = key.getEncoded(); in engineGetKeySpec() 130 final byte[] encoded = key.getEncoded(); in engineGetKeySpec() 139 final byte[] encoded = key.getEncoded(); in engineGetKeySpec() 148 final byte[] encoded = key.getEncoded(); in engineGetKeySpec() 208 byte[] encoded = key.getEncoded(); in engineTranslateKey() 218 byte[] encoded = key.getEncoded(); in engineTranslateKey()
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/x509/ |
D | X509V2AttributeCertificate.java | 189 signature.update(cert.getAcinfo().getEncoded()); in verify() 202 public byte[] getEncoded() in getEncoded() method in X509V2AttributeCertificate 205 return cert.getEncoded(); in getEncoded() 220 return ext.getExtnValue().getEncoded(ASN1Encoding.DER); in getExtensionValue() 328 byte[] b1 = this.getEncoded(); in equals() 329 byte[] b2 = other.getEncoded(); in equals() 343 return Arrays.hashCode(this.getEncoded()); in hashCode()
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/asymmetric/x509/ |
D | KeyFactory.java | 29 … PrivateKeyInfo info = PrivateKeyInfo.getInstance(((PKCS8EncodedKeySpec)keySpec).getEncoded()); in engineGeneratePrivate() 56 …tPublicKeyInfo info = SubjectPublicKeyInfo.getInstance(((X509EncodedKeySpec)keySpec).getEncoded()); in engineGeneratePublic() 80 return new PKCS8EncodedKeySpec(key.getEncoded()); in engineGetKeySpec() 84 return new X509EncodedKeySpec(key.getEncoded()); in engineGetKeySpec()
|
/external/apache-harmony/security/src/test/api/java/org/apache/harmony/security/tests/java/security/ |
D | KeyFactory2Test.java | 113 .getEncoded(), privateKey.getEncoded()); in test_generatePrivateLjava_security_spec_KeySpec() 118 .getEncoded())); in test_generatePrivateLjava_security_spec_KeySpec() 153 .getEncoded(), publicKey.getEncoded()); in test_generatePublicLjava_security_spec_KeySpec() 265 .getEncoded(), publicKey.getEncoded()); in test_getKeySpecLjava_security_KeyLjava_lang_Class() 267 .getEncoded(), privateKey.getEncoded()); in test_getKeySpecLjava_security_KeyLjava_lang_Class()
|
D | AlgorithmParametersTest.java | 99 params.getEncoded(); in test_getEncoded() 109 assertSame(enc, params.getEncoded()); in test_getEncoded() 135 params.getEncoded(strFormatParam); in test_getEncodedLjava_lang_String() 145 assertSame(enc, params.getEncoded(strFormatParam)); in test_getEncodedLjava_lang_String() 160 assertSame(enc, params.getEncoded(null)); in test_getEncodedLjava_lang_String() 531 byte[] enc = params.getEncoded(); in testDSAProvider() 533 assertNotNull(params.getEncoded("ASN.1")); in testDSAProvider() 546 .getEncoded())); in testDSAProvider() 552 .getEncoded())); in testDSAProvider()
|
/external/apache-harmony/crypto/src/test/api/java/org/apache/harmony/crypto/tests/javax/crypto/spec/ |
D | SecretKeySpecTest.java | 72 key[0] == ks.getEncoded()[0]); in testSecretKeySpec1() 145 key[offset] == ks.getEncoded()[0]); in testSecretKeySpec2() 192 byte[] result = ks.getEncoded(); in testGetEncoded() 200 result[0] == ks.getEncoded()[0]); in testGetEncoded() 206 assertEquals("Key length is incorrect", len, sks.getEncoded().length); in testGetEncoded()
|
/external/apache-harmony/security/src/test/support/common/java/org/apache/harmony/security/tests/support/ |
D | KeyStoreTestSupport.java | 76 public byte[] getEncoded() { in getEncoded() method in KeyStoreTestSupport.SKey 109 public byte[] getEncoded() { in getEncoded() method in KeyStoreTestSupport.MyPrivateKey 128 public byte[] getEncoded() throws CertificateEncodingException { in getEncoded() method in KeyStoreTestSupport.MCertificate 153 public byte[] getEncoded() { in getPublicKey() method in KeyStoreTestSupport.MCertificate
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/ |
D | DERExternal.java | 126 return this.getEncoded().length; in encodedLength() 138 baos.write(directReference.getEncoded(ASN1Encoding.DER)); in encode() 142 baos.write(indirectReference.getEncoded(ASN1Encoding.DER)); in encode() 146 baos.write(dataValueDescriptor.getEncoded(ASN1Encoding.DER)); in encode() 149 baos.write(obj.getEncoded(ASN1Encoding.DER)); in encode()
|
/external/apache-harmony/x-net/src/test/impl/java.injected/org/apache/harmony/xnet/provider/jsse/ |
D | CertificateMessageTest.java | 93 .getEncoded(), cert.getEncoded())); in testCertificateMessage2() 105 .getEncoded(), message_2.certs[0].getEncoded())); in testCertificateMessage2()
|