| java.lang.Object |
| ↳ |
sun.security.mule.jgss.wrapper.GSSCredElement |
Class Overview
This class is essentially a wrapper class for the gss_cred_id_t
structure of the native GSS library.
Summary
| Public Methods |
|
void
|
dispose()
Called to invalidate this credential element and release
any system recourses and cryptographic information owned
by the credential.
|
|
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()
|
|
[Expand]
Inherited Methods |
From class
java.lang.Object
|
Object
|
clone()
|
|
boolean
|
equals(Object arg0)
|
|
void
|
finalize()
|
|
final
Class<?>
|
getClass()
|
|
int
|
hashCode()
|
|
final
void
|
notify()
|
|
final
void
|
notifyAll()
|
|
String
|
toString()
|
|
final
void
|
wait()
|
|
final
void
|
wait(long arg0, int arg1)
|
|
final
void
|
wait(long arg0)
|
|
From interface
sun.security.mule.jgss.spi.GSSCredentialSpi
|
abstract
void
|
dispose()
Called to invalidate this credential element and release
any system recourses and cryptographic information owned
by the credential.
|
|
abstract
int
|
getAcceptLifetime()
Returns the accept lifetime remaining.
|
|
abstract
int
|
getInitLifetime()
Returns the init lifetime remaining.
|
|
abstract
Oid
|
getMechanism()
Returns the oid representing the underlying credential
mechanism oid.
|
|
abstract
GSSNameSpi
|
getName()
Returns the principal name for this credential.
|
|
abstract
Provider
|
getProvider()
|
|
abstract
boolean
|
isAcceptorCredential()
Determines if this credential element can be used by a context
acceptor.
|
|
abstract
boolean
|
isInitiatorCredential()
Determines if this credential element can be used by a context
initiator.
|
|
Fields
Public Methods
public
void
dispose
()
Called to invalidate this credential element and release
any system recourses and cryptographic information owned
by the credential.
public
int
getAcceptLifetime
()
Returns the accept lifetime remaining.
Returns
- the accept lifetime remaining in seconds
public
int
getInitLifetime
()
Returns the init lifetime remaining.
Returns
- the init lifetime remaining in seconds
public
Oid
getMechanism
()
Returns the oid representing the underlying credential
mechanism oid.
Returns
- the Oid for this credential mechanism
Returns the principal name for this credential. The name
is in mechanism specific format.
Returns
- GSSNameSpi representing principal name of this credential
public
Provider
getProvider
()
public
boolean
isAcceptorCredential
()
Determines if this credential element can be used by a context
acceptor.
Returns
- true if it can be used for accepting contexts
public
boolean
isInitiatorCredential
()
Determines if this credential element can be used by a context
initiator.
Returns
- true if it can be used for initiating contexts
public
String
toString
()
Protected Methods
protected
void
finalize
()