Bouncy Castle Cryptography 1.28

org.bouncycastle.asn1.test
Class EncryptedPrivateKeyInfoTest

java.lang.Object
  extended byorg.bouncycastle.asn1.test.EncryptedPrivateKeyInfoTest
All Implemented Interfaces:
Test

public class EncryptedPrivateKeyInfoTest
extends java.lang.Object
implements Test

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)
           
 TestResult perform()
           
 
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

perform

public TestResult perform()
Specified by:
perform in interface Test

main

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

Bouncy Castle Cryptography 1.28