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 voidvoidoaepDigestCheck(String digest, ASN1ObjectIdentifier oid, PublicKey pubKey, PrivateKey privKey, SecureRandom rand, byte[] expected) voidvoidvoid
-
Constructor Details
-
RSATest
public RSATest()
-
-
Method Details
-
performTest
- Specified by:
performTestin 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:
getNamein interfaceTest- Specified by:
getNamein classSimpleTest
-
main
-