org.bouncycastle.asn1.test

Class EncryptedPrivateKeyInfoTest

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.

Method Summary

String
getName()
static void
main(String[] args)
TestResult
perform()

Method Details

getName

public String getName()
Specified by:
getName in interface Test


main

public static void main(String[] args)


perform

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