Home
last modified time | relevance | path

Searched refs:so (Results 1 – 9 of 9) sorted by relevance

/libcore/luni/src/test/java/org/apache/harmony/crypto/tests/javax/crypto/
DSealedObjectTest.java72 SealedObject so = new SealedObject(secret, new NullCipher()); in testReadObject() local
75 oos.writeObject(so); in testReadObject()
86 + "by getAlgorithm() method of initial object", so in testReadObject()
112 SealedObject so = new SealedObject(secret, cipher); in testSealedObject1() local
162 SealedObject so = new SealedObject(secret, cipher); in testGetAlgorithm() local
165 + "in cipher.", algorithm, so.getAlgorithm()); in testGetAlgorithm()
177 SealedObject so = new SealedObject(secret, cipher); in testGetAlgorithmAfterSerialization() local
180 + "in cipher.", algorithm, so.getAlgorithm()); in testGetAlgorithmAfterSerialization()
184 oos.writeObject(so); in testGetAlgorithmAfterSerialization()
193 assertEquals(so.getAlgorithm(), readSo.getAlgorithm()); in testGetAlgorithmAfterSerialization()
[all …]
/libcore/luni/src/test/java/org/apache/harmony/security/tests/java/security/
DSignedObjectTest.java62 SignedObject so = new SignedObject(prop, tkp.getPrivate(), sig); in testSignedObject() local
64 assertEquals("SHA1withDSA", so.getAlgorithm()); in testSignedObject()
65 assertEquals(prop, so.getObject()); in testSignedObject()
67 assertTrue("verify() failed", so.verify(tkp.getPublic(), sig)); in testSignedObject()
69 assertNotNull("signature is null", so.getSignature()); in testSignedObject()
/libcore/luni/src/main/java/javax/crypto/
DSealedObject.java130 protected SealedObject(SealedObject so) { in SealedObject() argument
131 if (so == null) { in SealedObject()
136 this.encryptedContent = so.encryptedContent != null ? so.encryptedContent.clone() : null; in SealedObject()
137 this.encodedParams = so.encodedParams != null ? so.encodedParams.clone() : null; in SealedObject()
138 this.sealAlg = so.sealAlg; in SealedObject()
139 this.paramsAlg = so.paramsAlg; in SealedObject()
/libcore/luni/
Dbouncycastle-license.txt9 permit persons to whom the Software is furnished to do so, subject to
Dunicode-license.txt28 Software are furnished to do so, provided that (a) the above copyright notice(s)
/libcore/
DNOTICE44 to whom the Software is furnished to do so, provided that the above
79 permit persons to whom the Software is furnished to do so, subject to
/libcore/expectations/
Dbrokentests.txt24 need to check that they're secure, so they all fail when we refuse to install
Dknownfailures.txt1460 … the test app. Android does not provide SPDY/HTTP_2 connections by default so have been suppressed…
/libcore/support/src/test/java/tests/resources/x509/
Ddefault.cnf108 # so this is commented out by default to leave a V1 CRL.