|
Oracle Fusion Middleware Security Engine Java API Reference for Oracle Security Developer Tools 11g Release 1 (11.1.1) E10674-05 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object
oracle.security.crypto.cert.GeneralName
public class GeneralName
The X.509 GeneralName type, as defined in RFC 2459.
| Nested Class Summary | |
|---|---|
static class |
GeneralName.TypeThe underlying name type of a GeneralName. |
| Constructor Summary | |
|---|---|
GeneralName()Creates a new empty instance. |
|
GeneralName(GeneralName.Type type, oracle.security.crypto.asn1.ASN1Object value) |
|
GeneralName(GeneralName.Type type, java.lang.String value) |
|
GeneralName(java.io.InputStream is) |
|
GeneralName(X500Name value) |
|
| Method Summary | |
|---|---|
boolean |
equals(java.lang.Object obj)Indicates whether or not the given object is equal to this GeneralName object. |
GeneralName.Type |
getType() |
java.util.List<?> |
getTypeAndValue()return the GeneralName in a format required by X509Certificate.getSubjectAlternativeNames |
oracle.security.crypto.asn1.ASN1Object |
getValue() |
void |
input(java.io.InputStream is) |
int |
length() |
void |
output(java.io.OutputStream os) |
void |
readExternal(java.io.ObjectInput is) |
java.lang.String |
toString()Returns the string representation of the underlying name as returned by that type's toString() method. |
void |
writeExternal(java.io.ObjectOutput os) |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public GeneralName()
public GeneralName(GeneralName.Type type,
oracle.security.crypto.asn1.ASN1Object value)
public GeneralName(GeneralName.Type type,
java.lang.String value)
public GeneralName(X500Name value)
public GeneralName(java.io.InputStream is)
throws java.io.IOException
java.io.IOException| Method Detail |
|---|
public GeneralName.Type getType()
public oracle.security.crypto.asn1.ASN1Object getValue()
public java.util.List<?> getTypeAndValue()
public boolean equals(java.lang.Object obj)
GeneralName object.equals in class java.lang.Objecttrue if
obj is a GeneralName with type and value equal to this object's; ORobj is an ASN1Object equal to this object's value;false.public java.lang.String toString()
toString() method.toString in class java.lang.Object
public void input(java.io.InputStream is)
throws java.io.IOException
input in interface oracle.security.crypto.util.Streamablejava.io.IOException
public void output(java.io.OutputStream os)
throws java.io.IOException
output in interface oracle.security.crypto.util.Streamablejava.io.IOExceptionpublic int length()
length in interface oracle.security.crypto.util.Streamable
public void writeExternal(java.io.ObjectOutput os)
throws java.io.IOException
writeExternal in interface java.io.Externalizablejava.io.IOException
public void readExternal(java.io.ObjectInput is)
throws java.io.IOException,
java.lang.ClassNotFoundException
readExternal in interface java.io.Externalizablejava.io.IOExceptionjava.lang.ClassNotFoundException
|
Oracle Fusion Middleware Security Engine Java API Reference for Oracle Security Developer Tools 11g Release 1 (11.1.1) E10674-05 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||