equal
deleted
inserted
replaced
1 /* |
1 /* |
2 * Copyright (c) 2000, 2011, Oracle and/or its affiliates. All rights reserved. |
2 * Copyright (c) 2000, 2014, 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 |
92 * Attribute names. |
92 * Attribute names. |
93 */ |
93 */ |
94 public static final String NAME = "ExtendedKeyUsage"; |
94 public static final String NAME = "ExtendedKeyUsage"; |
95 public static final String USAGES = "usages"; |
95 public static final String USAGES = "usages"; |
96 |
96 |
97 // OID defined in RFC 3280 Sections 4.2.1.13 |
97 // OID defined in RFC 5280 Sections 4.2.1.12 |
98 // more from http://www.alvestrand.no/objectid/1.3.6.1.5.5.7.3.html |
98 // more from http://www.alvestrand.no/objectid/1.3.6.1.5.5.7.3.html |
99 private static final Map <ObjectIdentifier, String> map = |
99 private static final Map <ObjectIdentifier, String> map = |
100 new HashMap <ObjectIdentifier, String> (); |
100 new HashMap <ObjectIdentifier, String> (); |
101 |
101 |
102 private static final int[] anyExtendedKeyUsageOidData = {2, 5, 29, 37, 0}; |
102 private static final int[] anyExtendedKeyUsageOidData = {2, 5, 29, 37, 0}; |