IT. Expert System.

Android Reference

SealedObjectTest


org.apache.harmony.crypto.tests.javax.crypto

Class SealedObjectTest

  • java.lang.Object
    • TestCase
      • org.apache.harmony.crypto.tests.javax.crypto.SealedObjectTest


  • public class SealedObjectTest
    extends TestCase
    • Constructor Detail

      • SealedObjectTest

        public SealedObjectTest()
    • Method Detail

      • testReadObject

        public void testReadObject()
                            throws Exception
        readObject(ObjectInputStream s) method testing. Tests if the serialization/deserialization works correctly: object is serialized, deserialized, the content od deserialized object equals to the content of initial object.
        Throws:
        Exception
      • testSealedObject1

        public void testSealedObject1()
                               throws Exception
        SealedObject(Serializable object, Cipher c) method testing. Tests if the NullPointerException is thrown in the case of null cipher.
        Throws:
        Exception
      • testSealedObject2

        public void testSealedObject2()
                               throws Exception
        SealedObject(SealedObject so) method testing. Tests if the NullPointerException is thrown in the case of null SealedObject.
        Throws:
        Exception
      • testGetAlgorithm

        public void testGetAlgorithm()
                              throws Exception
        getAlgorithm() method testing. Tests if the returned value equals to the corresponding value of Cipher object.
        Throws:
        Exception
      • testGetObject1

        public void testGetObject1()
                            throws Exception
        getObject(Key key) method testing. Tests if the object sealed with encryption algorithm and specified parameters can be retrieved by specifying the cryptographic key.
        Throws:
        Exception
      • testGetObject2

        public void testGetObject2()
                            throws Exception
        getObject(Cipher c) method testing. Tests if the proper exception is thrown in the case of incorrect input parameters and if the object sealed with encryption algorithm and specified parameters can be retrieved by specifying the initialized Cipher object.
        Throws:
        Exception
      • testGetObject3

        public void testGetObject3()
                            throws Exception
        getObject(Key key, String provider) method testing. Tests if the proper exception is thrown in the case of incorrect input parameters and if the object sealed with encryption algorithm can be retrieved by specifying the cryptographic key and provider name.
        Throws:
        Exception
      • testDeserialization

        public void testDeserialization()
                                 throws Exception
        Throws:
        Exception


Content

Android Reference

Java basics

Java Enterprise Edition (EE)

Java Standard Edition (SE)

SQL

HTML

PHP

CSS

Java Script

MYSQL

JQUERY

VBS

REGEX

C

C++

C#

Design patterns

RFC (standard status)

RFC (proposed standard status)

RFC (draft standard status)

RFC (informational status)

RFC (experimental status)

RFC (best current practice status)

RFC (historic status)

RFC (unknown status)

IT dictionary

License.
All information of this service is derived from the free sources and is provided solely in the form of quotations. This service provides information and interfaces solely for the familiarization (not ownership) and under the "as is" condition.
Copyright 2016 © ELTASK.COM. All rights reserved.
Site is optimized for mobile devices.
Downloads: 151 / 158795964. Delta: 0.03521 с