< prev index next >
test/jdk/com/sun/crypto/provider/Cipher/RSA/TestOAEPWithParams.java
Print this page
*** 1,7 ****
/*
! * Copyright (c) 2003, 2012, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundation.
--- 1,7 ----
/*
! * Copyright (c) 2003, 2018, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundation.
*** 45,58 ****
private static PublicKey publicKey;
private static Random random = new Random();
private static String MD[] = {
! "MD5", "SHA1", "SHA-224", "SHA-256"
};
private static int DATA_LENGTH[] = {
! 62, 54, 34, 30
};
public static void main(String[] args) throws Exception {
long start = System.currentTimeMillis();
cp = Security.getProvider("SunJCE");
System.out.println("Testing provider " + cp.getName() + "...");
--- 45,58 ----
private static PublicKey publicKey;
private static Random random = new Random();
private static String MD[] = {
! "MD5", "SHA1", "SHA-224", "SHA-256", "SHA-512/224", "SHA-512/256"
};
private static int DATA_LENGTH[] = {
! 62, 54, 34, 30, 34, 30
};
public static void main(String[] args) throws Exception {
long start = System.currentTimeMillis();
cp = Security.getProvider("SunJCE");
System.out.println("Testing provider " + cp.getName() + "...");
< prev index next >