Class RSATest
java.lang.Object
org.bouncycastle.util.test.SimpleTest
org.bouncycastle.jce.provider.test.RSATest
- All Implemented Interfaces:
Test
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetName()
static void
void
oaepDigestCheck
(String digest, ASN1ObjectIdentifier oid, PublicKey pubKey, PrivateKey privKey, SecureRandom rand, byte[] expected) void
void
void
-
Constructor Details
-
RSATest
public RSATest()
-
-
Method Details
-
performTest
- Specified by:
performTest
in classSimpleTest
- Throws:
Exception
-
oaepDigestCheck
public void oaepDigestCheck(String digest, ASN1ObjectIdentifier oid, PublicKey pubKey, PrivateKey privKey, SecureRandom rand, byte[] expected) throws Exception - Throws:
Exception
-
testGetExceptionsPKCS1
- Throws:
Exception
-
zeroMessageTest
- Throws:
Exception
-
getName
- Specified by:
getName
in interfaceTest
- Specified by:
getName
in classSimpleTest
-
main
-