IT. Expert System.

Android Reference

SecretKeySpecTest


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

Class SecretKeySpecTest

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


  • public class SecretKeySpecTest
    extends TestCase
    • Constructor Detail

      • SecretKeySpecTest

        public SecretKeySpecTest()
    • Method Detail

      • testSecretKeySpec1

        public void testSecretKeySpec1()
        SecretKeySpec(byte[] key, String algorithm) 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.
      • testSecretKeySpec2

        public void testSecretKeySpec2()
        SecretKeySpec(byte[] key, int offset, int len, String algorithm) 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.
      • testSecretKeySpec3

        public void testSecretKeySpec3()
      • testGetAlgorithm

        public void testGetAlgorithm()
        getAlgorithm() method testing. Tests that returned value is equal to the value specified in the constructor.
      • testGetFormat

        public void testGetFormat()
        getFormat() method testing. Tests that returned value is "RAW".
      • testGetEncoded

        public void testGetEncoded()
        getEncoded() 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.
      • testHashCode

        public void testHashCode()
        hashCode() method testing. Tests that for equal objects hash codes are equal.
      • 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.
      • 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: 476 / 248377681. Delta: 0.00546 с