Bouncy Castle Cryptography Library 1.37

org.bouncycastle.asn1.test
Class EncryptedPrivateKeyInfoTest

java.lang.Object
  extended by org.bouncycastle.util.test.SimpleTest
      extended by org.bouncycastle.asn1.test.EncryptedPrivateKeyInfoTest
All Implemented Interfaces:
Test

public class EncryptedPrivateKeyInfoTest
extends SimpleTest

Test the reading and writing of EncryptedPrivateKeyInfo objects using the test vectors provided 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
EncryptedPrivateKeyInfoTest()
           
 
Method Summary
 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

EncryptedPrivateKeyInfoTest

public EncryptedPrivateKeyInfoTest()
Method Detail

getName

public java.lang.String getName()
Specified by:
getName in interface Test
Specified by:
getName in class SimpleTest

performTest

public void performTest()
Specified by:
performTest in class SimpleTest

main

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

Bouncy Castle Cryptography Library 1.37