Package org.bouncycastle.asn1.test
Class EncryptedPrivateKeyInfoTest
- java.lang.Object
-
- org.bouncycastle.util.test.SimpleTest
-
- 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
Constructors Constructor Description EncryptedPrivateKeyInfoTest()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getName()
static void
main(java.lang.String[] args)
void
performTest()
-
-
-
Method Detail
-
getName
public java.lang.String getName()
- Specified by:
getName
in interfaceTest
- Specified by:
getName
in classSimpleTest
-
performTest
public void performTest()
- Specified by:
performTest
in classSimpleTest
-
main
public static void main(java.lang.String[] args)
-
-