private void testOutputPKCS1Padding(String provider) throws Exception {
        // Type 1 is for signatures (PrivateKey to "encrypt")
        testOutputPKCS1Padding(provider, (byte) 1, getDecryptKey("RSA"), getEncryptKey("RSA"));
        // Type 2 is for enciphering (PublicKey to "encrypt")
        testOutputPKCS1Padding(provider, (byte) 2, getEncryptKey("RSA"), getDecryptKey("RSA"));
    }
Try various .init(...) calls with null parameters to make sure it is
handled.
common/src/test/java/org/conscrypt/javax/crypto/CipherTest.java