Class RSATest

  • All Implemented Interfaces:
    Test

    public class RSATest
    extends SimpleTest
    • Constructor Detail

      • RSATest

        public RSATest()
    • Method Detail

      • performTest

        public void performTest()
                         throws java.lang.Exception
        Specified by:
        performTest in class SimpleTest
        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
      • main

        public static void main​(java.lang.String[] args)