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

Constructor Index

 o OIDName(DerValue)
Create the OIDName object from the passed encoded Der value.
 o OIDName(ObjectIdentifier)
Create the OIDName object with the specified name.

Method Index

 o encode(DerOutputStream)
Encode the OID name into the DerOutputStream.
 o getType()
Return the type of the GeneralName.
 o toString()
Convert the name into user readable string.

Constructors

 o 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.
 o OIDName
 public OIDName(ObjectIdentifier oid)
Create the OIDName object with the specified name.

Parameters:
name - the OIDName.

Methods

 o getType
 public int getType()
Return the type of the GeneralName.

 o 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.
 o toString
 public String toString()
Convert the name into user readable string.


All Packages  Class Hierarchy  This Package  Previous  Next  Index