equal
deleted
inserted
replaced
1 /* |
1 /* |
2 * Copyright (c) 1999, 2017, Oracle and/or its affiliates. All rights reserved. |
2 * Copyright (c) 1999, 2019, 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 |
47 * @author Sharon Liu |
47 * @author Sharon Liu |
48 * @since 1.4 |
48 * @since 1.4 |
49 */ |
49 */ |
50 class CryptoPermission extends java.security.Permission { |
50 class CryptoPermission extends java.security.Permission { |
51 |
51 |
|
52 @java.io.Serial |
52 private static final long serialVersionUID = 8987399626114087514L; |
53 private static final long serialVersionUID = 8987399626114087514L; |
53 |
54 |
54 private String alg; |
55 private String alg; |
55 private int maxKeySize = Integer.MAX_VALUE; // no restriction on maxKeySize |
56 private int maxKeySize = Integer.MAX_VALUE; // no restriction on maxKeySize |
56 private String exemptionMechanism = null; |
57 private String exemptionMechanism = null; |