final class com.sun.security.sasl.PlainClient implements javax.security.sasl.SaslClient
minor version: 0
major version: 59
flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
this_class: com.sun.security.sasl.PlainClient
super_class: java.lang.Object
{
private boolean completed;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
private byte[] pw;
descriptor: [B
flags: (0x0002) ACC_PRIVATE
private java.lang.String authorizationID;
descriptor: Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
private java.lang.String authenticationID;
descriptor: Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
private static byte SEP;
descriptor: B
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: iconst_0
putstatic com.sun.security.sasl.PlainClient.SEP:B
return
LocalVariableTable:
Start End Slot Name Signature
void <init>(java.lang.String, java.lang.String, byte[]);
descriptor: (Ljava/lang/String;Ljava/lang/String;[B)V
flags: (0x0000)
Code:
stack=3, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
iconst_0
putfield com.sun.security.sasl.PlainClient.completed:Z
2: aload 2
ifnull 3
aload 3
ifnonnull 6
3: StackMap locals: com.sun.security.sasl.PlainClient java.lang.String java.lang.String byte[]
StackMap stack:
new javax.security.sasl.SaslException
dup
4: ldc "PLAIN: authorization ID and password must be specified"
5: invokespecial javax.security.sasl.SaslException.<init>:(Ljava/lang/String;)V
athrow
6: StackMap locals:
StackMap stack:
aload 0
aload 1
putfield com.sun.security.sasl.PlainClient.authorizationID:Ljava/lang/String;
7: aload 0
aload 2
putfield com.sun.security.sasl.PlainClient.authenticationID:Ljava/lang/String;
8: aload 0
aload 3
putfield com.sun.security.sasl.PlainClient.pw:[B
9: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lcom/sun/security/sasl/PlainClient;
0 10 1 authorizationID Ljava/lang/String;
0 10 2 authenticationID Ljava/lang/String;
0 10 3 pw [B
Exceptions:
throws javax.security.sasl.SaslException
MethodParameters:
Name Flags
authorizationID
authenticationID
pw
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 "PLAIN"
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/security/sasl/PlainClient;
public boolean hasInitialResponse();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: iconst_1
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/security/sasl/PlainClient;
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.PlainClient.clearPassword:()V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/sun/security/sasl/PlainClient;
Exceptions:
throws javax.security.sasl.SaslException
public byte[] evaluateChallenge(byte[]);
descriptor: ([B)[B
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=6, args_size=2
start local 0 start local 1 0: aload 0
getfield com.sun.security.sasl.PlainClient.completed:Z
ifeq 4
1: new java.lang.IllegalStateException
dup
2: ldc "PLAIN authentication already completed"
3: invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
athrow
4: StackMap locals:
StackMap stack:
aload 0
iconst_1
putfield com.sun.security.sasl.PlainClient.completed:Z
5: aload 0
getfield com.sun.security.sasl.PlainClient.authorizationID:Ljava/lang/String;
ifnull 7
6: aload 0
getfield com.sun.security.sasl.PlainClient.authorizationID:Ljava/lang/String;
getstatic java.nio.charset.StandardCharsets.UTF_8:Ljava/nio/charset/Charset;
invokevirtual java.lang.String.getBytes:(Ljava/nio/charset/Charset;)[B
goto 8
7: StackMap locals:
StackMap stack:
aconst_null
8: StackMap locals:
StackMap stack: byte[]
astore 2
start local 2 9: aload 0
getfield com.sun.security.sasl.PlainClient.authenticationID:Ljava/lang/String;
getstatic java.nio.charset.StandardCharsets.UTF_8:Ljava/nio/charset/Charset;
invokevirtual java.lang.String.getBytes:(Ljava/nio/charset/Charset;)[B
astore 3
start local 3 10: aload 0
getfield com.sun.security.sasl.PlainClient.pw:[B
arraylength
aload 3
arraylength
iadd
iconst_2
iadd
11: aload 2
ifnonnull 12
iconst_0
goto 13
StackMap locals: com.sun.security.sasl.PlainClient byte[] byte[] byte[]
StackMap stack: int
12: aload 2
arraylength
13: StackMap locals: com.sun.security.sasl.PlainClient byte[] byte[] byte[]
StackMap stack: int int
iadd
newarray 8
astore 4
start local 4 14: iconst_0
istore 5
start local 5 15: aload 2
ifnull 18
16: aload 2
iconst_0
aload 4
iconst_0
aload 2
arraylength
invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
17: aload 2
arraylength
istore 5
18: StackMap locals: byte[] int
StackMap stack:
aload 4
iload 5
iinc 5 1
getstatic com.sun.security.sasl.PlainClient.SEP:B
bastore
19: aload 3
iconst_0
aload 4
iload 5
aload 3
arraylength
invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
20: iload 5
aload 3
arraylength
iadd
istore 5
21: aload 4
iload 5
iinc 5 1
getstatic com.sun.security.sasl.PlainClient.SEP:B
bastore
22: aload 0
getfield com.sun.security.sasl.PlainClient.pw:[B
iconst_0
aload 4
iload 5
aload 0
getfield com.sun.security.sasl.PlainClient.pw:[B
arraylength
invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
23: aload 0
invokevirtual com.sun.security.sasl.PlainClient.clearPassword:()V
24: aload 4
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 25 0 this Lcom/sun/security/sasl/PlainClient;
0 25 1 challengeData [B
9 25 2 authz [B
10 25 3 auth [B
14 25 4 answer [B
15 25 5 pos I
MethodParameters:
Name Flags
challengeData
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.PlainClient.completed:Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/security/sasl/PlainClient;
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.PlainClient.completed:Z
ifeq 4
1: new javax.security.sasl.SaslException
dup
2: ldc "PLAIN supports neither integrity nor privacy"
3: invokespecial javax.security.sasl.SaslException.<init>:(Ljava/lang/String;)V
athrow
4: StackMap locals:
StackMap stack:
new java.lang.IllegalStateException
dup
ldc "PLAIN authentication not completed"
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 5 0 this Lcom/sun/security/sasl/PlainClient;
0 5 1 incoming [B
0 5 2 offset I
0 5 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.PlainClient.completed:Z
ifeq 4
1: new javax.security.sasl.SaslException
dup
2: ldc "PLAIN supports neither integrity nor privacy"
3: invokespecial javax.security.sasl.SaslException.<init>:(Ljava/lang/String;)V
athrow
4: StackMap locals:
StackMap stack:
new java.lang.IllegalStateException
dup
ldc "PLAIN authentication not completed"
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 5 0 this Lcom/sun/security/sasl/PlainClient;
0 5 1 outgoing [B
0 5 2 offset I
0 5 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.PlainClient.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
ldc "PLAIN authentication not completed"
invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
athrow
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lcom/sun/security/sasl/PlainClient;
0 5 1 propName Ljava/lang/String;
MethodParameters:
Name Flags
propName
private void clearPassword();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=2, args_size=1
start local 0 0: aload 0
getfield com.sun.security.sasl.PlainClient.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.PlainClient.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.PlainClient.pw:[B
arraylength
if_icmplt 3
end local 1 6: aload 0
aconst_null
putfield com.sun.security.sasl.PlainClient.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/PlainClient;
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.PlainClient.clearPassword:()V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/sun/security/sasl/PlainClient;
}
SourceFile: "PlainClient.java"