public final class GSSUPContextSpi extends Object implements sun.security.jgss.spi.GSSContextSpi
Constructor and Description |
---|
GSSUPContextSpi(Provider provider,
Oid mechOid,
sun.security.jgss.spi.GSSNameSpi nameSpi,
sun.security.jgss.spi.GSSCredentialSpi credSpi,
int lifetime) |
Modifier and Type | Method and Description |
---|---|
byte[] |
acceptSecContext(InputStream inStream,
int inLen) |
void |
dispose() |
byte[] |
export() |
boolean |
getAnonymityState() |
boolean |
getConfState() |
boolean |
getCredDelegState() |
sun.security.jgss.spi.GSSCredentialSpi |
getDelegCred() |
boolean |
getDelegPolicyState() |
boolean |
getIntegState() |
int |
getLifetime() |
Oid |
getMech() |
byte[] |
getMIC(byte[] b1,
int i1,
int i2,
MessageProp mp) |
void |
getMIC(InputStream inStream,
OutputStream outStream,
MessageProp mp) |
boolean |
getMutualAuthState() |
Provider |
getProvider() |
boolean |
getReplayDetState() |
boolean |
getSequenceDetState() |
sun.security.jgss.spi.GSSNameSpi |
getSrcName() |
sun.security.jgss.spi.GSSNameSpi |
getTargName() |
int |
getWrapSizeLimit(int i1,
boolean b1,
int i2) |
byte[] |
initSecContext(InputStream inStream,
int inLen) |
Object |
inquireSecContext(com.sun.security.jgss.InquireType type) |
boolean |
isEstablished() |
boolean |
isInitiator() |
boolean |
isProtReady() |
boolean |
isTransferable() |
void |
requestAnonymity(boolean tf) |
void |
requestConf(boolean tf) |
void |
requestCredDeleg(boolean tf) |
void |
requestDelegPolicy(boolean state) |
void |
requestInteg(boolean tf) |
void |
requestLifetime(int lifetime) |
void |
requestMutualAuth(boolean tf) |
void |
requestReplayDet(boolean tf) |
void |
requestSequenceDet(boolean tf) |
void |
setChannelBinding(ChannelBinding cb) |
int |
unwrap(byte[] b1,
int i1,
int i2,
byte[] b2,
int i3,
MessageProp mp) |
byte[] |
unwrap(byte[] b,
int i1,
int i2,
MessageProp mp) |
int |
unwrap(InputStream inStream,
byte[] b,
int i1,
MessageProp mp) |
void |
unwrap(InputStream inStream,
OutputStream outStream,
MessageProp mp) |
void |
verifyMIC(byte[] b1,
int i1,
int i2,
byte[] b2,
int i3,
int i4,
MessageProp mp) |
void |
verifyMIC(InputStream inStream1,
InputStream inStream2,
MessageProp mp) |
int |
wrap(byte[] b1,
int i1,
int i2,
byte[] b2,
int i3,
MessageProp mp) |
byte[] |
wrap(byte[] b,
int i1,
int i2,
MessageProp mp) |
void |
wrap(byte[] b,
int i1,
int i2,
OutputStream outStream,
MessageProp mp) |
void |
wrap(InputStream inStream,
OutputStream outStream,
MessageProp mp) |
public Provider getProvider()
getProvider
in interface sun.security.jgss.spi.GSSContextSpi
public void requestLifetime(int lifetime) throws GSSException
requestLifetime
in interface sun.security.jgss.spi.GSSContextSpi
GSSException
public void requestMutualAuth(boolean tf) throws GSSException
requestMutualAuth
in interface sun.security.jgss.spi.GSSContextSpi
GSSException
public void requestReplayDet(boolean tf) throws GSSException
requestReplayDet
in interface sun.security.jgss.spi.GSSContextSpi
GSSException
public void requestSequenceDet(boolean tf) throws GSSException
requestSequenceDet
in interface sun.security.jgss.spi.GSSContextSpi
GSSException
public void requestCredDeleg(boolean tf) throws GSSException
requestCredDeleg
in interface sun.security.jgss.spi.GSSContextSpi
GSSException
public void requestAnonymity(boolean tf) throws GSSException
requestAnonymity
in interface sun.security.jgss.spi.GSSContextSpi
GSSException
public void requestConf(boolean tf) throws GSSException
requestConf
in interface sun.security.jgss.spi.GSSContextSpi
GSSException
public void requestInteg(boolean tf) throws GSSException
requestInteg
in interface sun.security.jgss.spi.GSSContextSpi
GSSException
public void setChannelBinding(ChannelBinding cb) throws GSSException
setChannelBinding
in interface sun.security.jgss.spi.GSSContextSpi
GSSException
public boolean getCredDelegState()
getCredDelegState
in interface sun.security.jgss.spi.GSSContextSpi
public boolean getMutualAuthState()
getMutualAuthState
in interface sun.security.jgss.spi.GSSContextSpi
public boolean getReplayDetState()
getReplayDetState
in interface sun.security.jgss.spi.GSSContextSpi
public boolean getSequenceDetState()
getSequenceDetState
in interface sun.security.jgss.spi.GSSContextSpi
public boolean getAnonymityState()
getAnonymityState
in interface sun.security.jgss.spi.GSSContextSpi
public boolean isTransferable() throws GSSException
isTransferable
in interface sun.security.jgss.spi.GSSContextSpi
GSSException
public boolean isProtReady()
isProtReady
in interface sun.security.jgss.spi.GSSContextSpi
public boolean getConfState()
getConfState
in interface sun.security.jgss.spi.GSSContextSpi
public boolean getIntegState()
getIntegState
in interface sun.security.jgss.spi.GSSContextSpi
public int getLifetime()
getLifetime
in interface sun.security.jgss.spi.GSSContextSpi
public boolean isEstablished()
isEstablished
in interface sun.security.jgss.spi.GSSContextSpi
public sun.security.jgss.spi.GSSNameSpi getSrcName() throws GSSException
getSrcName
in interface sun.security.jgss.spi.GSSContextSpi
GSSException
public sun.security.jgss.spi.GSSNameSpi getTargName() throws GSSException
getTargName
in interface sun.security.jgss.spi.GSSContextSpi
GSSException
public Oid getMech() throws GSSException
getMech
in interface sun.security.jgss.spi.GSSContextSpi
GSSException
public sun.security.jgss.spi.GSSCredentialSpi getDelegCred() throws GSSException
getDelegCred
in interface sun.security.jgss.spi.GSSContextSpi
GSSException
public byte[] initSecContext(InputStream inStream, int inLen) throws GSSException
initSecContext
in interface sun.security.jgss.spi.GSSContextSpi
GSSException
public byte[] acceptSecContext(InputStream inStream, int inLen) throws GSSException
acceptSecContext
in interface sun.security.jgss.spi.GSSContextSpi
GSSException
public int getWrapSizeLimit(int i1, boolean b1, int i2) throws GSSException
getWrapSizeLimit
in interface sun.security.jgss.spi.GSSContextSpi
GSSException
public void wrap(InputStream inStream, OutputStream outStream, MessageProp mp) throws GSSException
wrap
in interface sun.security.jgss.spi.GSSContextSpi
GSSException
public byte[] wrap(byte[] b, int i1, int i2, MessageProp mp) throws GSSException
wrap
in interface sun.security.jgss.spi.GSSContextSpi
GSSException
public int wrap(byte[] b1, int i1, int i2, byte[] b2, int i3, MessageProp mp) throws GSSException
GSSException
public void wrap(byte[] b, int i1, int i2, OutputStream outStream, MessageProp mp) throws GSSException
GSSException
public void unwrap(InputStream inStream, OutputStream outStream, MessageProp mp) throws GSSException
unwrap
in interface sun.security.jgss.spi.GSSContextSpi
GSSException
public byte[] unwrap(byte[] b, int i1, int i2, MessageProp mp) throws GSSException
unwrap
in interface sun.security.jgss.spi.GSSContextSpi
GSSException
public int unwrap(byte[] b1, int i1, int i2, byte[] b2, int i3, MessageProp mp) throws GSSException
GSSException
public int unwrap(InputStream inStream, byte[] b, int i1, MessageProp mp) throws GSSException
GSSException
public void getMIC(InputStream inStream, OutputStream outStream, MessageProp mp) throws GSSException
getMIC
in interface sun.security.jgss.spi.GSSContextSpi
GSSException
public byte[] getMIC(byte[] b1, int i1, int i2, MessageProp mp) throws GSSException
getMIC
in interface sun.security.jgss.spi.GSSContextSpi
GSSException
public void verifyMIC(InputStream inStream1, InputStream inStream2, MessageProp mp) throws GSSException
verifyMIC
in interface sun.security.jgss.spi.GSSContextSpi
GSSException
public void verifyMIC(byte[] b1, int i1, int i2, byte[] b2, int i3, int i4, MessageProp mp) throws GSSException
verifyMIC
in interface sun.security.jgss.spi.GSSContextSpi
GSSException
public byte[] export() throws GSSException
export
in interface sun.security.jgss.spi.GSSContextSpi
GSSException
public void dispose() throws GSSException
dispose
in interface sun.security.jgss.spi.GSSContextSpi
GSSException
public boolean isInitiator()
isInitiator
in interface sun.security.jgss.spi.GSSContextSpi
public boolean getDelegPolicyState()
getDelegPolicyState
in interface sun.security.jgss.spi.GSSContextSpi
public void requestDelegPolicy(boolean state)
requestDelegPolicy
in interface sun.security.jgss.spi.GSSContextSpi
public Object inquireSecContext(com.sun.security.jgss.InquireType type)
inquireSecContext
in interface sun.security.jgss.spi.GSSContextSpi
Copyright © 2016 JacORB. All rights reserved.