All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class netscape.security.x509.RFC822Name

netscape.security.x509.RFC822Name

public class RFC822Name
implements GeneralNameInterface
This class implements the RFC822Name as required by the GeneralNames ASN.1 object.

See Also:
GeneralName, GeneralNames, GeneralNameInterface

Constructor Index

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

Method Index

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

Constructors

 o RFC822Name
 public RFC822Name(DerValue derValue) throws IOException
Create the RFC822Name object from the passed encoded Der value.

Parameters:
derValue - the encoded DER RFC822Name.
Throws: IOException
on error.
 o RFC822Name
 public RFC822Name(String name)
Create the RFC822Name object with the specified name.

Parameters:
name - the RFC822Name.

Methods

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

 o encode
 public void encode(DerOutputStream out) throws IOException
Encode the RFC822 name into the DerOutputStream.

Parameters:
out - the DER stream to encode the RFC822Name 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