|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface C018FE95
An object of this class implements the functionality of a GSSContext for a specific mechanism. A C018FE95 object can be thought of having 3 states: -before initialization -during initialization with its peer -after it is established
The context options can only be requested in state 1. In state 3, the per message operations are available to the callers. The get methods for the context options will return the requested options while in state 1 and 2, and the established values in state 3. Some mechanisms may allow the access to the per-message operations and the context flags before the context is fully established. The isProtReady method is used to indicate that these services are available.
Method Summary | |
---|---|
int |
_S00027C3()
Retrieves the mechanism options. |
GSSNameSpi |
_S000EEFF()
Returns the context initiator name. |
void |
_S00256CF(java.io.InputStream is,
java.io.InputStream msgStr,
MessageProp mProp)
Checks the integrity of the supplied tokens. |
GSSNameSpi |
_S011CEF9()
Returns the context acceptor name. |
Oid |
_S0200735()
Returns the mechanism oid. |
void |
_S020B957()
Releases context resources and terminates the context between 2 peer. |
GSSCredSpi |
_S0293FFA()
Returns the delegated credential for the context. |
void |
_S0AC8F9E(byte[] token)
Imports a previously exported context. |
int |
_S0E039DB(java.io.InputStream is,
java.io.OutputStream os)
Initiator context establishment call. |
boolean |
_S1116FAA()
Tests if the context can be used for per-message service. |
boolean |
_S123049E()
Tests if this is the initiator side of the context. |
void |
_S1309AFD(java.io.InputStream is,
java.io.OutputStream os,
MessageProp msgProp)
Provides per-message token encapsulation. |
void |
_S1513DBA(java.io.InputStream is,
java.io.OutputStream os,
MessageProp msgProp)
Applies per-message integrity services. |
void |
_S1576D09(java.io.InputStream is,
java.io.OutputStream os,
MessageProp msgProp)
Retrieves the message token previously encapsulated in the wrap call. |
void |
_S235D9C1(GSSCredSpi myCred,
GSSNameSpi targName,
int desLifetime,
int ctxtOptions)
Sets the mechanism options to be used during context creation on the initiator's side. |
int |
_S4080EED()
Inquire the remaining lifetime. |
byte[] |
_S725B2DA()
Produces a token representing this context. |
int |
_S808028B(int qop,
boolean confReq,
int maxTokSize)
Queries the context for largest data size to accomodate the specified protection and for the token to remain less then maxTokSize. |
int |
_S80A2F2C(java.io.InputStream is,
java.io.OutputStream os)
Acceptor's context establishment call. |
void |
_S90010CC(GSSCredSpi myCred)
Sets the mechanism options to be used during context creation on the acceptor's side. |
void |
_S9B00AB2(ChannelBinding chb)
Sets the channel bindings to be used during context establishment. |
Method Detail |
---|
void _S235D9C1(GSSCredSpi myCred, GSSNameSpi targName, int desLifetime, int ctxtOptions) throws GSSException
myCred
- the principal's credentials; may be nulltargName
- the context peerdesLifetime
- the requested lifetime; 0 indicates use
defaultmechOptions
- ORed GSSContext options
GSSException
- may be thrownvoid _S90010CC(GSSCredSpi myCred) throws GSSException
myCred
- the principal's credentials; may be null
GSSException
- may be thrownvoid _S9B00AB2(ChannelBinding chb) throws GSSException
chb
- channel bindings to be set
GSSException
- may be thrownint _S00027C3()
int _S4080EED()
Oid _S0200735()
GSSNameSpi _S000EEFF() throws GSSException
GSSException
- may be thrownGSSNameSpi _S011CEF9() throws GSSException
GSSException
- may be thrownGSSCredSpi _S0293FFA() throws GSSException
GSSException
- may be thrownGSSContext.getDelegCredState()
boolean _S123049E()
boolean _S1116FAA()
int _S0E039DB(java.io.InputStream is, java.io.OutputStream os) throws GSSException
is
- contains the token received from the peer. On the
first call it will be ignored.os
- to which any tokens required to be sent to the peer
will be written. It is responsibility of the caller
to send the token to its peer for processing.
GSSException
- may be thrownint _S80A2F2C(java.io.InputStream is, java.io.OutputStream os) throws GSSException
is
- contains the token received from the peer.os
- to which any tokens required to be sent to the peer
will be written. It is responsibility of the caller
to send the token to its peer for processing.
GSSException
- may be thrownint _S808028B(int qop, boolean confReq, int maxTokSize) throws GSSException
qop
- the quality of protection that the context will be
asked to provide.confReq
- a flag indicating whether confidentiality will be
requested or notoutputSize
- the maximum size of the output token
GSSException
- may be thrownvoid _S1309AFD(java.io.InputStream is, java.io.OutputStream os, MessageProp msgProp) throws GSSException
is
- the user-provided message to be protectedos
- the token to be sent to the peer. It includes
the message from is with the requested protection.msgPro
- on input it contains the requested qop and
confidentiality state, on output, the applied values
GSSException
- may be thrownMessageInfo
,
unwrap
void _S1576D09(java.io.InputStream is, java.io.OutputStream os, MessageProp msgProp) throws GSSException
is
- the token from the peeros
- unprotected message datamsgProp
- will contain the applied qop and confidentiality
of the input token and any informatory status values
GSSException
- may be thrownMessageInfo
,
wrap
void _S1513DBA(java.io.InputStream is, java.io.OutputStream os, MessageProp msgProp) throws GSSException
is
- the user-provided messageos
- the token to be sent to the peer along with the
message token. The message token is not encapsulated.msgProp
- on input the desired QOP and output the applied QOP
GSSException
void _S00256CF(java.io.InputStream is, java.io.InputStream msgStr, MessageProp mProp) throws GSSException
is
- token generated by getMICmsgStr
- the message to check integrity formsgProp
- will contain the applied QOP and confidentiality
states of the token as well as any informatory status codes
GSSException
- may be thrownbyte[] _S725B2DA() throws GSSException
GSSException
- may be thrownvoid _S0AC8F9E(byte[] token) throws GSSException
is
- the previously exported token
GSSException
- may be thrownexport
void _S020B957() throws GSSException
GSSException
- may be thrown
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |