PKCS5Test (Bouncy Castle Library 1.52 API Specification)

org.bouncycastle.crypto.test

## Class PKCS5Test

- java.lang.Object
- - org.bouncycastle.util.test.SimpleTest
  - - org.bouncycastle.crypto.test.PKCS5Test

- All Implemented Interfaces:
    Test

      public class PKCS5Test
      extends SimpleTest

  A test class for PKCS5 PBES2 with PBKDF2 (PKCS5 v2.0) using test vectors provider at RSA's PKCS5 Page
  The vectors are Base 64 encoded and encrypted using the password "password" (without quotes). They should all yield the same PrivateKeyInfo object.

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `PKCS5Test()`

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `java.lang.String` | `getName()`
    `static void` | `main(java.lang.String[] args)`
    `void` | `performTest()`

    - ### Methods inherited from class org.bouncycastle.util.test.SimpleTest

      `areEqual, fail, fail, fail, perform, runTest, runTest`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### PKCS5Test

          public PKCS5Test()

  - ### Method Detail

    - #### getName

          public java.lang.String getName()

      Specified by:
        `getName` in interface `Test`
      Specified by:
        `getName` in class `SimpleTest`

    - #### performTest

          public void performTest()
                           throws java.lang.Exception

      Specified by:
        `performTest` in class `SimpleTest`
      Throws:
        `java.lang.Exception`

    - #### main

          public static void main(java.lang.String[] args)