public class OIDMap
extends java.lang.Object
| Modifier and Type | Method and Description |
|---|---|
static void |
addAttribute(java.lang.String name,
java.lang.String oid,
java.lang.Class clazz)
Add a name to lookup table.
|
static java.lang.Class |
getClass(ObjectIdentifier oid)
Return the java class object associated with the object identifier.
|
static java.lang.Class |
getClass(java.lang.String name)
Return the java class object associated with the user friendly name.
|
static java.lang.String |
getName(ObjectIdentifier oid)
Return user friendly name associated with the OID.
|
static ObjectIdentifier |
getOID(java.lang.String name)
Return Object identifier for user friendly name.
|
public static void addAttribute(java.lang.String name,
java.lang.String oid,
java.lang.Class clazz)
throws java.security.cert.CertificateException
name - the name of the attroid - the string representation of the object identifier for
the class.clazz - the Class object associated with this attributejava.security.cert.CertificateException - on errors.public static java.lang.String getName(ObjectIdentifier oid)
oid - the name of the object identifier to be returned.public static ObjectIdentifier getOID(java.lang.String name)
name - the user friendly name.public static java.lang.Class getClass(java.lang.String name)
throws java.security.cert.CertificateException
name - the user friendly name.java.security.cert.CertificateException - if class cannot be instantiated.public static java.lang.Class getClass(ObjectIdentifier oid) throws java.security.cert.CertificateException
oid - the name of the object identifier to be returned.java.security.cert.CertificateException - if class cannot be instatiated.Copyright © 2020. All Rights Reserved.