| java.lang.Object sun.security.x509.OIDMap
OIDMap | public class OIDMap (Code) | | This class defines the mapping from OID & name to classes and vice
versa. Used by CertificateExtensions & PKCS10 to get the java
classes associated with a particular OID/name.
author: Amit Kapoor author: Hemma Prafullchandra author: Andreas Sterbenz version: 1.4, 10/10/06 |
addAttribute | public static void addAttribute(String name, String oid, Class clazz) throws CertificateException(Code) | | Add a name to lookup table.
Parameters: name - the name of the attr Parameters: oid - the string representation of the object identifier forthe class. Parameters: clazz - the Class object associated with this attribute exception: CertificateException - on errors. |
getName | public static String getName(ObjectIdentifier oid)(Code) | | Return user friendly name associated with the OID.
Parameters: oid - the name of the object identifier to be returned. the user friendly name or null if no nameis registered for this oid. |
getOID | public static ObjectIdentifier getOID(String name)(Code) | | Return Object identifier for user friendly name.
Parameters: name - the user friendly name. the Object Identifier or null if no oidis registered for this name. |
|
|