All Packages Class Hierarchy This Package Previous Next Index
Class netscape.security.x509.OIDName
netscape.security.x509.OIDName
- public class OIDName
- implements GeneralNameInterface
This class implements the OIDName as required by the GeneralNames
ASN.1 object.
- See Also:
- GeneralName, GeneralNames, GeneralNameInterface
-
OIDName(DerValue)
- Create the OIDName object from the passed encoded Der value.
-
OIDName(ObjectIdentifier)
- Create the OIDName object with the specified name.
-
encode(DerOutputStream)
- Encode the OID name into the DerOutputStream.
-
getType()
- Return the type of the GeneralName.
-
toString()
- Convert the name into user readable string.
OIDName
public OIDName(DerValue derValue) throws IOException
- Create the OIDName object from the passed encoded Der value.
- Parameters:
- derValue - the encoded DER OIDName.
- Throws: IOException
- on error.
OIDName
public OIDName(ObjectIdentifier oid)
- Create the OIDName object with the specified name.
- Parameters:
- name - the OIDName.
getType
public int getType()
- Return the type of the GeneralName.
encode
public void encode(DerOutputStream out) throws IOException
- Encode the OID name into the DerOutputStream.
- Parameters:
- out - the DER stream to encode the OIDName to.
- Throws: IOException
- on encoding errors.
toString
public String toString()
- Convert the name into user readable string.
All Packages Class Hierarchy This Package Previous Next Index