| java.lang.Object | |
| ↳ | sun.security.x509.GeneralName |
This class implements the ASN.1 GeneralName object class.
The ASN.1 syntax for this is:
GeneralName ::= CHOICE {
otherName [0] OtherName,
rfc822Name [1] IA5String,
dNSName [2] IA5String,
x400Address [3] ORAddress,
directoryName [4] Name,
ediPartyName [5] EDIPartyName,
uniformResourceIdentifier [6] IA5String,
iPAddress [7] OCTET STRING,
registeredID [8] OBJECT IDENTIFIER
}
| Public Constructors | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Default constructor for the class.
| |||||||||||
Create the object from its DER encoded value.
| |||||||||||
Create the object from its DER encoded value.
| |||||||||||
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Encode the name to the specified DerOutputStream.
| |||||||||||
Compare this GeneralName with another
| |||||||||||
Return the GeneralNameInterface name.
| |||||||||||
Return the type of the general name.
| |||||||||||
Returns the hash code for this GeneralName.
| |||||||||||
Return the name as user readable string
| |||||||||||
|
[Expand]
Inherited Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
| |||||||||||
Default constructor for the class.
| name | the selected CHOICE from the list. |
|---|
| NullPointerException | if name is null |
|---|
Create the object from its DER encoded value.
| encName | the DER encoded GeneralName. |
|---|
| IOException |
|---|
Create the object from its DER encoded value.
| encName | the DER encoded GeneralName. |
|---|---|
| nameConstraint | true if general name is a name constraint |
| IOException |
|---|
Encode the name to the specified DerOutputStream.
| out | the DerOutputStream to encode the the GeneralName to. |
|---|
| IOException | on encoding errors. |
|---|
Compare this GeneralName with another
| other | GeneralName to compare to this |
|---|
true if this object is the same as the obj
argument; false otherwise.Return the type of the general name.
Returns the hash code for this GeneralName.
Return the name as user readable string