|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface GSSNameSpi
This interface is implemented by a mechanism specific name element. A GSSName is conceptually a container class of several name elements from different mechanisms.
| Method Summary | |
|---|---|
boolean |
equals(GSSNameSpi name)
Equals method for the GSSNameSpi objects. |
boolean |
equals(Object another)
Compares this GSSNameSpi object to another Object
that might be a GSSNameSpi. |
byte[] |
export()
Returns a flat name representation for this object. |
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. |
| Method Detail |
|---|
Provider getProvider()
boolean equals(GSSNameSpi name)
throws GSSException
name - to be compared with
GSSException - with major codes of BAD_NAMETYPE,
BAD_NAME, FAILUREboolean equals(Object another)
GSSNameSpi 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 class Objectanother - the object to be compared toequals(GSSNameSpi)int hashCode()
hashCode in class Object
byte[] export()
throws GSSException
GSSException - with major codes NAME_NOT_MN, BAD_NAME,
BAD_NAME, FAILURE.Oid getMechanism()
String toString()
toString in class ObjectgetStringNameType()Oid getStringNameType()
boolean isAnonymousName()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||