abstract class com.sun.security.sasl.CramMD5Base
minor version: 0
major version: 59
flags: flags: (0x0420) ACC_SUPER, ACC_ABSTRACT
this_class: com.sun.security.sasl.CramMD5Base
super_class: java.lang.Object
{
protected boolean completed;
descriptor: Z
flags: (0x0004) ACC_PROTECTED
protected boolean aborted;
descriptor: Z
flags: (0x0004) ACC_PROTECTED
protected byte[] pw;
descriptor: [B
flags: (0x0004) ACC_PROTECTED
private static final int MD5_BLOCKSIZE;
descriptor: I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 64
private static final java.lang.String SASL_LOGGER_NAME;
descriptor: Ljava/lang/String;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: "javax.security.sasl"
protected static java.util.logging.Logger logger;
descriptor: Ljava/util/logging/Logger;
flags: (0x000c) ACC_PROTECTED, ACC_STATIC
protected void <init>();
descriptor: ()V
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
iconst_0
putfield com.sun.security.sasl.CramMD5Base.completed:Z
2: aload 0
iconst_0
putfield com.sun.security.sasl.CramMD5Base.aborted:Z
3: invokestatic com.sun.security.sasl.CramMD5Base.initLogger:()V
4: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lcom/sun/security/sasl/CramMD5Base;
public java.lang.String getMechanismName();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: ldc "CRAM-MD5"
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/security/sasl/CramMD5Base;
public boolean isComplete();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.sun.security.sasl.CramMD5Base.completed:Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/security/sasl/CramMD5Base;
public byte[] unwrap(byte[], int, int);
descriptor: ([BII)[B
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
getfield com.sun.security.sasl.CramMD5Base.completed:Z
ifeq 4
1: new java.lang.IllegalStateException
dup
2: ldc "CRAM-MD5 supports neither integrity nor privacy"
3: invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
athrow
4: StackMap locals:
StackMap stack:
new java.lang.IllegalStateException
dup
5: ldc "CRAM-MD5 authentication not completed"
6: invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
athrow
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lcom/sun/security/sasl/CramMD5Base;
0 7 1 incoming [B
0 7 2 offset I
0 7 3 len I
Exceptions:
throws javax.security.sasl.SaslException
MethodParameters:
Name Flags
incoming
offset
len
public byte[] wrap(byte[], int, int);
descriptor: ([BII)[B
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
getfield com.sun.security.sasl.CramMD5Base.completed:Z
ifeq 4
1: new java.lang.IllegalStateException
dup
2: ldc "CRAM-MD5 supports neither integrity nor privacy"
3: invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
athrow
4: StackMap locals:
StackMap stack:
new java.lang.IllegalStateException
dup
5: ldc "CRAM-MD5 authentication not completed"
6: invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
athrow
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lcom/sun/security/sasl/CramMD5Base;
0 7 1 outgoing [B
0 7 2 offset I
0 7 3 len I
Exceptions:
throws javax.security.sasl.SaslException
MethodParameters:
Name Flags
outgoing
offset
len
public java.lang.Object getNegotiatedProperty(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield com.sun.security.sasl.CramMD5Base.completed:Z
ifeq 4
1: aload 1
ldc "javax.security.sasl.qop"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 3
2: ldc "auth"
areturn
3: StackMap locals:
StackMap stack:
aconst_null
areturn
4: StackMap locals:
StackMap stack:
new java.lang.IllegalStateException
dup
5: ldc "CRAM-MD5 authentication not completed"
6: invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
athrow
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lcom/sun/security/sasl/CramMD5Base;
0 7 1 propName Ljava/lang/String;
MethodParameters:
Name Flags
propName
public void dispose();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual com.sun.security.sasl.CramMD5Base.clearPassword:()V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/sun/security/sasl/CramMD5Base;
Exceptions:
throws javax.security.sasl.SaslException
protected void clearPassword();
descriptor: ()V
flags: (0x0004) ACC_PROTECTED
Code:
stack=3, locals=2, args_size=1
start local 0 0: aload 0
getfield com.sun.security.sasl.CramMD5Base.pw:[B
ifnull 7
1: iconst_0
istore 1
start local 1 2: goto 5
3: StackMap locals: int
StackMap stack:
aload 0
getfield com.sun.security.sasl.CramMD5Base.pw:[B
iload 1
iconst_0
bastore
4: iinc 1 1
StackMap locals:
StackMap stack:
5: iload 1
aload 0
getfield com.sun.security.sasl.CramMD5Base.pw:[B
arraylength
if_icmplt 3
end local 1 6: aload 0
aconst_null
putfield com.sun.security.sasl.CramMD5Base.pw:[B
7: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lcom/sun/security/sasl/CramMD5Base;
2 6 1 i I
protected void finalize();
descriptor: ()V
flags: (0x0004) ACC_PROTECTED
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual com.sun.security.sasl.CramMD5Base.clearPassword:()V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/sun/security/sasl/CramMD5Base;
static final java.lang.String HMAC_MD5(byte[], byte[]);
descriptor: ([B[B)Ljava/lang/String;
flags: (0x0018) ACC_STATIC, ACC_FINAL
Code:
stack=4, locals=8, args_size=2
start local 0 start local 1 0: ldc "MD5"
invokestatic java.security.MessageDigest.getInstance:(Ljava/lang/String;)Ljava/security/MessageDigest;
astore 2
start local 2 1: aload 0
arraylength
bipush 64
if_icmple 3
2: aload 2
aload 0
invokevirtual java.security.MessageDigest.digest:([B)[B
astore 0
3: StackMap locals: java.security.MessageDigest
StackMap stack:
bipush 64
newarray 8
astore 3
start local 3 4: bipush 64
newarray 8
astore 4
start local 4 5: iconst_0
istore 6
start local 6 6: goto 10
7: StackMap locals: byte[] byte[] java.security.MessageDigest byte[] byte[] top int
StackMap stack:
aload 3
iload 6
aload 0
iload 6
baload
bastore
8: aload 4
iload 6
aload 0
iload 6
baload
bastore
9: iinc 6 1
StackMap locals:
StackMap stack:
10: iload 6
aload 0
arraylength
if_icmplt 7
11: iconst_0
istore 6
goto 15
12: StackMap locals:
StackMap stack:
aload 3
iload 6
dup2
baload
bipush 54
ixor
i2b
bastore
13: aload 4
iload 6
dup2
baload
bipush 92
ixor
i2b
bastore
14: iinc 6 1
StackMap locals:
StackMap stack:
15: iload 6
bipush 64
if_icmplt 12
16: aload 2
aload 3
invokevirtual java.security.MessageDigest.update:([B)V
17: aload 2
aload 1
invokevirtual java.security.MessageDigest.update:([B)V
18: aload 2
invokevirtual java.security.MessageDigest.digest:()[B
astore 5
start local 5 19: aload 2
aload 4
invokevirtual java.security.MessageDigest.update:([B)V
20: aload 2
aload 5
invokevirtual java.security.MessageDigest.update:([B)V
21: aload 2
invokevirtual java.security.MessageDigest.digest:()[B
astore 5
22: new java.lang.StringBuffer
dup
invokespecial java.lang.StringBuffer.<init>:()V
astore 7
start local 7 23: iconst_0
istore 6
goto 33
24: StackMap locals: byte[] byte[] java.security.MessageDigest byte[] byte[] byte[] int java.lang.StringBuffer
StackMap stack:
aload 5
iload 6
baload
sipush 255
iand
bipush 16
if_icmpge 29
25: aload 7
new java.lang.StringBuilder
dup
ldc "0"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
26: aload 5
iload 6
baload
sipush 255
iand
invokestatic java.lang.Integer.toHexString:(I)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
27: invokevirtual java.lang.StringBuffer.append:(Ljava/lang/String;)Ljava/lang/StringBuffer;
pop
28: goto 32
29: StackMap locals:
StackMap stack:
aload 7
30: aload 5
iload 6
baload
sipush 255
iand
invokestatic java.lang.Integer.toHexString:(I)Ljava/lang/String;
31: invokevirtual java.lang.StringBuffer.append:(Ljava/lang/String;)Ljava/lang/StringBuffer;
pop
32: StackMap locals:
StackMap stack:
iinc 6 1
StackMap locals:
StackMap stack:
33: iload 6
aload 5
arraylength
if_icmplt 24
34: aload 3
iconst_0
invokestatic java.util.Arrays.fill:([BB)V
35: aload 4
iconst_0
invokestatic java.util.Arrays.fill:([BB)V
36: aconst_null
astore 3
37: aconst_null
astore 4
38: aload 7
invokevirtual java.lang.StringBuffer.toString:()Ljava/lang/String;
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 39 0 key [B
0 39 1 text [B
1 39 2 md5 Ljava/security/MessageDigest;
4 39 3 ipad [B
5 39 4 opad [B
19 39 5 digest [B
6 39 6 i I
23 39 7 digestString Ljava/lang/StringBuffer;
Exceptions:
throws java.security.NoSuchAlgorithmException
MethodParameters:
Name Flags
key
text
private static synchronized void initLogger();
descriptor: ()V
flags: (0x002a) ACC_PRIVATE, ACC_STATIC, ACC_SYNCHRONIZED
Code:
stack=1, locals=0, args_size=0
0: getstatic com.sun.security.sasl.CramMD5Base.logger:Ljava/util/logging/Logger;
ifnonnull 2
1: ldc "javax.security.sasl"
invokestatic java.util.logging.Logger.getLogger:(Ljava/lang/String;)Ljava/util/logging/Logger;
putstatic com.sun.security.sasl.CramMD5Base.logger:Ljava/util/logging/Logger;
2: StackMap locals:
StackMap stack:
return
LocalVariableTable:
Start End Slot Name Signature
}
SourceFile: "CramMD5Base.java"