|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectsun.security.mule.jgss.wrapper.GSSCredElement
public class GSSCredElement
This class is essentially a wrapper class for the gss_cred_id_t structure of the native GSS library.
| Method Summary | |
|---|---|
void |
dispose()
Called to invalidate this credential element and release any system recourses and cryptographic information owned by the credential. |
protected void |
finalize()
|
int |
getAcceptLifetime()
Returns the accept lifetime remaining. |
int |
getInitLifetime()
Returns the init lifetime remaining. |
Oid |
getMechanism()
Returns the oid representing the underlying credential mechanism oid. |
GSSNameElement |
getName()
Returns the principal name for this credential. |
Provider |
getProvider()
|
boolean |
isAcceptorCredential()
Determines if this credential element can be used by a context acceptor. |
boolean |
isInitiatorCredential()
Determines if this credential element can be used by a context initiator. |
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Method Detail |
|---|
public Provider getProvider()
getProvider in interface GSSCredentialSpi
public void dispose()
throws GSSException
GSSCredentialSpi
dispose in interface GSSCredentialSpiGSSException - with major codes NO_CRED and FAILURE
public GSSNameElement getName()
throws GSSException
GSSCredentialSpi
getName in interface GSSCredentialSpiGSSException - may be thrown
public int getInitLifetime()
throws GSSException
GSSCredentialSpi
getInitLifetime in interface GSSCredentialSpiGSSException - may be thrown
public int getAcceptLifetime()
throws GSSException
GSSCredentialSpi
getAcceptLifetime in interface GSSCredentialSpiGSSException - may be thrownpublic boolean isInitiatorCredential()
GSSCredentialSpi
isInitiatorCredential in interface GSSCredentialSpipublic boolean isAcceptorCredential()
GSSCredentialSpi
isAcceptorCredential in interface GSSCredentialSpipublic Oid getMechanism()
GSSCredentialSpi
getMechanism in interface GSSCredentialSpipublic String toString()
toString in class Object
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 | |||||||||