final class org.apache.http.impl.auth.NTLMEngineImpl implements org.apache.http.impl.auth.NTLMEngine
minor version: 0
major version: 59
flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
this_class: org.apache.http.impl.auth.NTLMEngineImpl
super_class: java.lang.Object
{
private static final java.nio.charset.Charset UNICODE_LITTLE_UNMARKED;
descriptor: Ljava/nio/charset/Charset;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static final java.nio.charset.Charset DEFAULT_CHARSET;
descriptor: Ljava/nio/charset/Charset;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
static final int FLAG_REQUEST_UNICODE_ENCODING;
descriptor: I
flags: (0x0018) ACC_STATIC, ACC_FINAL
ConstantValue: 1
static final int FLAG_REQUEST_OEM_ENCODING;
descriptor: I
flags: (0x0018) ACC_STATIC, ACC_FINAL
ConstantValue: 2
static final int FLAG_REQUEST_TARGET;
descriptor: I
flags: (0x0018) ACC_STATIC, ACC_FINAL
ConstantValue: 4
static final int FLAG_REQUEST_SIGN;
descriptor: I
flags: (0x0018) ACC_STATIC, ACC_FINAL
ConstantValue: 16
static final int FLAG_REQUEST_SEAL;
descriptor: I
flags: (0x0018) ACC_STATIC, ACC_FINAL
ConstantValue: 32
static final int FLAG_REQUEST_LAN_MANAGER_KEY;
descriptor: I
flags: (0x0018) ACC_STATIC, ACC_FINAL
ConstantValue: 128
static final int FLAG_REQUEST_NTLMv1;
descriptor: I
flags: (0x0018) ACC_STATIC, ACC_FINAL
ConstantValue: 512
static final int FLAG_DOMAIN_PRESENT;
descriptor: I
flags: (0x0018) ACC_STATIC, ACC_FINAL
ConstantValue: 4096
static final int FLAG_WORKSTATION_PRESENT;
descriptor: I
flags: (0x0018) ACC_STATIC, ACC_FINAL
ConstantValue: 8192
static final int FLAG_REQUEST_ALWAYS_SIGN;
descriptor: I
flags: (0x0018) ACC_STATIC, ACC_FINAL
ConstantValue: 32768
static final int FLAG_REQUEST_NTLM2_SESSION;
descriptor: I
flags: (0x0018) ACC_STATIC, ACC_FINAL
ConstantValue: 524288
static final int FLAG_REQUEST_VERSION;
descriptor: I
flags: (0x0018) ACC_STATIC, ACC_FINAL
ConstantValue: 33554432
static final int FLAG_TARGETINFO_PRESENT;
descriptor: I
flags: (0x0018) ACC_STATIC, ACC_FINAL
ConstantValue: 8388608
static final int FLAG_REQUEST_128BIT_KEY_EXCH;
descriptor: I
flags: (0x0018) ACC_STATIC, ACC_FINAL
ConstantValue: 536870912
static final int FLAG_REQUEST_EXPLICIT_KEY_EXCH;
descriptor: I
flags: (0x0018) ACC_STATIC, ACC_FINAL
ConstantValue: 1073741824
static final int FLAG_REQUEST_56BIT_ENCRYPTION;
descriptor: I
flags: (0x0018) ACC_STATIC, ACC_FINAL
ConstantValue: -2147483648
static final int MSV_AV_EOL;
descriptor: I
flags: (0x0018) ACC_STATIC, ACC_FINAL
ConstantValue: 0
static final int MSV_AV_NB_COMPUTER_NAME;
descriptor: I
flags: (0x0018) ACC_STATIC, ACC_FINAL
ConstantValue: 1
static final int MSV_AV_NB_DOMAIN_NAME;
descriptor: I
flags: (0x0018) ACC_STATIC, ACC_FINAL
ConstantValue: 2
static final int MSV_AV_DNS_COMPUTER_NAME;
descriptor: I
flags: (0x0018) ACC_STATIC, ACC_FINAL
ConstantValue: 3
static final int MSV_AV_DNS_DOMAIN_NAME;
descriptor: I
flags: (0x0018) ACC_STATIC, ACC_FINAL
ConstantValue: 4
static final int MSV_AV_DNS_TREE_NAME;
descriptor: I
flags: (0x0018) ACC_STATIC, ACC_FINAL
ConstantValue: 5
static final int MSV_AV_FLAGS;
descriptor: I
flags: (0x0018) ACC_STATIC, ACC_FINAL
ConstantValue: 6
static final int MSV_AV_TIMESTAMP;
descriptor: I
flags: (0x0018) ACC_STATIC, ACC_FINAL
ConstantValue: 7
static final int MSV_AV_SINGLE_HOST;
descriptor: I
flags: (0x0018) ACC_STATIC, ACC_FINAL
ConstantValue: 8
static final int MSV_AV_TARGET_NAME;
descriptor: I
flags: (0x0018) ACC_STATIC, ACC_FINAL
ConstantValue: 9
static final int MSV_AV_CHANNEL_BINDINGS;
descriptor: I
flags: (0x0018) ACC_STATIC, ACC_FINAL
ConstantValue: 10
static final int MSV_AV_FLAGS_ACCOUNT_AUTH_CONSTAINED;
descriptor: I
flags: (0x0018) ACC_STATIC, ACC_FINAL
ConstantValue: 1
static final int MSV_AV_FLAGS_MIC;
descriptor: I
flags: (0x0018) ACC_STATIC, ACC_FINAL
ConstantValue: 2
static final int MSV_AV_FLAGS_UNTRUSTED_TARGET_SPN;
descriptor: I
flags: (0x0018) ACC_STATIC, ACC_FINAL
ConstantValue: 4
private static final java.security.SecureRandom RND_GEN;
descriptor: Ljava/security/SecureRandom;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static final byte[] SIGNATURE;
descriptor: [B
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static final byte[] SIGN_MAGIC_SERVER;
descriptor: [B
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static final byte[] SIGN_MAGIC_CLIENT;
descriptor: [B
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static final byte[] SEAL_MAGIC_SERVER;
descriptor: [B
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static final byte[] SEAL_MAGIC_CLIENT;
descriptor: [B
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static final byte[] MAGIC_TLS_SERVER_ENDPOINT;
descriptor: [B
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static final java.lang.String TYPE_1_MESSAGE;
descriptor: Ljava/lang/String;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=1, args_size=0
0: ldc "UnicodeLittleUnmarked"
invokestatic java.nio.charset.Charset.forName:(Ljava/lang/String;)Ljava/nio/charset/Charset;
putstatic org.apache.http.impl.auth.NTLMEngineImpl.UNICODE_LITTLE_UNMARKED:Ljava/nio/charset/Charset;
1: getstatic org.apache.http.Consts.ASCII:Ljava/nio/charset/Charset;
putstatic org.apache.http.impl.auth.NTLMEngineImpl.DEFAULT_CHARSET:Ljava/nio/charset/Charset;
2: aconst_null
astore 0
start local 0 3: ldc "SHA1PRNG"
invokestatic java.security.SecureRandom.getInstance:(Ljava/lang/String;)Ljava/security/SecureRandom;
astore 0
4: goto 6
StackMap locals: java.security.SecureRandom
StackMap stack: java.lang.Exception
5: pop
6: StackMap locals:
StackMap stack:
aload 0
putstatic org.apache.http.impl.auth.NTLMEngineImpl.RND_GEN:Ljava/security/SecureRandom;
end local 0 7: ldc "NTLMSSP"
invokestatic org.apache.http.impl.auth.NTLMEngineImpl.getNullTerminatedAsciiString:(Ljava/lang/String;)[B
putstatic org.apache.http.impl.auth.NTLMEngineImpl.SIGNATURE:[B
8: ldc "session key to server-to-client signing key magic constant"
9: invokestatic org.apache.http.impl.auth.NTLMEngineImpl.getNullTerminatedAsciiString:(Ljava/lang/String;)[B
putstatic org.apache.http.impl.auth.NTLMEngineImpl.SIGN_MAGIC_SERVER:[B
10: ldc "session key to client-to-server signing key magic constant"
11: invokestatic org.apache.http.impl.auth.NTLMEngineImpl.getNullTerminatedAsciiString:(Ljava/lang/String;)[B
putstatic org.apache.http.impl.auth.NTLMEngineImpl.SIGN_MAGIC_CLIENT:[B
12: ldc "session key to server-to-client sealing key magic constant"
13: invokestatic org.apache.http.impl.auth.NTLMEngineImpl.getNullTerminatedAsciiString:(Ljava/lang/String;)[B
putstatic org.apache.http.impl.auth.NTLMEngineImpl.SEAL_MAGIC_SERVER:[B
14: ldc "session key to client-to-server sealing key magic constant"
15: invokestatic org.apache.http.impl.auth.NTLMEngineImpl.getNullTerminatedAsciiString:(Ljava/lang/String;)[B
putstatic org.apache.http.impl.auth.NTLMEngineImpl.SEAL_MAGIC_CLIENT:[B
16: ldc "tls-server-end-point:"
getstatic org.apache.http.Consts.ASCII:Ljava/nio/charset/Charset;
invokevirtual java.lang.String.getBytes:(Ljava/nio/charset/Charset;)[B
putstatic org.apache.http.impl.auth.NTLMEngineImpl.MAGIC_TLS_SERVER_ENDPOINT:[B
17: new org.apache.http.impl.auth.NTLMEngineImpl$Type1Message
dup
invokespecial org.apache.http.impl.auth.NTLMEngineImpl$Type1Message.<init>:()V
invokevirtual org.apache.http.impl.auth.NTLMEngineImpl$Type1Message.getResponse:()Ljava/lang/String;
putstatic org.apache.http.impl.auth.NTLMEngineImpl.TYPE_1_MESSAGE:Ljava/lang/String;
return
LocalVariableTable:
Start End Slot Name Signature
3 7 0 rnd Ljava/security/SecureRandom;
Exception table:
from to target type
3 4 5 Class java.lang.Exception
private static byte[] getNullTerminatedAsciiString(java.lang.String);
descriptor: (Ljava/lang/String;)[B
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=5, locals=3, args_size=1
start local 0 0: aload 0
getstatic org.apache.http.Consts.ASCII:Ljava/nio/charset/Charset;
invokevirtual java.lang.String.getBytes:(Ljava/nio/charset/Charset;)[B
astore 1
start local 1 1: aload 1
arraylength
iconst_1
iadd
newarray 8
astore 2
start local 2 2: aload 1
iconst_0
aload 2
iconst_0
aload 1
arraylength
invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
3: aload 2
aload 1
arraylength
iconst_0
bastore
4: aload 2
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 source Ljava/lang/String;
1 5 1 bytesWithoutNull [B
2 5 2 target [B
MethodParameters:
Name Flags
source final
void <init>();
descriptor: ()V
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/http/impl/auth/NTLMEngineImpl;
static java.lang.String getType1Message(java.lang.String, java.lang.String);
descriptor: (Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=2, args_size=2
start local 0 start local 1 0: getstatic org.apache.http.impl.auth.NTLMEngineImpl.TYPE_1_MESSAGE:Ljava/lang/String;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 host Ljava/lang/String;
0 1 1 domain Ljava/lang/String;
MethodParameters:
Name Flags
host final
domain final
static java.lang.String getType3Message(java.lang.String, java.lang.String, java.lang.String, java.lang.String, byte[], int, java.lang.String, byte[]);
descriptor: (Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;[BILjava/lang/String;[B)Ljava/lang/String;
flags: (0x0008) ACC_STATIC
Code:
stack=10, locals=8, args_size=8
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 start local 6 start local 7 0: new org.apache.http.impl.auth.NTLMEngineImpl$Type3Message
dup
aload 3
aload 2
aload 0
aload 1
aload 4
iload 5
aload 6
1: aload 7
2: invokespecial org.apache.http.impl.auth.NTLMEngineImpl$Type3Message.<init>:(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;[BILjava/lang/String;[B)V
3: invokevirtual org.apache.http.impl.auth.NTLMEngineImpl$Type3Message.getResponse:()Ljava/lang/String;
4: areturn
end local 7 end local 6 end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 user Ljava/lang/String;
0 5 1 password Ljava/lang/String;
0 5 2 host Ljava/lang/String;
0 5 3 domain Ljava/lang/String;
0 5 4 nonce [B
0 5 5 type2Flags I
0 5 6 target Ljava/lang/String;
0 5 7 targetInformation [B
Exceptions:
throws org.apache.http.impl.auth.NTLMEngineException
MethodParameters:
Name Flags
user final
password final
host final
domain final
nonce final
type2Flags final
target final
targetInformation final
static java.lang.String getType3Message(java.lang.String, java.lang.String, java.lang.String, java.lang.String, byte[], int, java.lang.String, byte[], java.security.cert.Certificate, byte[], byte[]);
descriptor: (Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;[BILjava/lang/String;[BLjava/security/cert/Certificate;[B[B)Ljava/lang/String;
flags: (0x0008) ACC_STATIC
Code:
stack=13, locals=11, args_size=11
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 start local 6 start local 7 start local 8 start local 9 start local 10 0: new org.apache.http.impl.auth.NTLMEngineImpl$Type3Message
dup
aload 3
aload 2
aload 0
aload 1
aload 4
iload 5
aload 6
1: aload 7
aload 8
aload 9
aload 10
2: invokespecial org.apache.http.impl.auth.NTLMEngineImpl$Type3Message.<init>:(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;[BILjava/lang/String;[BLjava/security/cert/Certificate;[B[B)V
3: invokevirtual org.apache.http.impl.auth.NTLMEngineImpl$Type3Message.getResponse:()Ljava/lang/String;
4: areturn
end local 10 end local 9 end local 8 end local 7 end local 6 end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 user Ljava/lang/String;
0 5 1 password Ljava/lang/String;
0 5 2 host Ljava/lang/String;
0 5 3 domain Ljava/lang/String;
0 5 4 nonce [B
0 5 5 type2Flags I
0 5 6 target Ljava/lang/String;
0 5 7 targetInformation [B
0 5 8 peerServerCertificate Ljava/security/cert/Certificate;
0 5 9 type1Message [B
0 5 10 type2Message [B
Exceptions:
throws org.apache.http.impl.auth.NTLMEngineException
MethodParameters:
Name Flags
user final
password final
host final
domain final
nonce final
type2Flags final
target final
targetInformation final
peerServerCertificate final
type1Message final
type2Message final
private static int readULong(byte[], int);
descriptor: ([BI)I
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 0
arraylength
iload 1
iconst_4
iadd
if_icmpge 2
1: iconst_0
ireturn
2: StackMap locals:
StackMap stack:
aload 0
iload 1
baload
sipush 255
iand
aload 0
iload 1
iconst_1
iadd
baload
sipush 255
iand
bipush 8
ishl
ior
3: aload 0
iload 1
iconst_2
iadd
baload
sipush 255
iand
bipush 16
ishl
4: ior
5: aload 0
iload 1
iconst_3
iadd
baload
sipush 255
iand
bipush 24
ishl
6: ior
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 src [B
0 7 1 index I
MethodParameters:
Name Flags
src final
index final
private static int readUShort(byte[], int);
descriptor: ([BI)I
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 0
arraylength
iload 1
iconst_2
iadd
if_icmpge 2
1: iconst_0
ireturn
2: StackMap locals:
StackMap stack:
aload 0
iload 1
baload
sipush 255
iand
aload 0
iload 1
iconst_1
iadd
baload
sipush 255
iand
bipush 8
ishl
ior
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 src [B
0 3 1 index I
MethodParameters:
Name Flags
src final
index final
private static byte[] readSecurityBuffer(byte[], int);
descriptor: ([BI)[B
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=5, locals=5, args_size=2
start local 0 start local 1 0: aload 0
iload 1
invokestatic org.apache.http.impl.auth.NTLMEngineImpl.readUShort:([BI)I
istore 2
start local 2 1: aload 0
iload 1
iconst_4
iadd
invokestatic org.apache.http.impl.auth.NTLMEngineImpl.readULong:([BI)I
istore 3
start local 3 2: aload 0
arraylength
iload 3
iload 2
iadd
if_icmpge 4
3: iload 2
newarray 8
areturn
4: StackMap locals: int int
StackMap stack:
iload 2
newarray 8
astore 4
start local 4 5: aload 0
iload 3
aload 4
iconst_0
iload 2
invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
6: aload 4
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 src [B
0 7 1 index I
1 7 2 length I
2 7 3 offset I
5 7 4 buffer [B
MethodParameters:
Name Flags
src final
index final
private static byte[] makeRandomChallenge(java.util.Random);
descriptor: (Ljava/util/Random;)[B
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=2, locals=3, args_size=1
start local 0 0: bipush 8
newarray 8
astore 1
start local 1 1: aload 0
dup
astore 2
monitorenter
2: aload 0
aload 1
invokevirtual java.util.Random.nextBytes:([B)V
3: aload 2
monitorexit
4: goto 7
StackMap locals: java.util.Random byte[] java.util.Random
StackMap stack: java.lang.Throwable
5: aload 2
monitorexit
6: athrow
7: StackMap locals:
StackMap stack:
aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 random Ljava/util/Random;
1 8 1 rval [B
Exception table:
from to target type
2 4 5 any
5 6 5 any
MethodParameters:
Name Flags
random final
private static byte[] makeSecondaryKey(java.util.Random);
descriptor: (Ljava/util/Random;)[B
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=2, locals=3, args_size=1
start local 0 0: bipush 16
newarray 8
astore 1
start local 1 1: aload 0
dup
astore 2
monitorenter
2: aload 0
aload 1
invokevirtual java.util.Random.nextBytes:([B)V
3: aload 2
monitorexit
4: goto 7
StackMap locals: java.util.Random byte[] java.util.Random
StackMap stack: java.lang.Throwable
5: aload 2
monitorexit
6: athrow
7: StackMap locals:
StackMap stack:
aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 random Ljava/util/Random;
1 8 1 rval [B
Exception table:
from to target type
2 4 5 any
5 6 5 any
MethodParameters:
Name Flags
random final
static byte[] hmacMD5(byte[], byte[]);
descriptor: ([B[B)[B
flags: (0x0008) ACC_STATIC
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: new org.apache.http.impl.auth.NTLMEngineImpl$HMACMD5
dup
aload 1
invokespecial org.apache.http.impl.auth.NTLMEngineImpl$HMACMD5.<init>:([B)V
astore 2
start local 2 1: aload 2
aload 0
invokevirtual org.apache.http.impl.auth.NTLMEngineImpl$HMACMD5.update:([B)V
2: aload 2
invokevirtual org.apache.http.impl.auth.NTLMEngineImpl$HMACMD5.getOutput:()[B
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 value [B
0 3 1 key [B
1 3 2 hmacMD5 Lorg/apache/http/impl/auth/NTLMEngineImpl$HMACMD5;
Exceptions:
throws org.apache.http.impl.auth.NTLMEngineException
MethodParameters:
Name Flags
value final
key final
static byte[] RC4(byte[], byte[]);
descriptor: ([B[B)[B
flags: (0x0008) ACC_STATIC
Code:
stack=6, locals=3, args_size=2
start local 0 start local 1 0: ldc "RC4"
invokestatic javax.crypto.Cipher.getInstance:(Ljava/lang/String;)Ljavax/crypto/Cipher;
astore 2
start local 2 1: aload 2
iconst_1
new javax.crypto.spec.SecretKeySpec
dup
aload 1
ldc "RC4"
invokespecial javax.crypto.spec.SecretKeySpec.<init>:([BLjava/lang/String;)V
invokevirtual javax.crypto.Cipher.init:(ILjava/security/Key;)V
2: aload 2
aload 0
invokevirtual javax.crypto.Cipher.doFinal:([B)[B
3: areturn
end local 2 4: StackMap locals:
StackMap stack: java.lang.Exception
astore 2
start local 2 5: new org.apache.http.impl.auth.NTLMEngineException
dup
aload 2
invokevirtual java.lang.Exception.getMessage:()Ljava/lang/String;
aload 2
invokespecial org.apache.http.impl.auth.NTLMEngineException.<init>:(Ljava/lang/String;Ljava/lang/Throwable;)V
athrow
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 value [B
0 6 1 key [B
1 4 2 rc4 Ljavax/crypto/Cipher;
5 6 2 e Ljava/lang/Exception;
Exception table:
from to target type
0 3 4 Class java.lang.Exception
Exceptions:
throws org.apache.http.impl.auth.NTLMEngineException
MethodParameters:
Name Flags
value final
key final
static byte[] ntlm2SessionResponse(byte[], byte[], byte[]);
descriptor: ([B[B[B)[B
flags: (0x0008) ACC_STATIC
Code:
stack=5, locals=6, args_size=3
start local 0 start local 1 start local 2 0: invokestatic org.apache.http.impl.auth.NTLMEngineImpl.getMD5:()Ljava/security/MessageDigest;
astore 3
start local 3 1: aload 3
aload 1
invokevirtual java.security.MessageDigest.update:([B)V
2: aload 3
aload 2
invokevirtual java.security.MessageDigest.update:([B)V
3: aload 3
invokevirtual java.security.MessageDigest.digest:()[B
astore 4
start local 4 4: bipush 8
newarray 8
astore 5
start local 5 5: aload 4
iconst_0
aload 5
iconst_0
bipush 8
invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
6: aload 0
aload 5
invokestatic org.apache.http.impl.auth.NTLMEngineImpl.lmResponse:([B[B)[B
7: areturn
end local 5 end local 4 end local 3 8: StackMap locals:
StackMap stack: java.lang.Exception
astore 3
start local 3 9: aload 3
instanceof org.apache.http.impl.auth.NTLMEngineException
ifeq 11
10: aload 3
checkcast org.apache.http.impl.auth.NTLMEngineException
athrow
11: StackMap locals: java.lang.Exception
StackMap stack:
new org.apache.http.impl.auth.NTLMEngineException
dup
aload 3
invokevirtual java.lang.Exception.getMessage:()Ljava/lang/String;
aload 3
invokespecial org.apache.http.impl.auth.NTLMEngineException.<init>:(Ljava/lang/String;Ljava/lang/Throwable;)V
athrow
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 ntlmHash [B
0 12 1 challenge [B
0 12 2 clientChallenge [B
1 8 3 md5 Ljava/security/MessageDigest;
4 8 4 digest [B
5 8 5 sessionHash [B
9 12 3 e Ljava/lang/Exception;
Exception table:
from to target type
0 7 8 Class java.lang.Exception
Exceptions:
throws org.apache.http.impl.auth.NTLMEngineException
MethodParameters:
Name Flags
ntlmHash final
challenge final
clientChallenge final
private static byte[] lmHash(java.lang.String);
descriptor: (Ljava/lang/String;)[B
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=5, locals=11, args_size=1
start local 0 0: aload 0
getstatic java.util.Locale.ROOT:Ljava/util/Locale;
invokevirtual java.lang.String.toUpperCase:(Ljava/util/Locale;)Ljava/lang/String;
getstatic org.apache.http.Consts.ASCII:Ljava/nio/charset/Charset;
invokevirtual java.lang.String.getBytes:(Ljava/nio/charset/Charset;)[B
astore 1
start local 1 1: aload 1
arraylength
bipush 14
invokestatic java.lang.Math.min:(II)I
istore 2
start local 2 2: bipush 14
newarray 8
astore 3
start local 3 3: aload 1
iconst_0
aload 3
iconst_0
iload 2
invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
4: aload 3
iconst_0
invokestatic org.apache.http.impl.auth.NTLMEngineImpl.createDESKey:([BI)Ljava/security/Key;
astore 4
start local 4 5: aload 3
bipush 7
invokestatic org.apache.http.impl.auth.NTLMEngineImpl.createDESKey:([BI)Ljava/security/Key;
astore 5
start local 5 6: ldc "KGS!@#$%"
getstatic org.apache.http.Consts.ASCII:Ljava/nio/charset/Charset;
invokevirtual java.lang.String.getBytes:(Ljava/nio/charset/Charset;)[B
astore 6
start local 6 7: ldc "DES/ECB/NoPadding"
invokestatic javax.crypto.Cipher.getInstance:(Ljava/lang/String;)Ljavax/crypto/Cipher;
astore 7
start local 7 8: aload 7
iconst_1
aload 4
invokevirtual javax.crypto.Cipher.init:(ILjava/security/Key;)V
9: aload 7
aload 6
invokevirtual javax.crypto.Cipher.doFinal:([B)[B
astore 8
start local 8 10: aload 7
iconst_1
aload 5
invokevirtual javax.crypto.Cipher.init:(ILjava/security/Key;)V
11: aload 7
aload 6
invokevirtual javax.crypto.Cipher.doFinal:([B)[B
astore 9
start local 9 12: bipush 16
newarray 8
astore 10
start local 10 13: aload 8
iconst_0
aload 10
iconst_0
bipush 8
invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
14: aload 9
iconst_0
aload 10
bipush 8
bipush 8
invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
15: aload 10
16: areturn
end local 10 end local 9 end local 8 end local 7 end local 6 end local 5 end local 4 end local 3 end local 2 end local 1 17: StackMap locals:
StackMap stack: java.lang.Exception
astore 1
start local 1 18: new org.apache.http.impl.auth.NTLMEngineException
dup
aload 1
invokevirtual java.lang.Exception.getMessage:()Ljava/lang/String;
aload 1
invokespecial org.apache.http.impl.auth.NTLMEngineException.<init>:(Ljava/lang/String;Ljava/lang/Throwable;)V
athrow
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 19 0 password Ljava/lang/String;
1 17 1 oemPassword [B
2 17 2 length I
3 17 3 keyBytes [B
5 17 4 lowKey Ljava/security/Key;
6 17 5 highKey Ljava/security/Key;
7 17 6 magicConstant [B
8 17 7 des Ljavax/crypto/Cipher;
10 17 8 lowHash [B
12 17 9 highHash [B
13 17 10 lmHash [B
18 19 1 e Ljava/lang/Exception;
Exception table:
from to target type
0 16 17 Class java.lang.Exception
Exceptions:
throws org.apache.http.impl.auth.NTLMEngineException
MethodParameters:
Name Flags
password final
private static byte[] ntlmHash(java.lang.String);
descriptor: (Ljava/lang/String;)[B
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=3, locals=3, args_size=1
start local 0 0: getstatic org.apache.http.impl.auth.NTLMEngineImpl.UNICODE_LITTLE_UNMARKED:Ljava/nio/charset/Charset;
ifnonnull 2
1: new org.apache.http.impl.auth.NTLMEngineException
dup
ldc "Unicode not supported"
invokespecial org.apache.http.impl.auth.NTLMEngineException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
aload 0
getstatic org.apache.http.impl.auth.NTLMEngineImpl.UNICODE_LITTLE_UNMARKED:Ljava/nio/charset/Charset;
invokevirtual java.lang.String.getBytes:(Ljava/nio/charset/Charset;)[B
astore 1
start local 1 3: new org.apache.http.impl.auth.NTLMEngineImpl$MD4
dup
invokespecial org.apache.http.impl.auth.NTLMEngineImpl$MD4.<init>:()V
astore 2
start local 2 4: aload 2
aload 1
invokevirtual org.apache.http.impl.auth.NTLMEngineImpl$MD4.update:([B)V
5: aload 2
invokevirtual org.apache.http.impl.auth.NTLMEngineImpl$MD4.getOutput:()[B
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 password Ljava/lang/String;
3 6 1 unicodePassword [B
4 6 2 md4 Lorg/apache/http/impl/auth/NTLMEngineImpl$MD4;
Exceptions:
throws org.apache.http.impl.auth.NTLMEngineException
MethodParameters:
Name Flags
password final
private static byte[] lmv2Hash(java.lang.String, java.lang.String, byte[]);
descriptor: (Ljava/lang/String;Ljava/lang/String;[B)[B
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=3, locals=4, args_size=3
start local 0 start local 1 start local 2 0: getstatic org.apache.http.impl.auth.NTLMEngineImpl.UNICODE_LITTLE_UNMARKED:Ljava/nio/charset/Charset;
ifnonnull 2
1: new org.apache.http.impl.auth.NTLMEngineException
dup
ldc "Unicode not supported"
invokespecial org.apache.http.impl.auth.NTLMEngineException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
new org.apache.http.impl.auth.NTLMEngineImpl$HMACMD5
dup
aload 2
invokespecial org.apache.http.impl.auth.NTLMEngineImpl$HMACMD5.<init>:([B)V
astore 3
start local 3 3: aload 3
aload 1
getstatic java.util.Locale.ROOT:Ljava/util/Locale;
invokevirtual java.lang.String.toUpperCase:(Ljava/util/Locale;)Ljava/lang/String;
getstatic org.apache.http.impl.auth.NTLMEngineImpl.UNICODE_LITTLE_UNMARKED:Ljava/nio/charset/Charset;
invokevirtual java.lang.String.getBytes:(Ljava/nio/charset/Charset;)[B
invokevirtual org.apache.http.impl.auth.NTLMEngineImpl$HMACMD5.update:([B)V
4: aload 0
ifnull 6
5: aload 3
aload 0
getstatic java.util.Locale.ROOT:Ljava/util/Locale;
invokevirtual java.lang.String.toUpperCase:(Ljava/util/Locale;)Ljava/lang/String;
getstatic org.apache.http.impl.auth.NTLMEngineImpl.UNICODE_LITTLE_UNMARKED:Ljava/nio/charset/Charset;
invokevirtual java.lang.String.getBytes:(Ljava/nio/charset/Charset;)[B
invokevirtual org.apache.http.impl.auth.NTLMEngineImpl$HMACMD5.update:([B)V
6: StackMap locals: org.apache.http.impl.auth.NTLMEngineImpl$HMACMD5
StackMap stack:
aload 3
invokevirtual org.apache.http.impl.auth.NTLMEngineImpl$HMACMD5.getOutput:()[B
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 domain Ljava/lang/String;
0 7 1 user Ljava/lang/String;
0 7 2 ntlmHash [B
3 7 3 hmacMD5 Lorg/apache/http/impl/auth/NTLMEngineImpl$HMACMD5;
Exceptions:
throws org.apache.http.impl.auth.NTLMEngineException
MethodParameters:
Name Flags
domain final
user final
ntlmHash final
private static byte[] ntlmv2Hash(java.lang.String, java.lang.String, byte[]);
descriptor: (Ljava/lang/String;Ljava/lang/String;[B)[B
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=3, locals=4, args_size=3
start local 0 start local 1 start local 2 0: getstatic org.apache.http.impl.auth.NTLMEngineImpl.UNICODE_LITTLE_UNMARKED:Ljava/nio/charset/Charset;
ifnonnull 2
1: new org.apache.http.impl.auth.NTLMEngineException
dup
ldc "Unicode not supported"
invokespecial org.apache.http.impl.auth.NTLMEngineException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
new org.apache.http.impl.auth.NTLMEngineImpl$HMACMD5
dup
aload 2
invokespecial org.apache.http.impl.auth.NTLMEngineImpl$HMACMD5.<init>:([B)V
astore 3
start local 3 3: aload 3
aload 1
getstatic java.util.Locale.ROOT:Ljava/util/Locale;
invokevirtual java.lang.String.toUpperCase:(Ljava/util/Locale;)Ljava/lang/String;
getstatic org.apache.http.impl.auth.NTLMEngineImpl.UNICODE_LITTLE_UNMARKED:Ljava/nio/charset/Charset;
invokevirtual java.lang.String.getBytes:(Ljava/nio/charset/Charset;)[B
invokevirtual org.apache.http.impl.auth.NTLMEngineImpl$HMACMD5.update:([B)V
4: aload 0
ifnull 6
5: aload 3
aload 0
getstatic org.apache.http.impl.auth.NTLMEngineImpl.UNICODE_LITTLE_UNMARKED:Ljava/nio/charset/Charset;
invokevirtual java.lang.String.getBytes:(Ljava/nio/charset/Charset;)[B
invokevirtual org.apache.http.impl.auth.NTLMEngineImpl$HMACMD5.update:([B)V
6: StackMap locals: org.apache.http.impl.auth.NTLMEngineImpl$HMACMD5
StackMap stack:
aload 3
invokevirtual org.apache.http.impl.auth.NTLMEngineImpl$HMACMD5.getOutput:()[B
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 domain Ljava/lang/String;
0 7 1 user Ljava/lang/String;
0 7 2 ntlmHash [B
3 7 3 hmacMD5 Lorg/apache/http/impl/auth/NTLMEngineImpl$HMACMD5;
Exceptions:
throws org.apache.http.impl.auth.NTLMEngineException
MethodParameters:
Name Flags
domain final
user final
ntlmHash final
private static byte[] lmResponse(byte[], byte[]);
descriptor: ([B[B)[B
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=5, locals=11, args_size=2
start local 0 start local 1 0: bipush 21
newarray 8
astore 2
start local 2 1: aload 0
iconst_0
aload 2
iconst_0
bipush 16
invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
2: aload 2
iconst_0
invokestatic org.apache.http.impl.auth.NTLMEngineImpl.createDESKey:([BI)Ljava/security/Key;
astore 3
start local 3 3: aload 2
bipush 7
invokestatic org.apache.http.impl.auth.NTLMEngineImpl.createDESKey:([BI)Ljava/security/Key;
astore 4
start local 4 4: aload 2
bipush 14
invokestatic org.apache.http.impl.auth.NTLMEngineImpl.createDESKey:([BI)Ljava/security/Key;
astore 5
start local 5 5: ldc "DES/ECB/NoPadding"
invokestatic javax.crypto.Cipher.getInstance:(Ljava/lang/String;)Ljavax/crypto/Cipher;
astore 6
start local 6 6: aload 6
iconst_1
aload 3
invokevirtual javax.crypto.Cipher.init:(ILjava/security/Key;)V
7: aload 6
aload 1
invokevirtual javax.crypto.Cipher.doFinal:([B)[B
astore 7
start local 7 8: aload 6
iconst_1
aload 4
invokevirtual javax.crypto.Cipher.init:(ILjava/security/Key;)V
9: aload 6
aload 1
invokevirtual javax.crypto.Cipher.doFinal:([B)[B
astore 8
start local 8 10: aload 6
iconst_1
aload 5
invokevirtual javax.crypto.Cipher.init:(ILjava/security/Key;)V
11: aload 6
aload 1
invokevirtual javax.crypto.Cipher.doFinal:([B)[B
astore 9
start local 9 12: bipush 24
newarray 8
astore 10
start local 10 13: aload 7
iconst_0
aload 10
iconst_0
bipush 8
invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
14: aload 8
iconst_0
aload 10
bipush 8
bipush 8
invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
15: aload 9
iconst_0
aload 10
bipush 16
bipush 8
invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
16: aload 10
17: areturn
end local 10 end local 9 end local 8 end local 7 end local 6 end local 5 end local 4 end local 3 end local 2 18: StackMap locals:
StackMap stack: java.lang.Exception
astore 2
start local 2 19: new org.apache.http.impl.auth.NTLMEngineException
dup
aload 2
invokevirtual java.lang.Exception.getMessage:()Ljava/lang/String;
aload 2
invokespecial org.apache.http.impl.auth.NTLMEngineException.<init>:(Ljava/lang/String;Ljava/lang/Throwable;)V
athrow
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 20 0 hash [B
0 20 1 challenge [B
1 18 2 keyBytes [B
3 18 3 lowKey Ljava/security/Key;
4 18 4 middleKey Ljava/security/Key;
5 18 5 highKey Ljava/security/Key;
6 18 6 des Ljavax/crypto/Cipher;
8 18 7 lowResponse [B
10 18 8 middleResponse [B
12 18 9 highResponse [B
13 18 10 lmResponse [B
19 20 2 e Ljava/lang/Exception;
Exception table:
from to target type
0 17 18 Class java.lang.Exception
Exceptions:
throws org.apache.http.impl.auth.NTLMEngineException
MethodParameters:
Name Flags
hash final
challenge final
private static byte[] lmv2Response(byte[], byte[], byte[]);
descriptor: ([B[B[B)[B
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=5, locals=6, args_size=3
start local 0 start local 1 start local 2 0: new org.apache.http.impl.auth.NTLMEngineImpl$HMACMD5
dup
aload 0
invokespecial org.apache.http.impl.auth.NTLMEngineImpl$HMACMD5.<init>:([B)V
astore 3
start local 3 1: aload 3
aload 1
invokevirtual org.apache.http.impl.auth.NTLMEngineImpl$HMACMD5.update:([B)V
2: aload 3
aload 2
invokevirtual org.apache.http.impl.auth.NTLMEngineImpl$HMACMD5.update:([B)V
3: aload 3
invokevirtual org.apache.http.impl.auth.NTLMEngineImpl$HMACMD5.getOutput:()[B
astore 4
start local 4 4: aload 4
arraylength
aload 2
arraylength
iadd
newarray 8
astore 5
start local 5 5: aload 4
iconst_0
aload 5
iconst_0
aload 4
arraylength
invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
6: aload 2
iconst_0
aload 5
aload 4
arraylength
aload 2
arraylength
invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
7: aload 5
areturn
end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 hash [B
0 8 1 challenge [B
0 8 2 clientData [B
1 8 3 hmacMD5 Lorg/apache/http/impl/auth/NTLMEngineImpl$HMACMD5;
4 8 4 mac [B
5 8 5 lmv2Response [B
MethodParameters:
Name Flags
hash final
challenge final
clientData final
private static byte[] encodeLong(int);
descriptor: (I)[B
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=3, locals=2, args_size=1
start local 0 0: iconst_4
newarray 8
astore 1
start local 1 1: aload 1
iconst_0
iload 0
invokestatic org.apache.http.impl.auth.NTLMEngineImpl.encodeLong:([BII)V
2: aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 value I
1 3 1 enc [B
MethodParameters:
Name Flags
value final
private static void encodeLong(byte[], int, int);
descriptor: ([BII)V
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=4, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
iload 1
iconst_0
iadd
iload 2
sipush 255
iand
i2b
bastore
1: aload 0
iload 1
iconst_1
iadd
iload 2
bipush 8
ishr
sipush 255
iand
i2b
bastore
2: aload 0
iload 1
iconst_2
iadd
iload 2
bipush 16
ishr
sipush 255
iand
i2b
bastore
3: aload 0
iload 1
iconst_3
iadd
iload 2
bipush 24
ishr
sipush 255
iand
i2b
bastore
4: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 buf [B
0 5 1 offset I
0 5 2 value I
MethodParameters:
Name Flags
buf final
offset final
value final
private static byte[] createBlob(byte[], byte[], byte[]);
descriptor: ([B[B[B)[B
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=5, locals=9, args_size=3
start local 0 start local 1 start local 2 0: iconst_4
newarray 8
dup
iconst_0
iconst_1
bastore
dup
iconst_1
iconst_1
bastore
astore 3
start local 3 1: iconst_4
newarray 8
astore 4
start local 4 2: iconst_4
newarray 8
astore 5
start local 5 3: iconst_4
newarray 8
astore 6
start local 6 4: aload 3
arraylength
aload 4
arraylength
iadd
aload 2
arraylength
iadd
bipush 8
iadd
5: aload 5
arraylength
6: iadd
7: aload 1
arraylength
8: iadd
9: aload 6
arraylength
10: iadd
newarray 8
astore 7
start local 7 11: iconst_0
istore 8
start local 8 12: aload 3
iconst_0
aload 7
iload 8
aload 3
arraylength
invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
13: iload 8
aload 3
arraylength
iadd
istore 8
14: aload 4
iconst_0
aload 7
iload 8
aload 4
arraylength
invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
15: iload 8
aload 4
arraylength
iadd
istore 8
16: aload 2
iconst_0
aload 7
iload 8
aload 2
arraylength
invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
17: iload 8
aload 2
arraylength
iadd
istore 8
18: aload 0
iconst_0
aload 7
iload 8
bipush 8
invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
19: iinc 8 8
20: aload 5
iconst_0
aload 7
iload 8
aload 5
arraylength
invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
21: iload 8
aload 5
arraylength
iadd
istore 8
22: aload 1
iconst_0
aload 7
iload 8
aload 1
arraylength
invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
23: iload 8
aload 1
arraylength
iadd
istore 8
24: aload 6
iconst_0
aload 7
iload 8
aload 6
arraylength
invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
25: iload 8
aload 6
arraylength
iadd
istore 8
26: aload 7
areturn
end local 8 end local 7 end local 6 end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 27 0 clientChallenge [B
0 27 1 targetInformation [B
0 27 2 timestamp [B
1 27 3 blobSignature [B
2 27 4 reserved [B
3 27 5 unknown1 [B
4 27 6 unknown2 [B
11 27 7 blob [B
12 27 8 offset I
MethodParameters:
Name Flags
clientChallenge final
targetInformation final
timestamp final
private static java.security.Key createDESKey(byte[], int);
descriptor: ([BI)Ljava/security/Key;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=5, locals=4, args_size=2
start local 0 start local 1 0: bipush 7
newarray 8
astore 2
start local 2 1: aload 0
iload 1
aload 2
iconst_0
bipush 7
invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
2: bipush 8
newarray 8
astore 3
start local 3 3: aload 3
iconst_0
aload 2
iconst_0
baload
bastore
4: aload 3
iconst_1
aload 2
iconst_0
baload
bipush 7
ishl
aload 2
iconst_1
baload
sipush 255
iand
iconst_1
iushr
ior
i2b
bastore
5: aload 3
iconst_2
aload 2
iconst_1
baload
bipush 6
ishl
aload 2
iconst_2
baload
sipush 255
iand
iconst_2
iushr
ior
i2b
bastore
6: aload 3
iconst_3
aload 2
iconst_2
baload
iconst_5
ishl
aload 2
iconst_3
baload
sipush 255
iand
iconst_3
iushr
ior
i2b
bastore
7: aload 3
iconst_4
aload 2
iconst_3
baload
iconst_4
ishl
aload 2
iconst_4
baload
sipush 255
iand
iconst_4
iushr
ior
i2b
bastore
8: aload 3
iconst_5
aload 2
iconst_4
baload
iconst_3
ishl
aload 2
iconst_5
baload
sipush 255
iand
iconst_5
iushr
ior
i2b
bastore
9: aload 3
bipush 6
aload 2
iconst_5
baload
iconst_2
ishl
aload 2
bipush 6
baload
sipush 255
iand
bipush 6
iushr
ior
i2b
bastore
10: aload 3
bipush 7
aload 2
bipush 6
baload
iconst_1
ishl
i2b
bastore
11: aload 3
invokestatic org.apache.http.impl.auth.NTLMEngineImpl.oddParity:([B)V
12: new javax.crypto.spec.SecretKeySpec
dup
aload 3
ldc "DES"
invokespecial javax.crypto.spec.SecretKeySpec.<init>:([BLjava/lang/String;)V
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 bytes [B
0 13 1 offset I
1 13 2 keyBytes [B
3 13 3 material [B
MethodParameters:
Name Flags
bytes final
offset final
private static void oddParity(byte[]);
descriptor: ([B)V
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=4, locals=4, args_size=1
start local 0 0: iconst_0
istore 1
start local 1 1: goto 17
2: StackMap locals: int
StackMap stack:
aload 0
iload 1
baload
istore 2
start local 2 3: iload 2
bipush 7
iushr
iload 2
bipush 6
iushr
ixor
iload 2
iconst_5
iushr
ixor
iload 2
iconst_4
iushr
ixor
iload 2
iconst_3
iushr
ixor
4: iload 2
iconst_2
iushr
5: ixor
6: iload 2
iconst_1
iushr
7: ixor
8: iconst_1
9: iand
ifne 10
iconst_1
goto 11
StackMap locals: int
StackMap stack:
10: iconst_0
StackMap locals:
StackMap stack: int
11: istore 3
start local 3 12: iload 3
ifeq 15
13: aload 0
iload 1
dup2
baload
iconst_1
ior
i2b
bastore
14: goto 16
15: StackMap locals: int
StackMap stack:
aload 0
iload 1
dup2
baload
bipush -2
iand
i2b
bastore
end local 3 end local 2 16: StackMap locals:
StackMap stack:
iinc 1 1
StackMap locals:
StackMap stack:
17: iload 1
aload 0
arraylength
if_icmplt 2
end local 1 18: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 19 0 bytes [B
1 18 1 i I
3 16 2 b B
12 16 3 needsParity Z
MethodParameters:
Name Flags
bytes final
private static java.nio.charset.Charset getCharset(int);
descriptor: (I)Ljava/nio/charset/Charset;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: iload 0
iconst_1
iand
ifne 2
1: getstatic org.apache.http.impl.auth.NTLMEngineImpl.DEFAULT_CHARSET:Ljava/nio/charset/Charset;
areturn
2: StackMap locals:
StackMap stack:
getstatic org.apache.http.impl.auth.NTLMEngineImpl.UNICODE_LITTLE_UNMARKED:Ljava/nio/charset/Charset;
ifnonnull 4
3: new org.apache.http.impl.auth.NTLMEngineException
dup
ldc "Unicode not supported"
invokespecial org.apache.http.impl.auth.NTLMEngineException.<init>:(Ljava/lang/String;)V
athrow
4: StackMap locals:
StackMap stack:
getstatic org.apache.http.impl.auth.NTLMEngineImpl.UNICODE_LITTLE_UNMARKED:Ljava/nio/charset/Charset;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 flags I
Exceptions:
throws org.apache.http.impl.auth.NTLMEngineException
MethodParameters:
Name Flags
flags final
private static java.lang.String stripDotSuffix(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/lang/String;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=3, locals=2, args_size=1
start local 0 0: aload 0
ifnonnull 2
1: aconst_null
areturn
2: StackMap locals:
StackMap stack:
aload 0
bipush 46
invokevirtual java.lang.String.indexOf:(I)I
istore 1
start local 1 3: iload 1
iconst_m1
if_icmpeq 5
4: aload 0
iconst_0
iload 1
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
areturn
5: StackMap locals: int
StackMap stack:
aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 value Ljava/lang/String;
3 6 1 index I
MethodParameters:
Name Flags
value final
private static java.lang.String convertHost(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/lang/String;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokestatic org.apache.http.impl.auth.NTLMEngineImpl.stripDotSuffix:(Ljava/lang/String;)Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 host Ljava/lang/String;
MethodParameters:
Name Flags
host final
private static java.lang.String convertDomain(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/lang/String;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokestatic org.apache.http.impl.auth.NTLMEngineImpl.stripDotSuffix:(Ljava/lang/String;)Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 domain Ljava/lang/String;
MethodParameters:
Name Flags
domain final
static void writeUShort(byte[], int, int);
descriptor: ([BII)V
flags: (0x0008) ACC_STATIC
Code:
stack=4, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
iload 2
iload 1
sipush 255
iand
i2b
bastore
1: aload 0
iload 2
iconst_1
iadd
iload 1
bipush 8
ishr
sipush 255
iand
i2b
bastore
2: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 buffer [B
0 3 1 value I
0 3 2 offset I
MethodParameters:
Name Flags
buffer final
value final
offset final
static void writeULong(byte[], int, int);
descriptor: ([BII)V
flags: (0x0008) ACC_STATIC
Code:
stack=4, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
iload 2
iload 1
sipush 255
iand
i2b
bastore
1: aload 0
iload 2
iconst_1
iadd
iload 1
bipush 8
ishr
sipush 255
iand
i2b
bastore
2: aload 0
iload 2
iconst_2
iadd
iload 1
bipush 16
ishr
sipush 255
iand
i2b
bastore
3: aload 0
iload 2
iconst_3
iadd
iload 1
bipush 24
ishr
sipush 255
iand
i2b
bastore
4: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 buffer [B
0 5 1 value I
0 5 2 offset I
MethodParameters:
Name Flags
buffer final
value final
offset final
static int F(int, int, int);
descriptor: (III)I
flags: (0x0008) ACC_STATIC
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: iload 0
iload 1
iand
iload 0
iconst_m1
ixor
iload 2
iand
ior
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 x I
0 1 1 y I
0 1 2 z I
MethodParameters:
Name Flags
x final
y final
z final
static int G(int, int, int);
descriptor: (III)I
flags: (0x0008) ACC_STATIC
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: iload 0
iload 1
iand
iload 0
iload 2
iand
ior
iload 1
iload 2
iand
ior
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 x I
0 1 1 y I
0 1 2 z I
MethodParameters:
Name Flags
x final
y final
z final
static int H(int, int, int);
descriptor: (III)I
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=3, args_size=3
start local 0 start local 1 start local 2 0: iload 0
iload 1
ixor
iload 2
ixor
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 x I
0 1 1 y I
0 1 2 z I
MethodParameters:
Name Flags
x final
y final
z final
static int rotintlft(int, int);
descriptor: (II)I
flags: (0x0008) ACC_STATIC
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: iload 0
iload 1
ishl
iload 0
bipush 32
iload 1
isub
iushr
ior
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 val I
0 1 1 numbits I
MethodParameters:
Name Flags
val final
numbits final
static java.security.MessageDigest getMD5();
descriptor: ()Ljava/security/MessageDigest;
flags: (0x0008) ACC_STATIC
Code:
stack=5, locals=1, args_size=0
0: ldc "MD5"
invokestatic java.security.MessageDigest.getInstance:(Ljava/lang/String;)Ljava/security/MessageDigest;
1: areturn
2: StackMap locals:
StackMap stack: java.security.NoSuchAlgorithmException
astore 0
start local 0 3: new java.lang.RuntimeException
dup
new java.lang.StringBuilder
dup
ldc "MD5 message digest doesn't seem to exist - fatal error: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
invokevirtual java.security.NoSuchAlgorithmException.getMessage:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
aload 0
invokespecial java.lang.RuntimeException.<init>:(Ljava/lang/String;Ljava/lang/Throwable;)V
athrow
end local 0 LocalVariableTable:
Start End Slot Name Signature
3 4 0 ex Ljava/security/NoSuchAlgorithmException;
Exception table:
from to target type
0 1 2 Class java.security.NoSuchAlgorithmException
public java.lang.String generateType1Msg(java.lang.String, java.lang.String);
descriptor: (Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 2
aload 1
invokestatic org.apache.http.impl.auth.NTLMEngineImpl.getType1Message:(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/http/impl/auth/NTLMEngineImpl;
0 1 1 domain Ljava/lang/String;
0 1 2 workstation Ljava/lang/String;
Exceptions:
throws org.apache.http.impl.auth.NTLMEngineException
MethodParameters:
Name Flags
domain final
workstation final
public java.lang.String generateType3Msg(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String);
descriptor: (Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=8, locals=7, args_size=6
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 0: new org.apache.http.impl.auth.NTLMEngineImpl$Type2Message
dup
aload 5
invokespecial org.apache.http.impl.auth.NTLMEngineImpl$Type2Message.<init>:(Ljava/lang/String;)V
astore 6
start local 6 1: aload 1
2: aload 2
3: aload 4
4: aload 3
5: aload 6
invokevirtual org.apache.http.impl.auth.NTLMEngineImpl$Type2Message.getChallenge:()[B
6: aload 6
invokevirtual org.apache.http.impl.auth.NTLMEngineImpl$Type2Message.getFlags:()I
7: aload 6
invokevirtual org.apache.http.impl.auth.NTLMEngineImpl$Type2Message.getTarget:()Ljava/lang/String;
8: aload 6
invokevirtual org.apache.http.impl.auth.NTLMEngineImpl$Type2Message.getTargetInfo:()[B
9: invokestatic org.apache.http.impl.auth.NTLMEngineImpl.getType3Message:(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;[BILjava/lang/String;[B)Ljava/lang/String;
areturn
end local 6 end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lorg/apache/http/impl/auth/NTLMEngineImpl;
0 10 1 username Ljava/lang/String;
0 10 2 password Ljava/lang/String;
0 10 3 domain Ljava/lang/String;
0 10 4 workstation Ljava/lang/String;
0 10 5 challenge Ljava/lang/String;
1 10 6 t2m Lorg/apache/http/impl/auth/NTLMEngineImpl$Type2Message;
Exceptions:
throws org.apache.http.impl.auth.NTLMEngineException
MethodParameters:
Name Flags
username final
password final
domain final
workstation final
challenge final
}
SourceFile: "NTLMEngineImpl.java"
NestMembers:
org.apache.http.impl.auth.NTLMEngineImpl$CipherGen org.apache.http.impl.auth.NTLMEngineImpl$HMACMD5 org.apache.http.impl.auth.NTLMEngineImpl$Handle org.apache.http.impl.auth.NTLMEngineImpl$MD4 org.apache.http.impl.auth.NTLMEngineImpl$Mode org.apache.http.impl.auth.NTLMEngineImpl$NTLMMessage org.apache.http.impl.auth.NTLMEngineImpl$Type1Message org.apache.http.impl.auth.NTLMEngineImpl$Type2Message org.apache.http.impl.auth.NTLMEngineImpl$Type3Message
InnerClasses:
protected CipherGen = org.apache.http.impl.auth.NTLMEngineImpl$CipherGen of org.apache.http.impl.auth.NTLMEngineImpl
HMACMD5 = org.apache.http.impl.auth.NTLMEngineImpl$HMACMD5 of org.apache.http.impl.auth.NTLMEngineImpl
Handle = org.apache.http.impl.auth.NTLMEngineImpl$Handle of org.apache.http.impl.auth.NTLMEngineImpl
MD4 = org.apache.http.impl.auth.NTLMEngineImpl$MD4 of org.apache.http.impl.auth.NTLMEngineImpl
final Mode = org.apache.http.impl.auth.NTLMEngineImpl$Mode of org.apache.http.impl.auth.NTLMEngineImpl
NTLMMessage = org.apache.http.impl.auth.NTLMEngineImpl$NTLMMessage of org.apache.http.impl.auth.NTLMEngineImpl
Type1Message = org.apache.http.impl.auth.NTLMEngineImpl$Type1Message of org.apache.http.impl.auth.NTLMEngineImpl
Type2Message = org.apache.http.impl.auth.NTLMEngineImpl$Type2Message of org.apache.http.impl.auth.NTLMEngineImpl
Type3Message = org.apache.http.impl.auth.NTLMEngineImpl$Type3Message of org.apache.http.impl.auth.NTLMEngineImpl