パッケージ jcifs.ntlmssp
クラス NtlmMessage
- java.lang.Object
-
- jcifs.ntlmssp.NtlmMessage
-
- すべての実装されたインタフェース:
NtlmFlags
- 直系の既知のサブクラス:
Type1Message,Type2Message,Type3Message
public abstract class NtlmMessage extends Object implements NtlmFlags
Abstract superclass for all NTLMSSP messages.
-
-
フィールドの概要
フィールド 修飾子とタイプ フィールド 説明 protected static byte[]NTLMSSP_SIGNATUREThe NTLMSSP "preamble".protected static intNTLMSSP_TYPE1protected static intNTLMSSP_TYPE2protected static intNTLMSSP_TYPE3protected static byte[]NTLMSSP_VERSIONNTLM versionprotected static StringUNI_ENCODING-
インタフェースから継承されたフィールド jcifs.ntlmssp.NtlmFlags
NTLMSSP_NEGOTIATE_128, NTLMSSP_NEGOTIATE_56, NTLMSSP_NEGOTIATE_ALWAYS_SIGN, NTLMSSP_NEGOTIATE_ANONYMOUS, NTLMSSP_NEGOTIATE_DATAGRAM_STYLE, NTLMSSP_NEGOTIATE_EXTENDED_SESSIONSECURITY, NTLMSSP_NEGOTIATE_KEY_EXCH, NTLMSSP_NEGOTIATE_LM_KEY, NTLMSSP_NEGOTIATE_LOCAL_CALL, NTLMSSP_NEGOTIATE_NETWARE, NTLMSSP_NEGOTIATE_NTLM, NTLMSSP_NEGOTIATE_OEM, NTLMSSP_NEGOTIATE_OEM_DOMAIN_SUPPLIED, NTLMSSP_NEGOTIATE_OEM_WORKSTATION_SUPPLIED, NTLMSSP_NEGOTIATE_SEAL, NTLMSSP_NEGOTIATE_SIGN, NTLMSSP_NEGOTIATE_TARGET_INFO, NTLMSSP_NEGOTIATE_UNICODE, NTLMSSP_NEGOTIATE_VERSION, NTLMSSP_REQUEST_ACCEPT_RESPONSE, NTLMSSP_REQUEST_INIT_RESPONSE, NTLMSSP_REQUEST_NON_NT_SESSION_KEY, NTLMSSP_REQUEST_TARGET, NTLMSSP_TARGET_TYPE_DOMAIN, NTLMSSP_TARGET_TYPE_SERVER, NTLMSSP_TARGET_TYPE_SHARE
-
-
コンストラクタの概要
コンストラクタ コンストラクタ 説明 NtlmMessage()
-
メソッドの概要
すべてのメソッド インスタンス・メソッド abstractメソッド concreteメソッド 修飾子とタイプ メソッド 説明 booleangetFlag(int flag)Returns the status of the specified flag.intgetFlags()Returns the flags currently in use for this message.voidsetFlag(int flag, boolean value)Sets or clears the specified flag.voidsetFlags(int flags)Sets the flags for this message.abstract byte[]toByteArray()Returns the raw byte representation of this message.
-
-
-
フィールドの詳細
-
NTLMSSP_SIGNATURE
protected static final byte[] NTLMSSP_SIGNATURE
The NTLMSSP "preamble".
-
NTLMSSP_VERSION
protected static final byte[] NTLMSSP_VERSION
NTLM version
-
NTLMSSP_TYPE1
protected static final int NTLMSSP_TYPE1
- 関連項目:
- 定数フィールド値
-
NTLMSSP_TYPE2
protected static final int NTLMSSP_TYPE2
- 関連項目:
- 定数フィールド値
-
NTLMSSP_TYPE3
protected static final int NTLMSSP_TYPE3
- 関連項目:
- 定数フィールド値
-
-
メソッドの詳細
-
getFlags
public int getFlags()
Returns the flags currently in use for this message.- 戻り値:
- An
intcontaining the flags in use for this message.
-
setFlags
public void setFlags(int flags)
Sets the flags for this message.- パラメータ:
flags- The flags for this message.
-
getFlag
public boolean getFlag(int flag)
Returns the status of the specified flag.- パラメータ:
flag- The flag to test (i.e.,NTLMSSP_NEGOTIATE_OEM).- 戻り値:
- A
booleanindicating whether the flag is set.
-
setFlag
public void setFlag(int flag, boolean value)Sets or clears the specified flag.- パラメータ:
flag- The flag to set/clear (i.e.,NTLMSSP_NEGOTIATE_OEM).value- Indicates whether to set (true) or clear (false) the specified flag.
-
toByteArray
public abstract byte[] toByteArray() throws IOExceptionReturns the raw byte representation of this message.- 戻り値:
- A
byte[]containing the raw message material. - 例外:
IOException
-
-