Login.java (12057:5d60882157c9) | Login.java (14166:7cfc61473f5e) |
---|---|
1/* | 1/* |
2 * Copyright (c) 2003, 2015, Oracle and/or its affiliates. All rights reserved. | 2 * Copyright (c) 2003, 2016, Oracle and/or its affiliates. All rights reserved. |
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 4 * 5 * This code is free software; you can redistribute it and/or modify it 6 * under the terms of the GNU General Public License version 2 only, as 7 * published by the Free Software Foundation. 8 * 9 * This code is distributed in the hope that it will be useful, but WITHOUT 10 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or --- 19 unchanged lines hidden (view full) --- 30import javax.security.auth.login.FailedLoginException; 31 32public class Login extends PKCS11Test { 33 34 private static final String KS_TYPE = "PKCS11"; 35 private static char[] password; 36 37 public static void main(String[] args) throws Exception { | 3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 4 * 5 * This code is free software; you can redistribute it and/or modify it 6 * under the terms of the GNU General Public License version 2 only, as 7 * published by the Free Software Foundation. 8 * 9 * This code is distributed in the hope that it will be useful, but WITHOUT 10 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or --- 19 unchanged lines hidden (view full) --- 30import javax.security.auth.login.FailedLoginException; 31 32public class Login extends PKCS11Test { 33 34 private static final String KS_TYPE = "PKCS11"; 35 private static char[] password; 36 37 public static void main(String[] args) throws Exception { |
38 main(new Login()); | 38 main(new Login(), args); |
39 } 40 41 public void main(Provider p) throws Exception { 42 43 int testnum = 1; 44 45 KeyStore ks = KeyStore.getInstance(KS_TYPE, p); 46 --- 71 unchanged lines hidden --- | 39 } 40 41 public void main(Provider p) throws Exception { 42 43 int testnum = 1; 44 45 KeyStore ks = KeyStore.getInstance(KS_TYPE, p); 46 --- 71 unchanged lines hidden --- |