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.
-
NAME_ANY
- The list of names supported.
-
NAME_DIRECTORY
-
-
NAME_DNS
-
-
NAME_EDI
-
-
NAME_IP
-
-
NAME_OID
-
-
NAME_RFC822
-
-
NAME_URI
-
-
NAME_X400
-
-
encode(DerOutputStream)
- Encode the name to the specified DerOutputStream.
-
getType()
- Return the type of the general name, as
defined above.
NAME_ANY
public static final int NAME_ANY
- The list of names supported.
NAME_RFC822
public static final int NAME_RFC822
NAME_DNS
public static final int NAME_DNS
NAME_X400
public static final int NAME_X400
NAME_DIRECTORY
public static final int NAME_DIRECTORY
NAME_EDI
public static final int NAME_EDI
NAME_URI
public static final int NAME_URI
NAME_IP
public static final int NAME_IP
NAME_OID
public static final int NAME_OID
getType
public abstract int getType()
- Return the type of the general name, as
defined above.
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