# Uses of Interface
org.ietf.jgss.GSSContext

Packages that use GSSContext
Package | Description
--- | ---
com.sun.security.jgss | This package defines classes and interfaces for the JDK extensions to the GSS-API.
org.ietf.jgss | This package presents a framework that allows application developers to make use of security services like authentication, data integrity and data confidentiality from a variety of underlying security mechanisms like Kerberos, using a unified API.

## Uses of GSSContext in com.sun.security.jgss

Subinterfaces of GSSContext in com.sun.security.jgss
Modifier and Type | Interface | Description
--- | --- | ---
`interface` | `ExtendedGSSContext` | The extended GSSContext interface for supporting additional functionalities not defined by `org.ietf.jgss.GSSContext`, such as querying context-specific attributes.

## Uses of GSSContext in org.ietf.jgss

Methods in org.ietf.jgss that return GSSContext
Modifier and Type | Method | Description
--- | --- | ---
`abstract GSSContext` | GSSManager.`createContext​(byte[] interProcessToken)` | Factory method for creating a previously exported context.
`abstract GSSContext` | GSSManager.`createContext​(GSSCredential myCred)` | Factory method for creating a context on the acceptor' side.
`abstract GSSContext` | GSSManager.`createContext​(GSSName peer, Oid mech, GSSCredential myCred, int lifetime)` | Factory method for creating a context on the initiator's side.