KickJava   Java API By Example, From Geeks To Geeks.

Java > Java SE, EE, ME > org > ietf > jgss > GSSContext

org.ietf.jgss
Interface GSSContext

See Also:
Top Examples, Source Code, dispose, getMIC, wrap, isProtReady, acceptSecContext, initSecContext

byte[] acceptSecContext(byte[] inToken,
                        int offset,
                        int len)
                        throws GSSException
See Also:
GSSException.FAILURE, GSSException.BAD_MECH, GSSException.DUPLICATE_TOKEN, GSSException.OLD_TOKEN, GSSException.BAD_BINDINGS, GSSException.CREDENTIALS_EXPIRED, GSSException.NO_CRED, GSSException.BAD_MIC, GSSException.DEFECTIVE_TOKEN, SecurityException, isEstablished
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


void acceptSecContext(InputStream inStream,
                      OutputStream outStream)
                      throws GSSException
See Also:
GSSException.FAILURE, GSSException.BAD_MECH, GSSException.DUPLICATE_TOKEN, GSSException.OLD_TOKEN, GSSException.BAD_BINDINGS, GSSException.CREDENTIALS_EXPIRED, GSSException.NO_CRED, GSSException.BAD_MIC, GSSException.DEFECTIVE_TOKEN, SecurityException, acceptSecContext, isEstablished, flush
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


static final int DEFAULT_LIFETIME
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


void dispose()
             throws GSSException
See Also:
GSSException.FAILURE
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


byte[] export()
              throws GSSException
See Also:
GSSManager.createContext(byte[]), GSSException.FAILURE, GSSException.NO_CONTEXT, GSSException.CONTEXT_EXPIRED, GSSException.UNAVAILABLE, isTransferable
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


boolean getAnonymityState()
See Also:
requestAnonymity(boolean)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


boolean getConfState()
See Also:
requestConf(boolean), getIntegState, isEstablished, isProtReady
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


boolean getCredDelegState()
See Also:
requestCredDeleg(boolean)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


GSSCredential getDelegCred()
                           throws GSSException
See Also:
GSSException.FAILURE, getCredDelegState
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


boolean getIntegState()
See Also:
requestInteg(boolean), getConfState, isEstablished, isProtReady
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


int getLifetime()
See Also:
requestLifetime(int), isEstablished
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


Oid getMech()
            throws GSSException
See Also:
GSSException.FAILURE
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


byte[] getMIC(byte[] inMsg,
              int offset,
              int len,
              MessageProp msgProp)
              throws GSSException
See Also:
GSSException.FAILURE, GSSException.BAD_QOP, GSSException.CONTEXT_EXPIRED
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


void getMIC(InputStream inStream,
            OutputStream outStream,
            MessageProp msgProp)
            throws GSSException
See Also:
GSSException.FAILURE, GSSException.BAD_QOP, GSSException.CONTEXT_EXPIRED, getMIC
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


boolean getMutualAuthState()
See Also:
requestMutualAuth(boolean)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


boolean getReplayDetState()
See Also:
requestReplayDet(boolean)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


boolean getSequenceDetState()
See Also:
requestSequenceDet(boolean)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


GSSName getSrcName()
                   throws GSSException
See Also:
GSSException.FAILURE, isEstablished, isProtReady
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


GSSName getTargName()
                    throws GSSException
See Also:
GSSException.FAILURE, isEstablished, isProtReady
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


int getWrapSizeLimit(int qop,
                     boolean confReq,
                     int maxTokenSize)
                     throws GSSException
See Also:
GSSException.FAILURE, GSSException.BAD_QOP, GSSException.CONTEXT_EXPIRED
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


static final int INDEFINITE_LIFETIME
See Also:
Integer.MAX_VALUE
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


byte[] initSecContext(byte[] inputBuf,
                      int offset,
                      int len)
                      throws GSSException
See Also:
GSSException.FAILURE, GSSException.BAD_MECH, GSSException.BAD_NAMETYPE, GSSException.DUPLICATE_TOKEN, GSSException.OLD_TOKEN, GSSException.BAD_BINDINGS, GSSException.CREDENTIALS_EXPIRED, GSSException.NO_CRED, GSSException.BAD_MIC, GSSException.DEFECTIVE_TOKEN, SecurityException, isEstablished
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


int initSecContext(InputStream inStream,
                   OutputStream outStream)
                   throws GSSException
See Also:
GSSException.FAILURE, GSSException.BAD_MECH, GSSException.BAD_NAMETYPE, GSSException.DUPLICATE_TOKEN, GSSException.OLD_TOKEN, GSSException.BAD_BINDINGS, GSSException.CREDENTIALS_EXPIRED, GSSException.NO_CRED, GSSException.BAD_MIC, GSSException.DEFECTIVE_TOKEN, SecurityException, initSecContext, isEstablished, flush
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


boolean isEstablished()
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


boolean isInitiator()
                    throws GSSException
See Also:
GSSException.FAILURE
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


boolean isProtReady()
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


boolean isTransferable()
                       throws GSSException
See Also:
GSSException.FAILURE, export
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


void requestAnonymity(boolean state)
                      throws GSSException
See Also:
getAnonymityState(), GSSException.FAILURE
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


void requestConf(boolean state)
                 throws GSSException
See Also:
MessageProp, requestInteg(boolean), getIntegState(), getConfState(), GSSException.FAILURE, MessageProp
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


void requestCredDeleg(boolean state)
                      throws GSSException
See Also:
getCredDelegState(), GSSException.FAILURE
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


void requestInteg(boolean state)
                  throws GSSException
See Also:
getIntegState(), GSSException.FAILURE
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


void requestLifetime(int lifetime)
                     throws GSSException
See Also:
getLifetime(), GSSException.FAILURE
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


void requestMutualAuth(boolean state)
                       throws GSSException
See Also:
getMutualAuthState(), GSSException.FAILURE
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


void requestReplayDet(boolean state)
                      throws GSSException
See Also:
getReplayDetState(), GSSException.FAILURE, MessageProp.isOldToken, MessageProp.isDuplicateToken
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


void requestSequenceDet(boolean state)
                        throws GSSException
See Also:
getSequenceDetState(), GSSException.FAILURE, MessageProp.isGapToken, MessageProp.isUnseqToken, MessageProp.isOldToken, MessageProp.isDuplicateToken
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


void setChannelBinding(ChannelBinding cb)
                       throws GSSException
See Also:
GSSException.FAILURE
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


byte[] unwrap(byte[] inBuf,
              int offset,
              int len,
              MessageProp msgProp)
              throws GSSException
See Also:
GSSException.FAILURE, GSSException.CONTEXT_EXPIRED, GSSException.BAD_MIC, GSSException.DEFECTIVE_TOKEN
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


void unwrap(InputStream inStream,
            OutputStream outStream,
            MessageProp msgProp)
            throws GSSException
See Also:
GSSException.FAILURE, GSSException.CONTEXT_EXPIRED, GSSException.BAD_MIC, GSSException.DEFECTIVE_TOKEN, unwrap
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


void verifyMIC(byte[] inToken,
               int tokOffset,
               int tokLen,
               byte[] inMsg,
               int msgOffset,
               int msgLen,
               MessageProp msgProp)
               throws GSSException
See Also:
GSSException.FAILURE, GSSException.CONTEXT_EXPIRED, GSSException.BAD_MIC, GSSException.DEFECTIVE_TOKEN
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


void verifyMIC(InputStream tokStream,
               InputStream msgStream,
               MessageProp msgProp)
               throws GSSException
See Also:
GSSException.FAILURE, GSSException.CONTEXT_EXPIRED, GSSException.BAD_MIC, GSSException.DEFECTIVE_TOKEN, verifyMIC
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


byte[] wrap(byte[] inBuf,
            int offset,
            int len,
            MessageProp msgProp)
            throws GSSException
See Also:
GSSException.FAILURE, GSSException.BAD_QOP, GSSException.CONTEXT_EXPIRED
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


void wrap(InputStream inStream,
          OutputStream outStream,
          MessageProp msgProp)
          throws GSSException
See Also:
GSSException.FAILURE, GSSException.BAD_QOP, GSSException.CONTEXT_EXPIRED, flush, wrap
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  

Popular Tags