oracle.security.crypto.cert
Class GeneralName
java.lang.Object
oracle.security.crypto.cert.GeneralName
- public class GeneralName
- extends java.lang.Object
The X.509 GeneralName type, as defined in RFC 2459.
| Nested Class Summary |
static class |
GeneralName.Type
The underlying name type of a GeneralName. |
| Method Summary |
boolean |
equals(java.lang.Object obj)
Indicates whether or not the given object is equal to this GeneralName object. |
GeneralName.Type |
getType()
|
ASN1Object |
getValue()
|
void |
input(java.io.InputStream is)
|
int |
length()
|
void |
output(java.io.OutputStream os)
|
java.lang.String |
toString()
Returns the string representation of the underlying name as returned by that type's toString() method. |
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
GeneralName
public GeneralName(GeneralName.Type type,
ASN1Object value)
GeneralName
public GeneralName(X500Name value)
GeneralName
public GeneralName(java.io.InputStream is)
throws java.io.IOException
getType
public GeneralName.Type getType()
getValue
public ASN1Object getValue()
equals
public boolean equals(java.lang.Object obj)
- Indicates whether or not the given object is equal to this
GeneralName object.
-
- Returns:
true if
obj is a GeneralName with type and value equal to this object's; OR
obj is an ASN1Object equal to this object's value;
otherwise false.
toString
public java.lang.String toString()
- Returns the string representation of the underlying name as returned by that type's
toString() method.
input
public void input(java.io.InputStream is)
throws java.io.IOException
-
- Throws:
java.io.IOException
output
public void output(java.io.OutputStream os)
throws java.io.IOException
-
- Throws:
java.io.IOException
length
public int length()
Copyright © 2005 , Oracle. All rights reserved.