com.sun.gssapi
public interface GSSNameSpi
Modifier and Type | Method and Description |
---|---|
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.
|
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 suppliedGSSException
- 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 suppliedGSSException
- The major codes can be BAD_NAMETYPE,
BAD_NAME, and FAILURE.init(String,Oid)
boolean equals(GSSNameSpi name) throws GSSException
name
- to be compared withGSSException
- 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()