|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectsun.security.mule.jgss.wrapper.GSSNameElement
public class GSSNameElement
This class is essentially a wrapper class for the gss_name_t structure of the native GSS library.
| Method Summary | |
|---|---|
void |
dispose()
|
boolean |
equals(GSSNameSpi other)
Equals method for the GSSNameSpi objects. |
boolean |
equals(Object other)
Compares this GSSNameSpi object to another Object
that might be a GSSNameSpi. |
byte[] |
export()
Returns a flat name representation for this object. |
protected void |
finalize()
|
String |
getKrbName()
|
Oid |
getMechanism()
Get the mechanism type that this NameElement corresponds to. |
Provider |
getProvider()
|
Oid |
getStringNameType()
Returns the oid describing the format of the printable name. |
int |
hashCode()
Returns a hashcode value for this GSSNameSpi. |
boolean |
isAnonymousName()
Indicates if this name object represents an Anonymous name. |
String |
toString()
Returns a string representation for this name. |
| Methods inherited from class java.lang.Object |
|---|
clone, getClass, notify, notifyAll, wait, wait, wait |
| Method Detail |
|---|
public String getKrbName()
throws GSSException
GSSExceptionpublic Provider getProvider()
getProvider in interface GSSNameSpi
public boolean equals(GSSNameSpi other)
throws GSSException
GSSNameSpi
equals in interface GSSNameSpiother - to be compared with
GSSException - with major codes of BAD_NAMETYPE,
BAD_NAME, FAILUREpublic boolean equals(Object other)
GSSNameSpiGSSNameSpi object to another Object
that might be a GSSNameSpi. The behaviour is exactly
the same as in equals except that
no GSSException is thrown; instead, false will be returned in the
situation where an error occurs.
equals in interface GSSNameSpiequals in class Objectother - the object to be compared toGSSNameSpi.equals(GSSNameSpi)public int hashCode()
GSSNameSpi
hashCode in interface GSSNameSpihashCode in class Object
public byte[] export()
throws GSSException
GSSNameSpi
export in interface GSSNameSpiGSSException - with major codes NAME_NOT_MN, BAD_NAME,
BAD_NAME, FAILURE.public Oid getMechanism()
GSSNameSpi
getMechanism in interface GSSNameSpipublic String toString()
GSSNameSpi
toString in interface GSSNameSpitoString in class ObjectGSSNameSpi.getStringNameType()public Oid getStringNameType()
GSSNameSpi
getStringNameType in interface GSSNameSpipublic boolean isAnonymousName()
GSSNameSpi
isAnonymousName in interface GSSNameSpipublic void dispose()
protected void finalize()
throws Throwable
finalize in class ObjectThrowable
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||