All Packages  Class Hierarchy  This Package  Previous  Next  Index

Interface netscape.security.x509.GeneralNameInterface

public interface GeneralNameInterface
This interface specifies the abstract methods which have to be implemented by all the members of the GeneralNames ASN.1 object.


Variable Index

 o NAME_ANY
The list of names supported.
 o NAME_DIRECTORY
 o NAME_DNS
 o NAME_EDI
 o NAME_IP
 o NAME_OID
 o NAME_RFC822
 o NAME_URI
 o NAME_X400

Method Index

 o encode(DerOutputStream)
Encode the name to the specified DerOutputStream.
 o getType()
Return the type of the general name, as defined above.

Variables

 o NAME_ANY
 public static final int NAME_ANY
The list of names supported.

 o NAME_RFC822
 public static final int NAME_RFC822
 o NAME_DNS
 public static final int NAME_DNS
 o NAME_X400
 public static final int NAME_X400
 o NAME_DIRECTORY
 public static final int NAME_DIRECTORY
 o NAME_EDI
 public static final int NAME_EDI
 o NAME_URI
 public static final int NAME_URI
 o NAME_IP
 public static final int NAME_IP
 o NAME_OID
 public static final int NAME_OID

Methods

 o getType
 public abstract int getType()
Return the type of the general name, as defined above.

 o encode
 public abstract void encode(DerOutputStream out) throws IOException
Encode the name to the specified DerOutputStream.

Parameters:
out - the DerOutputStream to encode the GeneralName to.
Throws: IOException
thrown if the GeneralName could not be encoded.

All Packages  Class Hierarchy  This Package  Previous  Next  Index