/libcore/luni/src/test/java/tests/security/cert/ |
D | X509CRLEntryTest.java | 65 public byte[] getEncoded() throws CRLException { in getEncoded() method in X509CRLEntryTest.TBTCRLEntry 88 public byte[] getEncoded() throws CRLException { in X509CRLEntryTest() 103 assertNull(tbt_crlentry.getEncoded()); in testX509CRLEntry() 119 public byte[] getEncoded() { in testEquals() 125 public byte[] getEncoded() { in testEquals() 131 public byte[] getEncoded() { in testEquals() 169 public byte[] getEncoded() { in testHashCode() 188 public byte[] getEncoded() { in testAbstractMethods() 194 tbt.getEncoded(); in testAbstractMethods()
|
D | X509CRLTest.java | 106 public byte[] getEncoded() { in getEncoded() method in X509CRLTest.TBTCRL 176 public byte[] getEncoded() { in setUp() 198 public byte[] getEncoded() { in testEquals() 204 public byte[] getEncoded() { in testEquals() 210 public byte[] getEncoded() { in testEquals() 246 public byte[] getEncoded() { in testHashCode() 260 public byte[] getEncoded() { in testGetIssuerX500Principal() 295 public byte[] getEncoded() { in testAbstractMethods() 301 crl.getEncoded(); in testAbstractMethods()
|
D | CertificateTest.java | 64 assertTrue(Arrays.equals(testEncoding, c1.getEncoded())); in testCertificate() 67 c1.getPublicKey().getEncoded())); in testCertificate() 84 .getEncoded()).hashCode()); in testHashCode() 159 assertNotNull(c1.getEncoded()); in testGetEncoded() 160 assertTrue(Arrays.equals(testEncoding,c1.getEncoded())); in testGetEncoded() 163 byte[] expectedEncoding = cert.getEncoded(); in testGetEncoded() 165 byte[] actualEncoding = actual.getEncoded(); in testGetEncoded() 272 public byte[] getEncoded() { in getEncoded() method in CertificateTest.MyModifiablePublicKey 276 return key.getEncoded(); in getEncoded() 396 changedEncoding.setEncoding(new byte[cert.getEncoded().length - 1]); in testVerifyPublicKey2()
|
D | PolicyQualifierInfoTest.java | 129 byte[] encodingRet = i.getEncoded(); in testPolicyQualifierInfo04() 135 byte[] encodingRet1 = i.getEncoded(); in testPolicyQualifierInfo04() 154 byte[] encodingRet = i.getEncoded(); in testGetEncoded01() 172 byte[] encodingRet = i.getEncoded(); in testGetEncoded02() 176 byte[] encodingRet1 = i.getEncoded(); in testGetEncoded02()
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/javax/security/cert/ |
D | CertificateTest.java | 45 public byte[] getEncoded() throws CertificateEncodingException { in getEncoded() method in CertificateTest.TBTCert 86 public byte[] getEncoded() { in testEquals() 92 public byte[] getEncoded() { in testEquals() 98 public byte[] getEncoded() { in testEquals() 104 public byte[] getEncoded() { in testEquals() 142 public byte[] getEncoded() { in testHashCode() 147 public byte[] getEncoded() { in testHashCode()
|
D | X509CertificateTest.java | 139 this.tbt_cert = X509Certificate.getInstance(cert.getEncoded()); in setUp() 144 this.javaxCert = X509Certificate.getInstance(javaCert.getEncoded()); in setUp() 152 .getEncoded()); in setUp() 189 .getEncoded()); in testGetInstance1() 224 c = X509Certificate.getInstance(cert.getEncoded()); in testGetInstance2() 236 assertTrue(Arrays.equals(c.getEncoded(),cert.getEncoded() )); in testGetInstance2() 536 public byte[] getEncoded() throws CertificateEncodingException { in getEncoded() method in X509CertificateTest.MyCertificate 596 public byte[] getEncoded() { in getEncoded() method in X509CertificateTest.MyModifiablePublicKey 600 return key.getEncoded(); in getEncoded() 632 assertTrue(Arrays.equals(cert.getEncoded(), tbt_cert.getEncoded())); in testGetEncoded() [all …]
|
/libcore/luni/src/test/java/tests/security/spec/ |
D | EncodedKeySpecTest.java | 46 eks.getEncoded())); in testEncodedKeySpec() 67 byte[] ek = meks.getEncoded(); in testGetEncoded() 95 byte[] ek = meks.getEncoded(); in testIsStatePreserved1() 111 byte[] ek = meks.getEncoded(); in testIsStatePreserved2() 115 byte[] ek1 = meks.getEncoded(); in testIsStatePreserved2()
|
D | PKCS8EncodedKeySpecTest.java | 69 byte[] ek = meks.getEncoded(); in testGetEncoded() 103 byte[] ek = meks.getEncoded(); in testIsStatePreserved1() 123 byte[] ek = meks.getEncoded(); in testIsStatePreserved2() 129 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()
|
/libcore/luni/src/main/java/javax/security/cert/ |
D | Certificate.java | 64 return Arrays.equals(getEncoded(), object.getEncoded()); in equals() 81 byte[] array = getEncoded(); in hashCode() 97 public abstract byte[] getEncoded() in getEncoded() method in Certificate
|
/libcore/luni/src/main/java/java/security/cert/ |
D | X509CRL.java | 68 return Arrays.equals(getEncoded(), obj.getEncoded()); in equals() 82 byte[] array = getEncoded(); in hashCode() 99 public abstract byte[] getEncoded() throws CRLException; in getEncoded() method in X509CRL 177 .generateCRL(new ByteArrayInputStream(getEncoded())); in getIssuerX500Principal()
|
D | X509CRLEntry.java | 57 return Arrays.equals(getEncoded(), obj.getEncoded()); in equals() 71 byte[] array = getEncoded(); in hashCode() 87 public abstract byte[] getEncoded() throws CRLException; in getEncoded() method in X509CRLEntry
|
D | Certificate.java | 83 return Arrays.equals(this.getEncoded(), in equals() 84 ((Certificate)other).getEncoded()); in equals() 102 byte[] encoded = getEncoded(); in hashCode() 120 public abstract byte[] getEncoded() throws CertificateEncodingException; in getEncoded() method in Certificate 197 return new CertificateRep(getType(), getEncoded()); in writeReplace()
|
D | CertPath.java | 144 public abstract byte[] getEncoded() in getEncoded() method in CertPath 154 public abstract byte[] getEncoded(String encoding) throws CertificateEncodingException; in getEncoded() method in CertPath 173 return new CertPathRep(getType(), getEncoded()); in writeReplace()
|
/libcore/luni/src/test/java/org/apache/harmony/crypto/tests/javax/crypto/func/ |
D | KeyGeneratorThread.java | 41 byte[] array1 = k.getEncoded(); in test() 43 byte[] array2 = k.getEncoded(); in test() 57 array1 = k.getEncoded(); in test() 61 array2 = k.getEncoded(); in test()
|
D | CipherWrapThread.java | 45 checkEncodedData(key.getEncoded(), decrypted.getEncoded()); in crypt()
|
/libcore/luni/src/main/java/java/security/spec/ |
D | X509EncodedKeySpec.java | 42 public byte[] getEncoded() { in getEncoded() method in X509EncodedKeySpec 44 return super.getEncoded(); in getEncoded()
|
D | PKCS8EncodedKeySpec.java | 43 public byte[] getEncoded() { in getEncoded() method in PKCS8EncodedKeySpec 45 return super.getEncoded(); in getEncoded()
|
/libcore/luni/src/main/java/org/apache/harmony/security/pkcs7/ |
D | ContentInfo.java | 78 public byte[] getEncoded() { in getEncoded() method in ContentInfo 139 in.getEncoded()); 142 in.getEncoded()); 148 in.getEncoded()); 150 return new ContentInfo((int[]) values[0], values[1], in.getEncoded());
|
D | AuthenticatedAttributes.java | 51 public byte[] getEncoded() { in getEncoded() method in AuthenticatedAttributes 61 return new AuthenticatedAttributes(in.getEncoded(),
|
/libcore/support/src/test/java/org/apache/harmony/security/tests/support/ |
D | KeyStoreTestSupport.java | 77 public byte[] getEncoded() { in getEncoded() method in KeyStoreTestSupport.SKey 110 public byte[] getEncoded() { in getEncoded() method in KeyStoreTestSupport.MyPrivateKey 129 public byte[] getEncoded() throws CertificateEncodingException { in getEncoded() method in KeyStoreTestSupport.MCertificate 154 public byte[] getEncoded() { in getPublicKey() method in KeyStoreTestSupport.MCertificate
|
/libcore/luni/src/test/java/org/apache/harmony/security/tests/java/security/ |
D | KeyFactory2Test.java | 126 Arrays.toString(keys.getPrivate().getEncoded()), in test_generatePrivateLjava_security_spec_KeySpec() 127 Arrays.toString(privateKey.getEncoded())); in test_generatePrivateLjava_security_spec_KeySpec() 128 … privateKey = fact.generatePrivate(new PKCS8EncodedKeySpec(keys.getPrivate().getEncoded())); in test_generatePrivateLjava_security_spec_KeySpec() 130 Arrays.toString(keys.getPrivate().getEncoded()), in test_generatePrivateLjava_security_spec_KeySpec() 131 Arrays.toString(privateKey.getEncoded())); in test_generatePrivateLjava_security_spec_KeySpec() 158 Arrays.toString(keys.getPublic().getEncoded()), in test_generatePublicLjava_security_spec_KeySpec() 159 Arrays.toString(publicKey.getEncoded())); in test_generatePublicLjava_security_spec_KeySpec() 253 Arrays.toString(keys.getPrivate().getEncoded()), in test_getKeySpecLjava_security_KeyLjava_lang_Class() 254 Arrays.toString(privateKey.getEncoded())); in test_getKeySpecLjava_security_KeyLjava_lang_Class() 259 Arrays.toString(keys.getPublic().getEncoded()), in test_getKeySpecLjava_security_KeyLjava_lang_Class() [all …]
|
/libcore/luni/src/test/java/org/apache/harmony/crypto/tests/javax/crypto/spec/ |
D | SecretKeySpecTest.java | 72 key[0] == ks.getEncoded()[0]); in testSecretKeySpec1() 128 key[offset] == ks.getEncoded()[0]); in testSecretKeySpec2() 191 byte[] result = ks.getEncoded(); in testGetEncoded() 199 result[0] == ks.getEncoded()[0]); in testGetEncoded() 205 assertEquals("Key length is incorrect", len, sks.getEncoded().length); in testGetEncoded()
|
/libcore/luni/src/main/java/org/apache/harmony/security/x509/ |
D | GeneralName.java | 301 return Arrays.equals(getEncoded(), gname.getEncoded()); in equals() 320 return Arrays.hashCode(getEncoded()); in hashCode() 434 return Arrays.equals(getEncoded(), gname.getEncoded()); in isAcceptable() 463 result.add(((OtherName) name).getEncoded()); in getAsList() 474 result.add(((ORAddress) name).getEncoded()); in getAsList() 480 result.add(((EDIPartyName) name).getEncoded()); in getAsList() 496 + Array.getBytesAsString(getEncoded()); in toString() 512 + Array.getBytesAsString(getEncoded()); in toString() 520 + Array.getBytesAsString(getEncoded()); in toString() 534 public byte[] getEncoded() { in getEncoded() method in GeneralName [all …]
|
D | ExtensionValue.java | 39 public byte[] getEncoded() { in getEncoded() method in ExtensionValue 46 encoding = getEncoded(); in dumpValue()
|