IT. Expert System.

Android Reference

RC2ParameterSpecTest


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

Class RC2ParameterSpecTest

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


  • public class RC2ParameterSpecTest
    extends TestCase
    • Constructor Detail

      • RC2ParameterSpecTest

        public RC2ParameterSpecTest()
    • Method Detail

      • testRC2ParameterSpec1

        public void testRC2ParameterSpec1()
        RC2ParameterSpec(int effectiveKeyBits, byte[] iv) method testing. Tests that IllegalArgumentException is thrown in the case of inappropriate constructor parameters and that input iv array is copied to protect against subsequent modification.
      • testRC2ParameterSpec2

        public void testRC2ParameterSpec2()
        RC2ParameterSpec(int effectiveKeyBits, byte[] iv, int offset) method testing. Tests that IllegalArgumentException is thrown in the case of inappropriate constructor parameters and that input iv array is copied to protect against subsequent modification.
      • testGetEffectiveKeyBits

        public void testGetEffectiveKeyBits()
        getEffectiveKeyBits() method testing. Tests that returned value is equal to the value specified in the constructor.
      • testGetIV

        public void testGetIV()
        getIV() method testing. Tests that returned array is equal to the array specified in the constructor. Checks that modification of returned array does not affect the internal array. Also it checks that getIV() method returns null if iv is not specified.
      • testEquals

        public void testEquals()
        equals(Object obj) method testing. Tests the correctness of equal operation: it should be reflexive, symmetric, transitive, consistent and should be false on null object.
      • testHashCode

        public void testHashCode()
        hashCode() method testing. Tests that for equal objects hash codes are equal.
      • test_constructorI

        public void test_constructorI()
      • 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: 1971 / 248362587. Delta: 0.02219 с