equal
deleted
inserted
replaced
1 /* |
1 /* |
2 * Copyright (c) 2005, 2006, Oracle and/or its affiliates. All rights reserved. |
2 * Copyright (c) 2005, 2013, Oracle and/or its affiliates. All rights reserved. |
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
4 * |
4 * |
5 * This code is free software; you can redistribute it and/or modify it |
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 |
6 * under the terms of the GNU General Public License version 2 only, as |
7 * published by the Free Software Foundation. Oracle designates this |
7 * published by the Free Software Foundation. Oracle designates this |
38 public final class SunPCSC extends Provider { |
38 public final class SunPCSC extends Provider { |
39 |
39 |
40 private static final long serialVersionUID = 6168388284028876579L; |
40 private static final long serialVersionUID = 6168388284028876579L; |
41 |
41 |
42 public SunPCSC() { |
42 public SunPCSC() { |
43 super("SunPCSC", 1.7d, "Sun PC/SC provider"); |
43 super("SunPCSC", 1.8d, "Sun PC/SC provider"); |
44 AccessController.doPrivileged(new PrivilegedAction<Void>() { |
44 AccessController.doPrivileged(new PrivilegedAction<Void>() { |
45 public Void run() { |
45 public Void run() { |
46 put("TerminalFactory.PC/SC", "sun.security.smartcardio.SunPCSC$Factory"); |
46 put("TerminalFactory.PC/SC", "sun.security.smartcardio.SunPCSC$Factory"); |
47 return null; |
47 return null; |
48 } |
48 } |