IT. Expert System.

Android Reference

DESKeySpecTest


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

Class DESKeySpecTest

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


  • public class DESKeySpecTest
    extends TestCase
    • Constructor Detail

      • DESKeySpecTest

        public DESKeySpecTest()
    • Method Detail

      • testDESKeySpec

        public void testDESKeySpec()
        Constructors testing. Tests behavior of each of two constructors in the cases of: null array, short array, normal array.
      • testGetKey

        public void testGetKey()
        getKey() method testing. Checks that modification of returned key does not affect the internal key. Also test check an equality of the key with the key specified in the constructor. The object under the test is created by different constructors.
      • testIsParityAdjusted

        public void testIsParityAdjusted()
        isParityAdjusted(byte[] key, offset) method testing. Tests if the method throws appropriate exceptions on incorrect byte array, if it returns false on the key which is not parity adjusted, and if it returns true on parity adjusted key.
      • testIsWeak

        public void testIsWeak()
        isWeak(byte[] key, int offset) method testing. Tests if the method throws appropriate exceptions on incorrect byte array, if it returns true on weak or semi-weak keys, and if it returns false on other keys.
      • 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: 37 / . Delta: 0.02817 с