API Overview API Index Package Overview Direct link to this page
JDK 1.6
  org.ietf.jgss. GSSCredential View Source
Author(s)
Mayank Upadhyay
Since
1.4
Version
1.10, 06/29/06
Serial
Hierarchy
 Cloneable
      GSSCredential
Subinterfaces
Description
public interface GSSCredential
  This interface encapsulates the GSS-API credentials for an entity.
Methods
Hide/Show inherited methods
public void add (GSSName name, int initLifetime, int acceptLifetime, Oid mech, int usage) throws GSSException
  Adds a mechanism specific credential-element to an existing credential.
public void dispose () throws GSSException
  Releases any sensitive information that the GSSCredential object may be containing.
public boolean equals (Object another)
  Tests if this GSSCredential asserts the same entity as the supplied object.
public Oid getMechs () throws GSSException
  Returns a list of mechanisms supported by this credential.
public GSSName getName () throws GSSException
  Retrieves the name of the entity that the credential asserts.
public GSSName getName (Oid mech) throws GSSException
  Retrieves a Mechanism Name of the entity that the credential asserts.
public int getRemainingAcceptLifetime (Oid mech) throws GSSException
  Returns the lifetime in seconds for the credential to remain capable of accepting security contexts using the specified mechanism.
public int getRemainingInitLifetime (Oid mech) throws GSSException
  Returns the lifetime in seconds for the credential to remain capable of initiating security contexts using the specified mechanism.
public int getRemainingLifetime () throws GSSException
  Returns the remaining lifetime in seconds for a credential.
public int getUsage () throws GSSException
  Returns the credential usage mode.
public int getUsage (Oid mech) throws GSSException
  Returns the credential usage mode for a specific mechanism.
public int hashCode ()
  Returns a hashcode value for this GSSCredential.
Fields
Hide/Show inherited fields
publicfinalstatic int ACCEPT_ONLY = "2"
Credential usage flag requesting that it be usable for context acceptance only.
publicfinalstatic int DEFAULT_LIFETIME = "0"
  A lifetime constant representing the default credential lifetime.
publicfinalstatic int INDEFINITE_LIFETIME = "2147483647"
  A lifetime constant representing indefinite credential lifetime.
publicfinalstatic int INITIATE_AND_ACCEPT = "0"
Credential usage flag requesting that it be usable for both context initiation and acceptance.
publicfinalstatic int INITIATE_ONLY = "1"
Credential usage flag requesting that it be usable for context initiation only.
Generated By: JavaOnTracks Doclet 0.1.4     ©Thibaut Colar