com.ibm.security.jgss.spi
Interface GSSNameSpi
All known implementing classes:
- public interface GSSNameSpi
Version:
1.3, 12/03/01
Author:
Mayank Upadhyay
Method Summary
Modifier and Type | Method and Description |
---|---|
|
equals(GSSNameSpi name)
Equals method for the GSSNameSpi objects.
|
|
export()
Returns a flat name representation for this object.
|
getMechanism()
Get the mechanism type that this NameElement corresponds to.
|
|
|
getProvider()
|
getStringNameType()
Returns the oid describing the format of the printable name.
|
|
|
isAnonymousName()
Indicates if this name object represents an Anonymous name.
|
|
toString()
Returns a string representation for this name.
|
Method Detail
getProvider
- java.security.Provider getProvider( )
equals
- boolean equals(GSSNameSpi name)
- throws GSSException
Equals method for the GSSNameSpi objects.
If either name denotes an anonymous principal, the call should
return false.
Parameters:
name
- to be compared with Throws:
GSSException
- with major codes of BAD_NAMETYPE,
BAD_NAME, FAILURE export
- byte[] export()
- throws GSSException
Returns a flat name representation for this object. The name
format is defined in RFC 2078.
Returns:
the flat name representation for this object
Throws:
GSSException
- with major codes NAME_NOT_MN, BAD_NAME,
BAD_NAME, FAILURE. getMechanism
- Oid getMechanism()
Get the mechanism type that this NameElement corresponds to.
Returns:
the Oid of the mechanism type
toString
- java.lang.String toString()
Returns a string representation for this name. The printed
name type can be obtained by calling getStringNameType().
Overrides:
toString
in class java.lang.Object
getStringNameType
- Oid getStringNameType()
Returns the oid describing the format of the printable name.
Returns:
the Oid for the format of the printed name
isAnonymousName
- boolean isAnonymousName()
Indicates if this name object represents an Anonymous name.