パッケージ jcifs.smb1.ntlmssp
クラス Type1Message
- java.lang.Object
-
- jcifs.smb1.ntlmssp.NtlmMessage
-
- jcifs.smb1.ntlmssp.Type1Message
-
- すべての実装されたインタフェース:
NtlmFlags
public class Type1Message extends NtlmMessage
Represents an NTLMSSP Type-1 message.
-
-
フィールドの概要
-
クラスから継承されたフィールド jcifs.smb1.ntlmssp.NtlmMessage
NTLMSSP_SIGNATURE, UNI_ENCODING
-
インタフェースから継承されたフィールド jcifs.smb1.ntlmssp.NtlmFlags
NTLMSSP_NEGOTIATE_128, NTLMSSP_NEGOTIATE_56, NTLMSSP_NEGOTIATE_ALWAYS_SIGN, NTLMSSP_NEGOTIATE_DATAGRAM_STYLE, NTLMSSP_NEGOTIATE_KEY_EXCH, NTLMSSP_NEGOTIATE_LM_KEY, NTLMSSP_NEGOTIATE_LOCAL_CALL, NTLMSSP_NEGOTIATE_NETWARE, NTLMSSP_NEGOTIATE_NTLM, NTLMSSP_NEGOTIATE_NTLM2, 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_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
-
-
コンストラクタの概要
コンストラクタ コンストラクタ 説明 Type1Message()Creates a Type-1 message using default values from the current environment.Type1Message(byte[] material)Creates a Type-1 message using the given raw Type-1 material.Type1Message(int flags, String suppliedDomain, String suppliedWorkstation)Creates a Type-1 message with the specified parameters.
-
メソッドの概要
すべてのメソッド staticメソッド インスタンス・メソッド concreteメソッド 修飾子とタイプ メソッド 説明 static StringgetDefaultDomain()Returns the default domain from the current environment.static intgetDefaultFlags()Returns the default flags for a generic Type-1 message in the current environment.static StringgetDefaultWorkstation()Returns the default workstation from the current environment.StringgetSuppliedDomain()Returns the supplied authentication domain.StringgetSuppliedWorkstation()Returns the supplied workstation name.voidsetSuppliedDomain(String suppliedDomain)Sets the supplied authentication domain for this message.voidsetSuppliedWorkstation(String suppliedWorkstation)Sets the supplied workstation name for this message.byte[]toByteArray()Returns the raw byte representation of this message.StringtoString()-
クラスから継承されたメソッド jcifs.smb1.ntlmssp.NtlmMessage
getFlag, getFlags, setFlag, setFlags
-
-
-
-
コンストラクタの詳細
-
Type1Message
public Type1Message()
Creates a Type-1 message using default values from the current environment.
-
Type1Message
public Type1Message(int flags, String suppliedDomain, String suppliedWorkstation)Creates a Type-1 message with the specified parameters.- パラメータ:
flags- The flags to apply to this message.suppliedDomain- The supplied authentication domain.suppliedWorkstation- The supplied workstation name.
-
Type1Message
public Type1Message(byte[] material) throws IOExceptionCreates a Type-1 message using the given raw Type-1 material.- パラメータ:
material- The raw Type-1 material used to construct this message.- 例外:
IOException- If an error occurs while parsing the material.
-
-
メソッドの詳細
-
getSuppliedDomain
public String getSuppliedDomain()
Returns the supplied authentication domain.- 戻り値:
- A
Stringcontaining the supplied domain.
-
setSuppliedDomain
public void setSuppliedDomain(String suppliedDomain)
Sets the supplied authentication domain for this message.- パラメータ:
suppliedDomain- The supplied domain for this message.
-
getSuppliedWorkstation
public String getSuppliedWorkstation()
Returns the supplied workstation name.- 戻り値:
- A
Stringcontaining the supplied workstation name.
-
setSuppliedWorkstation
public void setSuppliedWorkstation(String suppliedWorkstation)
Sets the supplied workstation name for this message.- パラメータ:
suppliedWorkstation- The supplied workstation for this message.
-
toByteArray
public byte[] toByteArray()
クラスからコピーされた説明:NtlmMessageReturns the raw byte representation of this message.- 定義:
toByteArrayクラス内NtlmMessage- 戻り値:
- A
byte[]containing the raw message material.
-
getDefaultFlags
public static int getDefaultFlags()
Returns the default flags for a generic Type-1 message in the current environment.- 戻り値:
- An
intcontaining the default flags.
-
getDefaultDomain
public static String getDefaultDomain()
Returns the default domain from the current environment.- 戻り値:
- A
Stringcontaining the default domain.
-
getDefaultWorkstation
public static String getDefaultWorkstation()
Returns the default workstation from the current environment.- 戻り値:
- A
Stringcontaining the default workstation.
-
-