Uses of Class org.ietf.jgss.GSSException

Uses in package org.ietf.jgss

Constructors which throw type org.ietf.jgss.GSSException

Oid.Oid(byte[] derOid)
Creates an Oid object from its DER encoding.
Creates an Oid object from its DER encoding.
Oid.Oid(String strOid)
Creates an Oid object from a string representation of its integer components (e.g.

Methods which throw type org.ietf.jgss.GSSException

byte[]
GSSContext.acceptSecContext(byte[] inTok, int offset, int len)
Called by the context acceptor upon receiving a token from the peer.
void
Called by the context acceptor upon receiving a token from the peer.
void
GSSCredential.add(GSSName aName, int initLifetime, int acceptLifetime, Oid mech, int usage)
Adds a mechanism specific credential-element to an existing credential.
void
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.
void
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
Creates a mechanism name (MN) from an arbitrary internal name.
GSSContext
GSSManager.createContext(byte[] interProcessToken)
Factory method for creating a previously exported context.
GSSContext
Factory method for creating a context on the acceptor' side.
GSSContext
GSSManager.createContext(GSSName peer, Oid mech, GSSCredential myCred, int lifetime)
Factory method for creating a context on the initiator's side.
GSSCredential
Factory method for acquiring default credentials.
GSSCredential
GSSManager.createCredential(GSSName aName, int lifetime, Oid mech, int usage)
Factory method for acquiring a single mechanism credential.
GSSCredential
GSSManager.createCredential(GSSName aName, int lifetime, Oid[] mechs, int usage)
Factory method for acquiring credentials over a set of mechanisms.
GSSName
GSSManager.createName(byte[] name, Oid nameType)
Factory method to convert a contiguous byte array containing a name from the specified namespace to a GSSName object.
GSSName
GSSManager.createName(byte[] name, Oid nameType, Oid mech)
Factory method to convert a contiguous byte array containing a name from the specified namespace to a GSSName object that is an MN.
GSSName
GSSManager.createName(String nameStr, Oid nameType)
Factory method to convert a contiguous string name from the specified namespace to a GSSName object.
GSSName
GSSManager.createName(String nameStr, Oid nameType, Oid mech)
Factory method to convert a contiguous string name from the specified namespace to an GSSName object that is a mechanism name (MN).
void
Releases any system resources and cryptographic information stored in the context object.
void
Releases any sensitive information that the GSSCredential object may be containing.
boolean
Compares two GSSName objects to determine whether they refer to the same entity.
byte[]
Provided to support the sharing of work between multiple processes.
byte[]
Returns a canonical contiguous byte representation of a mechanism name (MN), suitable for direct, byte by byte comparison by authorization functions.
byte[]
Returns the full ASN.1 DER encoding for this oid object, which includes the tag and length.
GSSCredential
Returns the delegated credential object on the acceptor's side.
byte[]
GSSContext.getMIC(byte[] inMsg, int offset, int len, MessageProp msgProp)
Returns a token containing a cryptographic MIC for the supplied message, for transfer to the peer application.
void
GSSContext.getMIC(InputStream inStream, OutputStream outStream, MessageProp mgProp)
Produces a token containing a cryptographic MIC for the supplied message, for transfer to the peer application.
Oid
Returns the mechanism oid for this context.
Oid[]
Returns an array of mechanisms supported by this credential.
GSSName
Retrieves the name of the entity that the credential asserts.
GSSName
Retrieves a mechanism name of the entity that the credential asserts.
Oid[]
Returns name type Oid's supported by the specified mechanism.
int
Returns the remaining lifetime is seconds for the credential to remain capable of accepting security contexts under the specified mechanism.
int
Returns the remaining lifetime is seconds for the credential to remain capable of initiating security contexts under the specified mechanism.
int
Returns the remaining lifetime in seconds for a credential.
GSSName
Returns the name of the context initiator.
Oid
Returns the oid representing the type of name returned through the toString() method.
GSSName
Returns the name of the context target (acceptor).
int
Returns the credential usage flag.
int
Returns the credential usage flag for the specified credential mechanism.
int
GSSContext.getWrapSizeLimit(int qop, boolean confReq, int maxTokenSize)
Returns the maximum message size that, if presented to the wrap(byte[],int,int,MessageProp) method with the same confReq and qop parameters, will result in an output token containing no more than the maxTokenSize bytes.

This call is intended for use by applications that communicate over protocols that impose a maximum message size.

byte[]
GSSContext.initSecContext(byte[] inputBuf, int offset, int len)
Called by the context initiator to start the context creation process.
int
Called by the context initiator to start the context creation process.
boolean
Returns "true" if this is the initiator of the context.
boolean
Returns "true" if the context is transferable to other processes through the use of the export() method.
void
Requests anonymous support over the context.
void
GSSContext.requestConf(boolean state)
Requests that confidentiality service be available over the context.
void
Sets the request state for the credential delegation flag for the context.
void
GSSContext.requestInteg(boolean state)
Requests that integrity services be available over the context.
void
Sets the desired lifetime for the context in seconds.
void
Sets the request state of the mutual authentication flag for the context.
void
Sets the request state of the replay detection service for the context.
void
Sets the request state for the sequence checking service of the context.
void
Sets the channel bindings to be used during context establishment.
byte[]
GSSContext.unwrap(byte[] inBuf, int offset, int len, MessageProp msgProp)
Used by the peer application to process tokens generated with the wrap call.
void
GSSContext.unwrap(InputStream inStream, OutputStream outStream, MessageProp msgProp)
Used by the peer application to process tokens generated with the wrap call.
void
GSSContext.verifyMIC(byte[] inTok, int tokOffset, int tokLen, byte[] inMsg, int msgOffset, int msgLen, MessageProp msgProp)
Verifies the cryptographic MIC, contained in the token parameter, over the supplied message.
void
GSSContext.verifyMIC(InputStream tokStream, InputStream msgStream, MessageProp msgProp)
Verifies the cryptographic MIC, contained in the token parameter, over the supplied message.
byte[]
GSSContext.wrap(byte[] inBuf, int offset, int len, MessageProp msgProp)
Applies per-message security services over the established security context.
void
GSSContext.wrap(InputStream inStream, OutputStream outStream, MessageProp msgProp)
Allows to apply per-message security services over the established security context.