| Modifier and Type | Field and Description |
|---|---|
| private Oid | |
| private ChannelBinding | |
| private Cleaner. | |
| private GSSCredElement | |
| private final GSSLibStub | |
| private GSSCredElement | |
| private GSSCredElement | |
| private GSSCredElement | |
| private int | |
| private static final int | |
| private static final int | |
| private static final int | |
| private static final int | |
| private static final int | |
| private static final int | |
| private static final int | |
| private static final int | |
| private static final int | |
| private boolean | |
| private final boolean | |
| private int | |
| private static final int | |
| private long | |
| private GSSNameElement | |
| private GSSNameElement |
| Access | Constructor and Description |
|---|---|
| pack-priv | |
| pack-priv | |
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public byte[] | acceptSecContext(InputStream is, int mechTokenLen)
Implements sun. Acceptor's context establishment call. |
| private void | |
| private boolean | |
| public void | dispose()
Implements sun. Releases context resources and terminates the context between 2 peer. |
| private static Runnable | |
| public byte[] | export()
Implements sun. Produces a token representing this context. |
| public boolean | |
| public boolean | |
| public boolean | |
| public GSSCredentialSpi | |
| public boolean | |
| public boolean | |
| public int | |
| public Oid | |
| private static Oid | |
| public byte[] | getMIC(byte[] in, int offset, int len, MessageProp msgProp)
Implements sun.
|
| public void | getMIC(InputStream inStream, OutputStream outStream, MessageProp msgProp)
Implements sun. Applies per-message integrity services. |
| public boolean | |
| public Provider | |
| public boolean | |
| public boolean | |
| public GSSNameSpi | |
| public GSSNameSpi | |
| public int | getWrapSizeLimit(int qop, boolean confReq, int maxTokenSize)
Implements sun. Queries the context for largest data size to accommodate the specified protection and for the token to remain less than maxTokSize. |
| public byte[] | initSecContext(InputStream is, int mechTokenLen)
Implements sun. Initiator context establishment call. |
| public Object | inquireSecContext(String type)
Implements sun. Return the mechanism-specific attribute associated with |
| public boolean | |
| public boolean | |
| public boolean | |
| public boolean | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| private byte[] | |
| public void | |
| private void | |
| public byte[] | unwrap(byte[] inBuf, int offset, int len, MessageProp msgProp)
Implements sun. For apps that want simplicity and don't care about buffer copies. |
| public int | |
| public void | unwrap(InputStream inStream, OutputStream outStream, MessageProp msgProp)
Implements sun. Retrieves the message token previously encapsulated in the wrap call. |
| public int | |
| public void | verifyMIC(byte[] inToken, int tOffset, int tLen, byte[] inMsg, int mOffset, int mLen, MessageProp msgProp)
Implements sun.
|
| public void | verifyMIC(InputStream tokStream, InputStream msgStream, MessageProp msgProp)
Implements sun. Checks the integrity of the supplied tokens. |
| public byte[] | wrap(byte[] inBuf, int offset, int len, MessageProp msgProp)
Implements sun. For apps that want simplicity and don't care about buffer copies. |
| public void | |
| public int | |
| public void | wrap(InputStream inStream, OutputStream outStream, MessageProp msgProp)
Implements sun. Provides per-message token encapsulation. |
| actualMech | back to summary |
|---|---|
| private Oid actualMech | |
| cb | back to summary |
|---|---|
| private ChannelBinding cb | |
| cleanable | back to summary |
|---|---|
| private Cleaner. | |
| cred | back to summary |
|---|---|
| private GSSCredElement cred | |
| cStub | back to summary |
|---|---|
| private final GSSLibStub cStub | |
| delegatedCred | back to summary |
|---|---|
| private GSSCredElement delegatedCred | |
| disposeCred | back to summary |
|---|---|
| private GSSCredElement disposeCred | |
| disposeDelegatedCred | back to summary |
|---|---|
| private GSSCredElement disposeDelegatedCred | |
| flags | back to summary |
|---|---|
| private int flags | |
| GSS_C_ANON_FLAG | back to summary |
|---|---|
| private static final int GSS_C_ANON_FLAG | |
| GSS_C_CONF_FLAG | back to summary |
|---|---|
| private static final int GSS_C_CONF_FLAG | |
| GSS_C_DELEG_FLAG | back to summary |
|---|---|
| private static final int GSS_C_DELEG_FLAG | |
| GSS_C_INTEG_FLAG | back to summary |
|---|---|
| private static final int GSS_C_INTEG_FLAG | |
| GSS_C_MUTUAL_FLAG | back to summary |
|---|---|
| private static final int GSS_C_MUTUAL_FLAG | |
| GSS_C_PROT_READY_FLAG | back to summary |
|---|---|
| private static final int GSS_C_PROT_READY_FLAG | |
| GSS_C_REPLAY_FLAG | back to summary |
|---|---|
| private static final int GSS_C_REPLAY_FLAG | |
| GSS_C_SEQUENCE_FLAG | back to summary |
|---|---|
| private static final int GSS_C_SEQUENCE_FLAG | |
| GSS_C_TRANS_FLAG | back to summary |
|---|---|
| private static final int GSS_C_TRANS_FLAG | |
| isEstablished | back to summary |
|---|---|
| private boolean isEstablished | |
| isInitiator | back to summary |
|---|---|
| private final boolean isInitiator | |
| lifetime | back to summary |
|---|---|
| private int lifetime | |
| NUM_OF_INQUIRE_VALUES | back to summary |
|---|---|
| private static final int NUM_OF_INQUIRE_VALUES | |
| pContext | back to summary |
|---|---|
| private long pContext | |
| srcName | back to summary |
|---|---|
| private GSSNameElement srcName | |
| targetName | back to summary |
|---|---|
| private GSSNameElement targetName | |
| NativeGSSContext | back to summary |
|---|---|
| pack-priv NativeGSSContext(GSSNameElement peer, GSSCredElement myCred, int time, GSSLibStub stub) throws GSSException | |
| NativeGSSContext | back to summary |
|---|---|
| pack-priv NativeGSSContext(GSSCredElement myCred, GSSLibStub stub) throws GSSException | |
| NativeGSSContext | back to summary |
|---|---|
| pack-priv NativeGSSContext(long pCtxt, GSSLibStub stub) throws GSSException | |
| acceptSecContext | back to summary |
|---|---|
| public byte[] acceptSecContext(InputStream is, int mechTokenLen) throws GSSException Implements sun. Doc from sun. Acceptor's context establishment call. This method may be required to be called several times. A CONTINUE_NEEDED return call indicates that more calls are needed after the next token is received from the peer. This method is called by the GSS-Framework when the application calls the acceptSecContext method on the GSSContext implementation that it has a reference to. All overloaded forms of GSSContext.acceptSecContext() can be handled with this mechanism level acceptSecContext. Since the output token from this method is a fixed size, not exceedingly large, and a one time deal, an overloaded form that takes an OutputStream has not been defined. The GSS-Framework can write the returned byte[] to any application provided OutputStream. Similarly, any application input in the form of byte arrays will be wrapped in an input stream by the GSS-Framework and then passed here. The GSS-Framework will strip off the leading mechanism independent GSS-API header. In other words, only the mechanism specific inner-context token of RFC 2743 section 3.1 will be available on the InputStream.
| |
| changeFlags | back to summary |
|---|---|
| private void changeFlags(int flagMask, boolean isEnable) | |
| checkFlags | back to summary |
|---|---|
| private boolean checkFlags(int flagMask) | |
| dispose | back to summary |
|---|---|
| public void dispose() Implements sun. Doc from sun. Releases context resources and terminates the context between 2 peer. | |
| disposerFor | back to summary |
|---|---|
| private static Runnable disposerFor(GSSLibStub stub, long pContext) | |
| export | back to summary |
|---|---|
| public byte[] export() throws GSSException Implements sun. Doc from sun. Produces a token representing this context. After this call the context will no longer be usable until an import is performed on the returned token.
| |
| getAnonymityState | back to summary |
|---|---|
| public boolean getAnonymityState() Implements sun. | |
| getConfState | back to summary |
|---|---|
| public boolean getConfState() Implements sun. | |
| getCredDelegState | back to summary |
|---|---|
| public boolean getCredDelegState() Implements sun. | |
| getDelegCred | back to summary |
|---|---|
| public GSSCredentialSpi getDelegCred() throws GSSException Implements sun. | |
| getDelegPolicyState | back to summary |
|---|---|
| public boolean getDelegPolicyState() Implements sun. | |
| getIntegState | back to summary |
|---|---|
| public boolean getIntegState() Implements sun. | |
| getLifetime | back to summary |
|---|---|
| public int getLifetime() Implements sun. | |
| getMech | back to summary |
|---|---|
| public Oid getMech() throws GSSException Implements sun. | |
| getMechFromSpNegoToken | back to summary |
|---|---|
| private static Oid getMechFromSpNegoToken(byte[] token, boolean isInitiator) throws GSSException | |
| getMIC | back to summary |
|---|---|
| public byte[] getMIC(byte[] in, int offset, int len, MessageProp msgProp) throws GSSException Implements sun. | |
| getMIC | back to summary |
|---|---|
| public void getMIC(InputStream inStream, OutputStream outStream, MessageProp msgProp) throws GSSException Implements sun. Doc from sun. Applies per-message integrity services. | |
| getMutualAuthState | back to summary |
|---|---|
| public boolean getMutualAuthState() Implements sun. | |
| getProvider | back to summary |
|---|---|
| public Provider getProvider() Implements sun. | |
| getReplayDetState | back to summary |
|---|---|
| public boolean getReplayDetState() Implements sun. | |
| getSequenceDetState | back to summary |
|---|---|
| public boolean getSequenceDetState() Implements sun. | |
| getSrcName | back to summary |
|---|---|
| public GSSNameSpi getSrcName() throws GSSException Implements sun. | |
| getTargName | back to summary |
|---|---|
| public GSSNameSpi getTargName() throws GSSException Implements sun. | |
| getWrapSizeLimit | back to summary |
|---|---|
| public int getWrapSizeLimit(int qop, boolean confReq, int maxTokenSize) throws GSSException Implements sun. Doc from sun. Queries the context for largest data size to accommodate the specified protection and for the token to remain less than maxTokSize.
| |
| initSecContext | back to summary |
|---|---|
| public byte[] initSecContext(InputStream is, int mechTokenLen) throws GSSException Implements sun. Doc from sun. Initiator context establishment call. This method may be required to be called several times. A CONTINUE_NEEDED return call indicates that more calls are needed after the next token is received from the peer. This method is called by the GSS-Framework when the application calls the initSecContext method on the GSSContext implementation that it has a reference to. All overloaded forms of GSSContext.initSecContext() can be handled with this mechanism level initSecContext. Since the output token from this method is a fixed size, not exceedingly large, and a one time deal, an overloaded form that takes an OutputStream has not been defined. The GSS-Framework can write the returned byte[] to any application provided OutputStream. Similarly, any application input in the form of byte arrays will be wrapped in an input stream by the GSS-Framework and then passed here. The GSS-Framework will strip off the leading mechanism independent GSS-API header. In other words, only the mechanism specific inner-context token of RFC 2743 section 3.1 will be available on the InputStream.
| |
| inquireSecContext | back to summary |
|---|---|
| public Object inquireSecContext(String type) throws GSSException Implements sun. Doc from sun. Return the mechanism-specific attribute associated with
| |
| isEstablished | back to summary |
|---|---|
| public boolean isEstablished() Implements sun. | |
| isInitiator | back to summary |
|---|---|
| public boolean isInitiator() Implements sun. | |
| isProtReady | back to summary |
|---|---|
| public boolean isProtReady() Implements sun. | |
| isTransferable | back to summary |
|---|---|
| public boolean isTransferable() throws GSSException Implements sun. | |
| requestAnonymity | back to summary |
|---|---|
| public void requestAnonymity(boolean state) throws GSSException Implements sun. | |
| requestConf | back to summary |
|---|---|
| public void requestConf(boolean state) throws GSSException Implements sun. | |
| requestCredDeleg | back to summary |
|---|---|
| public void requestCredDeleg(boolean state) throws GSSException Implements sun. | |
| requestDelegPolicy | back to summary |
|---|---|
| public void requestDelegPolicy(boolean state) throws GSSException Implements sun. | |
| requestInteg | back to summary |
|---|---|
| public void requestInteg(boolean state) throws GSSException Implements sun. | |
| requestLifetime | back to summary |
|---|---|
| public void requestLifetime(int lifetime) throws GSSException Implements sun. | |
| requestMutualAuth | back to summary |
|---|---|
| public void requestMutualAuth(boolean state) throws GSSException Implements sun. | |
| requestReplayDet | back to summary |
|---|---|
| public void requestReplayDet(boolean state) throws GSSException Implements sun. | |
| requestSequenceDet | back to summary |
|---|---|
| public void requestSequenceDet(boolean state) throws GSSException Implements sun. | |
| retrieveToken | back to summary |
|---|---|
| private byte[] retrieveToken(InputStream is, int mechTokenLen) throws GSSException | |
| setChannelBinding | back to summary |
|---|---|
| public void setChannelBinding(ChannelBinding cb) throws GSSException Implements sun. | |
| setContext | back to summary |
|---|---|
| private void setContext(long pContext) | |
| unwrap | back to summary |
|---|---|
| public byte[] unwrap(byte[] inBuf, int offset, int len, MessageProp msgProp) throws GSSException Implements sun. Doc from sun. For apps that want simplicity and don't care about buffer copies. | |
| unwrap | back to summary |
|---|---|
| public int unwrap(byte[] inBuf, int inOffset, int len, byte[] outBuf, int outOffset, MessageProp msgProp) throws GSSException | |
| unwrap | back to summary |
|---|---|
| public void unwrap(InputStream inStream, OutputStream outStream, MessageProp msgProp) throws GSSException Implements sun. Doc from sun. Retrieves the message token previously encapsulated in the wrap call.
| |
| unwrap | back to summary |
|---|---|
| public int unwrap(InputStream inStream, byte[] outBuf, int outOffset, MessageProp msgProp) throws GSSException | |
| verifyMIC | back to summary |
|---|---|
| public void verifyMIC(byte[] inToken, int tOffset, int tLen, byte[] inMsg, int mOffset, int mLen, MessageProp msgProp) throws GSSException Implements sun. | |
| verifyMIC | back to summary |
|---|---|
| public void verifyMIC(InputStream tokStream, InputStream msgStream, MessageProp msgProp) throws GSSException Implements sun. Doc from sun. Checks the integrity of the supplied tokens. This token was previously generated by getMIC.
| |
| wrap | back to summary |
|---|---|
| public byte[] wrap(byte[] inBuf, int offset, int len, MessageProp msgProp) throws GSSException Implements sun. Doc from sun. For apps that want simplicity and don't care about buffer copies. | |
| wrap | back to summary |
|---|---|
| public void wrap(byte[] inBuf, int offset, int len, OutputStream os, MessageProp msgProp) throws GSSException | |
| wrap | back to summary |
|---|---|
| public int wrap(byte[] inBuf, int inOffset, int len, byte[] outBuf, int outOffset, MessageProp msgProp) throws GSSException | |
| wrap | back to summary |
|---|---|
| public void wrap(InputStream inStream, OutputStream outStream, MessageProp msgProp) throws GSSException Implements sun. Doc from sun. Provides per-message token encapsulation.
| |