IT. Expert System.

Android Reference

PBEKeySpecTest


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

Class PBEKeySpecTest

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


  • public class PBEKeySpecTest
    extends TestCase
    • Constructor Detail

      • PBEKeySpecTest

        public PBEKeySpecTest()
    • Method Detail

      • testPBEKeySpec1

        public void testPBEKeySpec1()
        PBEKeySpec(char[] password) method testing. Tests the behavior of the method in the case of null input char array and tests that input array is copied during the object initialization.
      • testPBEKeySpec2

        public void testPBEKeySpec2()
        PBEKeySpec(char[] password, byte[] salt, int iterationCount, int keyLength) method testing. Tests the behavior of the method in the case of inappropriate parameters and checks that array objects specified as a parameters are copied during the object initialization.
      • testPBEKeySpec3

        public void testPBEKeySpec3()
        PBEKeySpec(char[] password, byte[] salt, int iterationCount) method testing. Tests the behavior of the method in the case of inappropriate parameters and checks that array objects specified as a parameters are copied during the object initialization.
      • testClearPassword

        public void testClearPassword()
        clearPassword() method testing. Tests that internal copy of password is cleared after the method call.
      • testGetPassword

        public void testGetPassword()
        getPassword() method testing. Tests that returned password is equal to the password specified in the constructor and that the change of returned array does not cause the change of internal array.
      • testGetSalt

        public void testGetSalt()
        getSalt() method testing. Tests that returned salt is equal to the salt specified in the constructor and that the change of returned array does not cause the change of internal array. Also it checks that the method returns null if salt is not specified.
      • testGetIterationCount

        public void testGetIterationCount()
        getIterationCount() method testing. Tests that returned value is equal to the value specified in the constructor. Also it checks that the method returns 0 if iterationCount is not specified.
      • testGetKeyLength

        public void testGetKeyLength()
        getKeyLength() method testing.
      • suite

        public static Test suite()


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: 1913 / . Delta: 0.00842 с