2362N/A * Copyright (c) 1997, 2009, Oracle and/or its affiliates. All rights reserved. 0N/A * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 0N/A * This code is free software; you can redistribute it and/or modify it 0N/A * under the terms of the GNU General Public License version 2 only, as 2362N/A * published by the Free Software Foundation. Oracle designates this 0N/A * particular file as subject to the "Classpath" exception as provided 2362N/A * by Oracle in the LICENSE file that accompanied this code. 0N/A * This code is distributed in the hope that it will be useful, but WITHOUT 0N/A * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 0N/A * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License 0N/A * version 2 for more details (a copy is included in the LICENSE file that 0N/A * accompanied this code). 0N/A * You should have received a copy of the GNU General Public License version 0N/A * 2 along with this work; if not, write to the Free Software Foundation, 0N/A * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 2362N/A * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA 2362N/A * or visit www.oracle.com if you need additional information or have any 0N/A * This class defines the mapping from OID & name to classes and vice 0N/A * versa. Used by CertificateExtensions & PKCS10 to get the java 0N/A * @author Amit Kapoor 0N/A * @author Hemma Prafullchandra 0N/A * @author Andreas Sterbenz 0N/A // "user-friendly" names 0N/A {
2,
16,
840,
1,
113730,
1,
1 };
0N/A /** Map ObjectIdentifier(oid) -> OIDInfo(info) */ 0N/A /** Map String(friendly name) -> OIDInfo(info) */ 0N/A "sun.security.x509.SubjectKeyIdentifierExtension");
0N/A "sun.security.x509.KeyUsageExtension");
0N/A "sun.security.x509.PrivateKeyUsageExtension");
0N/A "sun.security.x509.SubjectAlternativeNameExtension");
0N/A "sun.security.x509.IssuerAlternativeNameExtension");
0N/A "sun.security.x509.BasicConstraintsExtension");
0N/A "sun.security.x509.CRLNumberExtension");
0N/A "sun.security.x509.CRLReasonCodeExtension");
0N/A "sun.security.x509.NameConstraintsExtension");
0N/A "sun.security.x509.PolicyMappingsExtension");
0N/A "sun.security.x509.AuthorityKeyIdentifierExtension");
0N/A "sun.security.x509.PolicyConstraintsExtension");
0N/A (
new int[] {
2,
16,
840,
1,
113730,
1,
1}),
0N/A "sun.security.x509.NetscapeCertTypeExtension");
0N/A "sun.security.x509.CertificatePoliciesExtension");
0N/A "sun.security.x509.ExtendedKeyUsageExtension");
0N/A "sun.security.x509.InhibitAnyPolicyExtension");
0N/A "sun.security.x509.CRLDistributionPointsExtension");
0N/A "sun.security.x509.CertificateIssuerExtension");
903N/A "sun.security.x509.SubjectInfoAccessExtension");
0N/A "sun.security.x509.AuthorityInfoAccessExtension");
0N/A "sun.security.x509.IssuingDistributionPointExtension");
0N/A "sun.security.x509.DeltaCRLIndicatorExtension");
0N/A "sun.security.x509.FreshestCRLExtension");
951N/A "sun.security.x509.OCSPNoCheckExtension");
0N/A * Add attributes to the table. For internal use in the static 0N/A * Inner class encapsulating the mapping info and Class loading. 0N/A * Return the Class object associated with this attribute. 0N/A * Add a name to lookup table. 0N/A * @param name the name of the attr 0N/A * @param oid the string representation of the object identifier for 0N/A * @param clazz the Class object associated with this attribute 0N/A * @exception CertificateException on errors. 0N/A (
"Invalid Object identifier: " +
oid);
0N/A (
"Object identifier already exists: " +
oid);
0N/A * Return user friendly name associated with the OID. 0N/A * @param oid the name of the object identifier to be returned. 0N/A * @return the user friendly name or null if no name 0N/A * is registered for this oid. 0N/A * Return Object identifier for user friendly name. 0N/A * @param name the user friendly name. 0N/A * @return the Object Identifier or null if no oid 0N/A * is registered for this name. 0N/A * Return the java class object associated with the user friendly name. 0N/A * @param name the user friendly name. 0N/A * @exception CertificateException if class cannot be instantiated. 0N/A * Return the java class object associated with the object identifier. 0N/A * @param oid the name of the object identifier to be returned. 0N/A * @exception CertificateException if class cannot be instatiated.