|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface GSSNameSpi
This class represents a mechanism specific name element. One or more instances of this class are contained in an instance of a GSSName object. Each GSSNameSpi object represents at most 1 mechanism specific name element.
Method Summary | |
---|---|
java.lang.Object |
clone()
Produces a copy of this object. |
boolean |
equals(GSSNameSpi name)
Equal method for the GSSNameSpi objects. |
byte[] |
export()
Returns a flat name representation for this object. |
Oid |
getMech()
Get the mechanism type that this NameElement corresponds to. |
Oid |
getNameType()
Returns the name type oid for this name. |
Oid |
getStringNameType()
Returns the oid describing the format of the printable name. |
void |
init(byte[] externalName,
Oid nameType)
Initializer for the GSSNameSpi object using a byte array. |
void |
init(java.lang.String name,
Oid nameType)
Initializer for the GSSNameSpi object using a String. |
boolean |
isAnonymousName()
Indicates if this name object represents an Anonymous name. |
java.lang.String |
toString()
Returns a string representation for this name. |
Method Detail |
---|
void init(byte[] externalName, Oid nameType) throws GSSException
byte[]
- name bytes which is to be interpreted based
on the nameTypenameType
- - oid representing the type of name supplied
GSSException
- The major codes can be BAD_NAMETYPE,
BAD_NAME, and FAILURE.init(String,Oid)
void init(java.lang.String name, Oid nameType) throws GSSException
name
- string which is to be interpreted based
on the nameTypenameType
- - oid representing the type of name supplied
GSSException
- The major codes can be BAD_NAMETYPE,
BAD_NAME, and FAILURE.init(String,Oid)
boolean equals(GSSNameSpi name) throws GSSException
name
- to be compared with
GSSException
- with major codes of BAD_NAMETYPE,
BAD_NAME, FAILUREbyte[] export() throws GSSException
GSSException
- with major codes NAME_NOT_MN, BAD_NAME,
BAD_NAME, FAILURE.Oid getMech()
Oid getNameType()
java.lang.String toString()
toString
in class java.lang.Object
getStringNameType()
Oid getStringNameType()
java.lang.Object clone()
boolean isAnonymousName()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |