Deprecated
Do not use.
| Modifier and Type | Class and Description |
|---|---|
| pack-priv static class | |
| pack-priv static class | |
| pack-priv static class | NTLMEngineImpl.HMACMD5
Cryptography support - HMACMD5 - algorithmically based on various web resources by Karl Wright |
| pack-priv static class | NTLMEngineImpl.MD4
Cryptography support - MD4. |
| pack-priv static enum | |
| pack-priv static class | NTLMEngineImpl.NTLMMessage
NTLM message generation, base class |
| pack-priv static class | NTLMEngineImpl.Type1Message
Type 1 message assembly class |
| pack-priv static class | NTLMEngineImpl.Type2Message
Type 2 message class |
| pack-priv static class | NTLMEngineImpl.Type3Message
Type 3 message assembly class |
| Modifier and Type | Field and Description |
|---|---|
| private static final Charset | DEFAULT_CHARSET
Character encoding |
| pack-priv static final int | |
| pack-priv static final int | |
| pack-priv static final int | |
| pack-priv static final int | |
| pack-priv static final int | |
| pack-priv static final int | |
| pack-priv static final int | |
| pack-priv static final int | |
| pack-priv static final int | |
| pack-priv static final int | |
| pack-priv static final int | |
| pack-priv static final int | |
| pack-priv static final int | |
| pack-priv static final int | |
| pack-priv static final int | |
| pack-priv static final int | |
| private static final byte[] | |
| pack-priv static final int | |
| pack-priv static final int | |
| pack-priv static final int | |
| pack-priv static final int | |
| pack-priv static final int | |
| pack-priv static final int | |
| pack-priv static final int | |
| pack-priv static final int | |
| pack-priv static final int | |
| pack-priv static final int | |
| pack-priv static final int | |
| pack-priv static final int | |
| pack-priv static final int | |
| pack-priv static final int | |
| private static final SecureRandom | RND_GEN
Secure random generator |
| private static final byte[] | |
| private static final byte[] | |
| private static final byte[] | |
| private static final byte[] | |
| private static final byte[] | SIGNATURE
The signature string as bytes in the default encoding |
| private static final String | |
| private static final Charset | UNICODE_LITTLE_UNMARKED
Unicode encoding |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| private static byte[] | Returns: The blob, used in the calculation of the NTLMv2 Response.The random 8-byte client challenge. clientChallenge, final byte[] The target information block from the Type 2 message. targetInformation, final byte[] timestamp)Creates the NTLMv2 blob from the given target information block and client challenge. |
| private static Key | Returns: A DES encryption key created from the key material starting at the specified offset in the given byte array.A byte array containing the DES key material. bytes, final int The offset in the given byte array at which the 7-byte key
material starts. offset)Creates a DES encryption key from the given key material. |
| private static byte[] | |
| private static void | |
| pack-priv static int | |
| pack-priv static int | |
| public String | generateType1Msg(final String
Optional Windows domain name. Can be domain, final String null.Optional Windows workstation name. Can be
workstation)null.Implements org. |
| public String | generateType3Msg(final String
Windows user name username, final char[] Password password, final String Windows domain name domain, final String Windows workstation name workstation, final String Type2 challenge. challenge)Implements org. |
| private static Charset | Returns: the character set.is the flags. flags)Find the character set based on the flags. |
| pack-priv static MessageDigest | |
| private static byte[] | |
| pack-priv static String | Returns: The response.the message that was received from the server. message, final String the username to authenticate with. username, final char[] the password to authenticate with. password, final String The host. host, final String the NT domain to authenticate in. domain)Returns the response for the given message. |
| pack-priv static String | Returns: The response.the message that was received from the server. message, final String the username to authenticate with. username, final char[] the password to authenticate with. password, final String The host. host, final String the NT domain to authenticate in. domain, final Certificate peerServerCertificate)Returns the response for the given message. |
| pack-priv static String | Returns: String the message to add to the HTTP request header.the computer name of the host requesting authentication. host, final String The domain to authenticate with. domain)Creates the first message (type 1 message) in the NTLM authentication sequence. |
| pack-priv static String | Returns: The type 3 message.The user name. This should not include the domain name. user, final char[] The password. password, final String The host that is originating the authentication request. host, final String The domain to authenticate within. domain, final byte[] the 8 byte array the server sent. nonce, final int type2Flags, final String target, final byte[] targetInformation)Creates the type 3 message using the given server nonce. |
| pack-priv static String | Returns: The type 3 message.The user name. This should not include the domain name. user, final char[] The password. password, final String The host that is originating the authentication request. host, final String The domain to authenticate within. domain, final byte[] the 8 byte array the server sent. nonce, final int type2Flags, final String target, final byte[] targetInformation, final Certificate peerServerCertificate, final byte[] type1Message, final byte[] type2Message)Creates the type 3 message using the given server nonce. |
| pack-priv static int | |
| pack-priv static byte[] | |
| private static byte[] | Returns: The LM Hash of the given password, used in the calculation of the LM Response.The password. password)Creates the LM Hash of the user's password. |
| private static byte[] | Returns: The response (either LM or NTLM, depending on the provided hash).The LM or NTLM Hash. hash, final byte[] The server challenge from the Type 2 message. challenge)Creates the LM Response from the given hash and Type 2 challenge. |
| private static byte[] | |
| private static byte[] | Returns: The response (either NTLMv2 or LMv2, depending on the client data).The NTLMv2 Hash. hash, final byte[] The server challenge from the Type 2 message. challenge, final byte[] The client data (blob or client challenge). clientData)Creates the LMv2 Response from the given hash, client data, and Type 2 challenge. |
| private static byte[] | |
| private static byte[] | |
| pack-priv static byte[] | Returns: The NTLM2 Session Response. This is placed in the NTLM response field of the Type 3 message; the LM response field contains the client challenge, null-padded to 24 bytes.Calculates the NTLM2 Session Response for the given challenge, using the specified password and client challenge. |
| private static byte[] | Returns: The NTLM Hash of the given password, used in the calculation of the NTLM Response and the NTLMv2 and LMv2 Hashes.The password. password)Creates the NTLM Hash of the user's password. |
| private static byte[] | Returns: The NTLMv2 Hash, used in the calculation of the NTLMv2 and LMv2 Responses.Creates the NTLMv2 Hash of the user's password. |
| private static void | oddParity(final byte[]
The data whose parity bits are to be adjusted for odd parity. bytes)Applies odd parity to the given byte array. |
| pack-priv static byte[] | |
| private static byte[] | |
| private static int | |
| private static int | |
| pack-priv static int | |
| pack-priv static void | |
| pack-priv static void |