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".
-
directoryName
-
-
dNSName
-
-
ediPartyName
-
-
iPAddress
-
-
otherName
-
-
registeredID
-
-
rfc822Name
-
-
uniformResourceIdentifier
-
-
x400Address
-
-
GeneralName(ASN1Object)
- Constructs a GeneralName form an ASN1Object.
-
GeneralName(int, Object)
- Constructs a GeneralName of a specific type.
-
getName()
- Returns the value of this general name.
-
getType()
- Returns the type of this general name.
-
toASN1Object()
- Returns this GeneralName object as ASN1Object.
-
toString()
- Returns a string that represents the contents of this general name.
otherName
public static int otherName
rfc822Name
public static int rfc822Name
dNSName
public static int dNSName
x400Address
public static int x400Address
directoryName
public static int directoryName
ediPartyName
public static int ediPartyName
uniformResourceIdentifier
public static int uniformResourceIdentifier
iPAddress
public static int iPAddress
registeredID
public static int registeredID
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
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
toASN1Object
public ASN1Object toASN1Object()
- Returns this GeneralName object as ASN1Object.
- Returns:
- the value of GeneralName as ASN1Object
getName
public Object getName()
- Returns the value of this general name.
- Returns:
- the value of this general name
getType
public int getType()
- Returns the type of this general name.
- Returns:
- the type of this general name
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