Lines Matching defs:object

55         public Mock_SealedObject(Serializable object, Cipher c)
57 super(object, c);
68 * serialization/deserialization works correctly: object is serialized,
69 * deserialized, the content od deserialized object equals to the content of
70 * initial object.
89 assertEquals("The secret content of deserialized object "
90 + "should be equal to the secret content of initial object",
93 + "deserialized object should be equal to the value returned "
94 + "by getAlgorithm() method of initial object", so
99 * SealedObject(Serializable object, Cipher c) method testing. Tests if the
161 assertEquals("The secret content of the object should equals "
162 + "to the secret content of initial object.", secret, so2
164 assertEquals("The algorithm which was used to seal the object "
166 + "initial object", so1.getAlgorithm(), so2.getAlgorithm());
171 * corresponding value of Cipher object.
194 * getObject(Key key) method testing. Tests if the object sealed with
217 assertEquals("The returned object does not equals to the "
218 + "original object.", secret, so.getObject(key));
220 assertTrue("The encodedParams field of SealedObject object "
236 * thrown in the case of incorrect input parameters and if the object sealed
238 * specifying the initialized Cipher object.
268 assertEquals("The returned object does not equals to the "
269 + "original object.", secret, so.getObject(cipher));
282 * object sealed with encryption algorithm can be retrieved by specifying
319 assertEquals("The returned object does not equals to the "
320 + "original object.", secret, so.getObject(key, provider));