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.String
getName()
static void
main(java.lang.String[] args)
void
oaepDigestCheck(java.lang.String digest, ASN1ObjectIdentifier oid, java.security.PublicKey pubKey, java.security.PrivateKey privKey, java.security.SecureRandom rand, byte[] expected)
void
performTest()
void
testGetExceptionsPKCS1()
void
zeroMessageTest()
-
-
-
Method Detail
-
performTest
public void performTest() throws java.lang.Exception
- Specified by:
performTest
in 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:
getName
in interfaceTest
- Specified by:
getName
in classSimpleTest
-
main
public static void main(java.lang.String[] args)
-
-