Class RSATest
- java.lang.Object
-
- org.bouncycastle.util.test.SimpleTest
-
- org.bouncycastle.jce.provider.test.RSATest
-
- All Implemented Interfaces:
Test
public class RSATest extends SimpleTest
-
-
Constructor Summary
Constructors Constructor Description RSATest()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetName()static voidmain(java.lang.String[] args)voidoaepDigestCheck(java.lang.String digest, ASN1ObjectIdentifier oid, java.security.PublicKey pubKey, java.security.PrivateKey privKey, java.security.SecureRandom rand, byte[] expected)voidperformTest()voidtestGetExceptionsPKCS1()voidzeroMessageTest()
-
-
-
Method Detail
-
performTest
public void performTest() throws java.lang.Exception- Specified by:
performTestin classSimpleTest- Throws:
java.lang.Exception
-
oaepDigestCheck
public void oaepDigestCheck(java.lang.String digest, ASN1ObjectIdentifier oid, java.security.PublicKey pubKey, java.security.PrivateKey privKey, java.security.SecureRandom rand, byte[] expected) throws java.lang.Exception- Throws:
java.lang.Exception
-
testGetExceptionsPKCS1
public void testGetExceptionsPKCS1() throws java.lang.Exception- Throws:
java.lang.Exception
-
zeroMessageTest
public void zeroMessageTest() throws java.lang.Exception- Throws:
java.lang.Exception
-
getName
public java.lang.String getName()
- Specified by:
getNamein interfaceTest- Specified by:
getNamein classSimpleTest
-
main
public static void main(java.lang.String[] args)
-
-