All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class iaik.asn1.structures.GeneralName

java.lang.Object
   |
   +----iaik.asn1.structures.GeneralName

public class GeneralName
extends Object
This class implements the ASN1. type "GeneralName".


Variable Index

 o directoryName
 o dNSName
 o ediPartyName
 o iPAddress
 o otherName
 o registeredID
 o rfc822Name
 o uniformResourceIdentifier
 o x400Address

Constructor Index

 o GeneralName(ASN1Object)
Constructs a GeneralName form an ASN1Object.
 o GeneralName(int, Object)
Constructs a GeneralName of a specific type.

Method Index

 o getName()
Returns the value of this general name.
 o getType()
Returns the type of this general name.
 o toASN1Object()
Returns this GeneralName object as ASN1Object.
 o toString()
Returns a string that represents the contents of this general name.

Variables

 o otherName
 public static int otherName
 o rfc822Name
 public static int rfc822Name
 o dNSName
 public static int dNSName
 o x400Address
 public static int x400Address
 o directoryName
 public static int directoryName
 o ediPartyName
 public static int ediPartyName
 o uniformResourceIdentifier
 public static int uniformResourceIdentifier
 o iPAddress
 public static int iPAddress
 o registeredID
 public static int registeredID

Constructors

 o GeneralName
 public GeneralName(int type,
                    Object generalName)
Constructs a GeneralName of a specific type.

Parameters:
type - the type of the general name; a valid type must be used
generalName - the value for this type of general name
 o GeneralName
 public GeneralName(ASN1Object gName) throws CodingException
Constructs a GeneralName form an ASN1Object.

Parameters:
gName - the general name as ASN1Object
Throws: CodingException
if the ASN1Object is not a GeneralName

Methods

 o toASN1Object
 public ASN1Object toASN1Object()
Returns this GeneralName object as ASN1Object.

Returns:
the value of GeneralName as ASN1Object
 o getName
 public Object getName()
Returns the value of this general name.

Returns:
the value of this general name
 o getType
 public int getType()
Returns the type of this general name.

Returns:
the type of this general name
 o toString
 public String toString()
Returns a string that represents the contents of this general name.

Returns:
the string representation
Overrides:
toString in class Object

All Packages  Class Hierarchy  This Package  Previous  Next  Index