|
Oracle Fusion Middleware JCE Java API Reference for Oracle Security Developer Tools 11g Release 1 (11.1.1) E10697-03 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object
oracle.security.crypto.jce.cert.X500Name
public class X500Name
Constructor Summary | |
---|---|
X500Name(java.io.InputStream is) |
Method Summary | |
---|---|
X500RDN |
componentAt(int i) |
boolean |
equals(java.lang.Object o) Compares this X.500 name to the specified object. |
java.lang.String |
getName() |
int |
hashCode() |
void |
input(java.io.InputStream is) Initializes this X.500 name by reading its DER-encoding from the specified input stream. |
int |
length() |
void |
output(java.io.OutputStream os) Output to the specified output stream. |
java.lang.String |
toString() Returns a string representation of this X500Name . |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public X500Name(java.io.InputStream is) throws java.io.IOException
java.io.IOException
Method Detail |
---|
public X500RDN componentAt(int i)
public void input(java.io.InputStream is) throws java.io.IOException
input
in interface oracle.security.crypto.util.Streamable
java.io.IOException
public void output(java.io.OutputStream os) throws java.io.IOException
Note: If the old API methods are used to define the attributes the the order of output is as follows: C, ST, L, O, OU, CN, EMAIL
.
output
in interface oracle.security.crypto.util.Streamable
java.io.IOException
public int length()
length
in interface oracle.security.crypto.util.Streamable
public java.lang.String getName()
getName
in interface java.security.Principal
public java.lang.String toString()
X500Name
. The output of this method is suitable for use in the constructor X500Name(String)
. The order of entries is the reverse of the order produced by the output
method.toString
in interface java.security.Principal
toString
in class java.lang.Object
#X500Name(String)
, output(OutputStream)
public boolean equals(java.lang.Object o)
Compares this X.500 name to the specified object. Returns true if and only if the argument is not null
, and represents the same X.500 name. For the purposes of this comparison operation, two X.500 names are considered the same if and only if all the attributes recognized by this implementation have the same value.
equals
in interface java.security.Principal
equals
in class java.lang.Object
public int hashCode()
hashCode
in interface java.security.Principal
hashCode
in class java.lang.Object
|
Oracle Fusion Middleware JCE Java API Reference for Oracle Security Developer Tools 11g Release 1 (11.1.1) E10697-03 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |