public byte[] acceptSecContext(byte[] inBuff,
int off,
int len)
throws org.ietf.jgss.GSSException
Specified by:
acceptSecContext in interface org.ietf.jgss.GSSContext
org.ietf.jgss.GSSException
initSecContext
public byte[] initSecContext(byte[] inBuff,
int off,
int len)
throws org.ietf.jgss.GSSException
Specified by:
initSecContext in interface org.ietf.jgss.GSSContext
org.ietf.jgss.GSSException
wrap
public byte[] wrap(byte[] inBuf,
int off,
int len,
org.ietf.jgss.MessageProp prop)
throws org.ietf.jgss.GSSException
Specified by:
wrap in interface org.ietf.jgss.GSSContext
org.ietf.jgss.GSSException
unwrap
public byte[] unwrap(byte[] inBuf,
int off,
int len,
org.ietf.jgss.MessageProp prop)
throws org.ietf.jgss.GSSException
Specified by:
unwrap in interface org.ietf.jgss.GSSContext
org.ietf.jgss.GSSException
dispose
public void dispose()
throws org.ietf.jgss.GSSException
Specified by:
dispose in interface org.ietf.jgss.GSSContext
org.ietf.jgss.GSSException
isEstablished
public boolean isEstablished()
Specified by:
isEstablished in interface org.ietf.jgss.GSSContext
requestCredDeleg
public void requestCredDeleg(boolean state)
throws org.ietf.jgss.GSSException
Specified by:
requestCredDeleg in interface org.ietf.jgss.GSSContext
org.ietf.jgss.GSSException
getCredDelegState
public boolean getCredDelegState()
Specified by:
getCredDelegState in interface org.ietf.jgss.GSSContext
isInitiator
public boolean isInitiator()
throws org.ietf.jgss.GSSException
Specified by:
isInitiator in interface org.ietf.jgss.GSSContext
org.ietf.jgss.GSSException
isProtReady
public boolean isProtReady()
Specified by:
isProtReady in interface org.ietf.jgss.GSSContext
getLifetime
public int getLifetime()
Specified by:
getLifetime in interface org.ietf.jgss.GSSContext
getMech
public org.ietf.jgss.Oid getMech()
throws org.ietf.jgss.GSSException
Specified by:
getMech in interface org.ietf.jgss.GSSContext
org.ietf.jgss.GSSException
getDelegCred
public org.ietf.jgss.GSSCredential getDelegCred()
throws org.ietf.jgss.GSSException
Specified by:
getDelegCred in interface org.ietf.jgss.GSSContext
org.ietf.jgss.GSSException
requestConf
public void requestConf(boolean state)
throws org.ietf.jgss.GSSException
Specified by:
requestConf in interface org.ietf.jgss.GSSContext
org.ietf.jgss.GSSException
getConfState
public boolean getConfState()
Specified by:
getConfState in interface org.ietf.jgss.GSSContext
getIntegState
public boolean getIntegState()
Specified by:
getIntegState in interface org.ietf.jgss.GSSContext
requestInteg
public void requestInteg(boolean state)
throws org.ietf.jgss.GSSException
Specified by:
requestInteg in interface org.ietf.jgss.GSSContext
org.ietf.jgss.GSSException
requestMutualAuth
public void requestMutualAuth(boolean state)
throws org.ietf.jgss.GSSException
Specified by:
requestMutualAuth in interface org.ietf.jgss.GSSContext
org.ietf.jgss.GSSException
getMutualAuthState
public boolean getMutualAuthState()
Specified by:
getMutualAuthState in interface org.ietf.jgss.GSSContext
getMIC
public byte[] getMIC(byte[] inMsg,
int off,
int len,
org.ietf.jgss.MessageProp msgProp)
throws org.ietf.jgss.GSSException
Specified by:
getMIC in interface org.ietf.jgss.GSSContext
org.ietf.jgss.GSSException
verifyMIC
public void verifyMIC(byte[] inTok,
int tokOff,
int tokLen,
byte[] inMsg,
int msgOffset,
int msgLen,
org.ietf.jgss.MessageProp msgProp)
throws org.ietf.jgss.GSSException
Specified by:
verifyMIC in interface org.ietf.jgss.GSSContext
org.ietf.jgss.GSSException
getSrcName
public org.ietf.jgss.GSSName getSrcName()
throws org.ietf.jgss.GSSException
Specified by:
getSrcName in interface org.ietf.jgss.GSSContext
org.ietf.jgss.GSSException
getTargName
public org.ietf.jgss.GSSName getTargName()
throws org.ietf.jgss.GSSException
Specified by:
getTargName in interface org.ietf.jgss.GSSContext
org.ietf.jgss.GSSException
setDelegationType
public void setDelegationType(int delegationType)
initSecContext
public int initSecContext(java.io.InputStream in,
java.io.OutputStream out)
throws org.ietf.jgss.GSSException
Specified by:
initSecContext in interface org.ietf.jgss.GSSContext
org.ietf.jgss.GSSException
acceptSecContext
public void acceptSecContext(java.io.InputStream in,
java.io.OutputStream out)
throws org.ietf.jgss.GSSException
Specified by:
acceptSecContext in interface org.ietf.jgss.GSSContext
org.ietf.jgss.GSSException
getWrapSizeLimit
public int getWrapSizeLimit(int qop,
boolean confReq,
int maxTokenSize)
throws org.ietf.jgss.GSSException
Specified by:
getWrapSizeLimit in interface org.ietf.jgss.GSSContext
org.ietf.jgss.GSSException
wrap
public void wrap(java.io.InputStream inStream,
java.io.OutputStream outStream,
org.ietf.jgss.MessageProp msgProp)
throws org.ietf.jgss.GSSException
Specified by:
wrap in interface org.ietf.jgss.GSSContext
org.ietf.jgss.GSSException
unwrap
public void unwrap(java.io.InputStream inStream,
java.io.OutputStream outStream,
org.ietf.jgss.MessageProp msgProp)
throws org.ietf.jgss.GSSException
Specified by:
unwrap in interface org.ietf.jgss.GSSContext
org.ietf.jgss.GSSException
getMIC
public void getMIC(java.io.InputStream inStream,
java.io.OutputStream outStream,
org.ietf.jgss.MessageProp msgProp)
throws org.ietf.jgss.GSSException
Specified by:
getMIC in interface org.ietf.jgss.GSSContext
org.ietf.jgss.GSSException
verifyMIC
public void verifyMIC(java.io.InputStream tokStream,
java.io.InputStream msgStream,
org.ietf.jgss.MessageProp msgProp)
throws org.ietf.jgss.GSSException
Specified by:
verifyMIC in interface org.ietf.jgss.GSSContext
org.ietf.jgss.GSSException
requestLifetime
public void requestLifetime(int lifetime)
throws org.ietf.jgss.GSSException
Specified by:
requestLifetime in interface org.ietf.jgss.GSSContext
org.ietf.jgss.GSSException
setChannelBinding
public void setChannelBinding(org.ietf.jgss.ChannelBinding cb)
throws org.ietf.jgss.GSSException
Specified by:
setChannelBinding in interface org.ietf.jgss.GSSContext
org.ietf.jgss.GSSException
requestAnonymity
public void requestAnonymity(boolean state)
throws org.ietf.jgss.GSSException
Specified by:
requestAnonymity in interface org.ietf.jgss.GSSContext
org.ietf.jgss.GSSException
getAnonymityState
public boolean getAnonymityState()
Specified by:
getAnonymityState in interface org.ietf.jgss.GSSContext
requestReplayDet
public void requestReplayDet(boolean state)
throws org.ietf.jgss.GSSException
Specified by:
requestReplayDet in interface org.ietf.jgss.GSSContext
org.ietf.jgss.GSSException
getReplayDetState
public boolean getReplayDetState()
Specified by:
getReplayDetState in interface org.ietf.jgss.GSSContext
requestSequenceDet
public void requestSequenceDet(boolean state)
throws org.ietf.jgss.GSSException
Specified by:
requestSequenceDet in interface org.ietf.jgss.GSSContext
org.ietf.jgss.GSSException
getSequenceDetState
public boolean getSequenceDetState()
Specified by:
getSequenceDetState in interface org.ietf.jgss.GSSContext
isTransferable
public boolean isTransferable()
throws org.ietf.jgss.GSSException
Specified by:
isTransferable in interface org.ietf.jgss.GSSContext
org.ietf.jgss.GSSException
export
public byte[] export()
throws org.ietf.jgss.GSSException