# Uses of Class
org.ietf.jgss.Oid

Packages that use Oid
Package
Description
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 Oid in org.ietf.jgss

Fields in org.ietf.jgss declared as Oid
Modifier and Type
Field
Description
`static final Oid`
GSSName.`NT_ANONYMOUS`
Name type for representing an anonymous entity.
`static final Oid`
GSSName.`NT_EXPORT_NAME`
Name type used to indicate an exported name produced by the export method.
`static final Oid`
GSSName.`NT_HOSTBASED_SERVICE`
Oid indicating a host-based service name form.
`static final Oid`
GSSName.`NT_MACHINE_UID_NAME`
Name type to indicate a numeric user identifier corresponding to a user on a local system.
`static final Oid`
GSSName.`NT_STRING_UID_NAME`
Name type to indicate a string of digits representing the numeric user identifier of a user on a local system.
`static final Oid`
GSSName.`NT_USER_NAME`
Name type to indicate a named user on a local system.
Methods in org.ietf.jgss that return Oid
Modifier and Type
Method
Description
`Oid`
GSSContext.`getMech()`
Determines what mechanism is being used for this context.
`Oid[]`
GSSCredential.`getMechs()`
Returns a list of mechanisms supported by this credential.
`abstract Oid[]`
GSSManager.`getMechs()`
Returns a list of mechanisms that are available to GSS-API callers through this GSSManager.
`abstract Oid[]`
GSSManager.`getMechsForName(Oid nameType)`
Returns a list of mechanisms that support the indicated name type.
`abstract Oid[]`
GSSManager.`getNamesForMech(Oid mech)`
Returns then name types supported by the indicated mechanism.
`Oid`
GSSName.`getStringNameType()`
Returns the name type of the printable representation of this name that can be obtained from the `toString` method.
Methods in org.ietf.jgss with parameters of type Oid
Modifier and Type
Method
Description
`void`
GSSCredential.`add(GSSName name, int initLifetime, int acceptLifetime, Oid mech, int usage)`
Adds a mechanism specific credential-element to an existing credential.
`abstract void`
GSSManager.`addProviderAtEnd(Provider p, Oid mech)`
This method is used to indicate to the GSSManager that the application would like a particular provider to be used if no other provider can be found that supports the given mechanism.
`abstract void`
GSSManager.`addProviderAtFront(Provider p, Oid mech)`
This method is used to indicate to the GSSManager that the application would like a particular provider to be used ahead of all others when support is desired for the given mechanism.
`GSSName`
GSSName.`canonicalize(Oid mech)`
Creates a name that is canonicalized for some mechanism.
`boolean`
Oid.`containedIn(Oid[] oids)`
A utility method to test if this Oid value is contained within the supplied Oid array.
`abstract GSSContext`
GSSManager.`createContext(GSSName peer, Oid mech, GSSCredential myCred, int lifetime)`
Factory method for creating a context on the initiator's side.
`abstract GSSCredential`
GSSManager.`createCredential(GSSName name, int lifetime, Oid[] mechs, int usage)`
Factory method for acquiring credentials over a set of mechanisms.
`abstract GSSCredential`
GSSManager.`createCredential(GSSName name, int lifetime, Oid mech, int usage)`
Factory method for acquiring a single mechanism credential.
`abstract GSSName`
GSSManager.`createName(byte[] name, Oid nameType)`
Factory method to convert a byte array containing a name from the specified namespace to a GSSName object.
`abstract GSSName`
GSSManager.`createName(byte[] name, Oid nameType, Oid mech)`
Factory method to convert a byte array containing a name from the specified namespace to a GSSName object and canonicalize it at the same time for a mechanism.
`abstract GSSName`
GSSManager.`createName(String nameStr, Oid nameType)`
Factory method to convert a string name from the specified namespace to a GSSName object.
`abstract GSSName`
GSSManager.`createName(String nameStr, Oid nameType, Oid mech)`
Factory method to convert a string name from the specified namespace to a GSSName object and canonicalize it at the same time for a mechanism.
`abstract Oid[]`
GSSManager.`getMechsForName(Oid nameType)`
Returns a list of mechanisms that support the indicated name type.
`GSSName`
GSSCredential.`getName(Oid mech)`
Retrieves a Mechanism Name of the entity that the credential asserts.
`abstract Oid[]`
GSSManager.`getNamesForMech(Oid mech)`
Returns then name types supported by the indicated mechanism.
`int`
GSSCredential.`getRemainingAcceptLifetime(Oid mech)`
Returns the lifetime in seconds for the credential to remain capable of accepting security contexts using the specified mechanism.
`int`
GSSCredential.`getRemainingInitLifetime(Oid mech)`
Returns the lifetime in seconds for the credential to remain capable of initiating security contexts using the specified mechanism.
`int`
GSSCredential.`getUsage(Oid mech)`
Returns the credential usage mode for a specific mechanism.