final class sun.security.ssl.HandshakeMessage$CertificateRequest extends sun.security.ssl.HandshakeMessage
minor version: 0
major version: 59
flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
this_class: sun.security.ssl.HandshakeMessage$CertificateRequest
super_class: sun.security.ssl.HandshakeMessage
{
static final int cct_rsa_sign;
descriptor: I
flags: (0x0018) ACC_STATIC, ACC_FINAL
ConstantValue: 1
static final int cct_dss_sign;
descriptor: I
flags: (0x0018) ACC_STATIC, ACC_FINAL
ConstantValue: 2
static final int cct_rsa_fixed_dh;
descriptor: I
flags: (0x0018) ACC_STATIC, ACC_FINAL
ConstantValue: 3
static final int cct_dss_fixed_dh;
descriptor: I
flags: (0x0018) ACC_STATIC, ACC_FINAL
ConstantValue: 4
static final int cct_rsa_ephemeral_dh;
descriptor: I
flags: (0x0018) ACC_STATIC, ACC_FINAL
ConstantValue: 5
static final int cct_dss_ephemeral_dh;
descriptor: I
flags: (0x0018) ACC_STATIC, ACC_FINAL
ConstantValue: 6
static final int cct_ecdsa_sign;
descriptor: I
flags: (0x0018) ACC_STATIC, ACC_FINAL
ConstantValue: 64
static final int cct_rsa_fixed_ecdh;
descriptor: I
flags: (0x0018) ACC_STATIC, ACC_FINAL
ConstantValue: 65
static final int cct_ecdsa_fixed_ecdh;
descriptor: I
flags: (0x0018) ACC_STATIC, ACC_FINAL
ConstantValue: 66
private static final byte[] TYPES_NO_ECC;
descriptor: [B
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static final byte[] TYPES_ECC;
descriptor: [B
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
byte[] types;
descriptor: [B
flags: (0x0000)
sun.security.ssl.HandshakeMessage$DistinguishedName[] authorities;
descriptor: [Lsun/security/ssl/HandshakeMessage$DistinguishedName;
flags: (0x0000)
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=4, locals=0, args_size=0
0: iconst_2
newarray 8
dup
iconst_0
iconst_1
bastore
dup
iconst_1
iconst_2
bastore
putstatic sun.security.ssl.HandshakeMessage$CertificateRequest.TYPES_NO_ECC:[B
1: iconst_3
newarray 8
dup
iconst_0
iconst_1
bastore
dup
iconst_1
iconst_2
bastore
dup
iconst_2
bipush 64
bastore
2: putstatic sun.security.ssl.HandshakeMessage$CertificateRequest.TYPES_ECC:[B
3: return
LocalVariableTable:
Start End Slot Name Signature
int messageType();
descriptor: ()I
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: bipush 13
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/security/ssl/HandshakeMessage$CertificateRequest;
void <init>(java.security.cert.X509Certificate[], sun.security.ssl.CipherSuite$KeyExchange);
descriptor: ([Ljava/security/cert/X509Certificate;Lsun/security/ssl/CipherSuite$KeyExchange;)V
flags: (0x0000)
Code:
stack=5, locals=5, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokespecial sun.security.ssl.HandshakeMessage.<init>:()V
1: aload 0
aload 1
arraylength
anewarray sun.security.ssl.HandshakeMessage$DistinguishedName
putfield sun.security.ssl.HandshakeMessage$CertificateRequest.authorities:[Lsun/security/ssl/HandshakeMessage$DistinguishedName;
2: iconst_0
istore 3
start local 3 3: goto 7
4: StackMap locals: sun.security.ssl.HandshakeMessage$CertificateRequest java.security.cert.X509Certificate[] sun.security.ssl.CipherSuite$KeyExchange int
StackMap stack:
aload 1
iload 3
aaload
invokevirtual java.security.cert.X509Certificate.getSubjectX500Principal:()Ljavax/security/auth/x500/X500Principal;
astore 4
start local 4 5: aload 0
getfield sun.security.ssl.HandshakeMessage$CertificateRequest.authorities:[Lsun/security/ssl/HandshakeMessage$DistinguishedName;
iload 3
new sun.security.ssl.HandshakeMessage$DistinguishedName
dup
aload 4
invokespecial sun.security.ssl.HandshakeMessage$DistinguishedName.<init>:(Ljavax/security/auth/x500/X500Principal;)V
aastore
end local 4 6: iinc 3 1
StackMap locals:
StackMap stack:
7: iload 3
aload 1
arraylength
if_icmplt 4
end local 3 8: aload 0
invokestatic sun.security.ssl.JsseJce.isEcAvailable:()Z
ifeq 9
getstatic sun.security.ssl.HandshakeMessage$CertificateRequest.TYPES_ECC:[B
goto 10
StackMap locals: sun.security.ssl.HandshakeMessage$CertificateRequest java.security.cert.X509Certificate[] sun.security.ssl.CipherSuite$KeyExchange
StackMap stack: sun.security.ssl.HandshakeMessage$CertificateRequest
9: getstatic sun.security.ssl.HandshakeMessage$CertificateRequest.TYPES_NO_ECC:[B
StackMap locals: sun.security.ssl.HandshakeMessage$CertificateRequest java.security.cert.X509Certificate[] sun.security.ssl.CipherSuite$KeyExchange
StackMap stack: sun.security.ssl.HandshakeMessage$CertificateRequest byte[]
10: putfield sun.security.ssl.HandshakeMessage$CertificateRequest.types:[B
11: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Lsun/security/ssl/HandshakeMessage$CertificateRequest;
0 12 1 ca [Ljava/security/cert/X509Certificate;
0 12 2 keyExchange Lsun/security/ssl/CipherSuite$KeyExchange;
3 8 3 i I
5 6 4 x500Principal Ljavax/security/auth/x500/X500Principal;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
ca
keyExchange
void <init>(sun.security.ssl.HandshakeInStream);
descriptor: (Lsun/security/ssl/HandshakeInStream;)V
flags: (0x0000)
Code:
stack=3, locals=5, args_size=2
start local 0 start local 1 0: aload 0
invokespecial sun.security.ssl.HandshakeMessage.<init>:()V
1: aload 0
aload 1
invokevirtual sun.security.ssl.HandshakeInStream.getBytes8:()[B
putfield sun.security.ssl.HandshakeMessage$CertificateRequest.types:[B
2: aload 1
invokevirtual sun.security.ssl.HandshakeInStream.getInt16:()I
istore 2
start local 2 3: new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
astore 3
start local 3 4: goto 8
5: StackMap locals: sun.security.ssl.HandshakeMessage$CertificateRequest sun.security.ssl.HandshakeInStream int java.util.ArrayList
StackMap stack:
new sun.security.ssl.HandshakeMessage$DistinguishedName
dup
aload 1
invokespecial sun.security.ssl.HandshakeMessage$DistinguishedName.<init>:(Lsun/security/ssl/HandshakeInStream;)V
astore 4
start local 4 6: aload 3
aload 4
invokevirtual java.util.ArrayList.add:(Ljava/lang/Object;)Z
pop
7: iload 2
aload 4
invokevirtual sun.security.ssl.HandshakeMessage$DistinguishedName.length:()I
isub
istore 2
end local 4 8: StackMap locals:
StackMap stack:
iload 2
iconst_3
if_icmpge 5
9: iload 2
ifeq 11
10: new javax.net.ssl.SSLProtocolException
dup
ldc "Bad CertificateRequest DN length"
invokespecial javax.net.ssl.SSLProtocolException.<init>:(Ljava/lang/String;)V
athrow
11: StackMap locals:
StackMap stack:
aload 0
aload 3
aload 3
invokevirtual java.util.ArrayList.size:()I
anewarray sun.security.ssl.HandshakeMessage$DistinguishedName
invokevirtual java.util.ArrayList.toArray:([Ljava/lang/Object;)[Ljava/lang/Object;
checkcast sun.security.ssl.HandshakeMessage$DistinguishedName[]
putfield sun.security.ssl.HandshakeMessage$CertificateRequest.authorities:[Lsun/security/ssl/HandshakeMessage$DistinguishedName;
12: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 this Lsun/security/ssl/HandshakeMessage$CertificateRequest;
0 13 1 input Lsun/security/ssl/HandshakeInStream;
3 13 2 len I
4 13 3 v Ljava/util/ArrayList<Lsun/security/ssl/HandshakeMessage$DistinguishedName;>;
6 8 4 dn Lsun/security/ssl/HandshakeMessage$DistinguishedName;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
input
javax.security.auth.x500.X500Principal[] getAuthorities();
descriptor: ()[Ljavax/security/auth/x500/X500Principal;
flags: (0x0000)
Code:
stack=4, locals=3, args_size=1
start local 0 0: aload 0
getfield sun.security.ssl.HandshakeMessage$CertificateRequest.authorities:[Lsun/security/ssl/HandshakeMessage$DistinguishedName;
arraylength
anewarray javax.security.auth.x500.X500Principal
astore 1
start local 1 1: iconst_0
istore 2
start local 2 2: goto 5
3: StackMap locals: javax.security.auth.x500.X500Principal[] int
StackMap stack:
aload 1
iload 2
aload 0
getfield sun.security.ssl.HandshakeMessage$CertificateRequest.authorities:[Lsun/security/ssl/HandshakeMessage$DistinguishedName;
iload 2
aaload
invokevirtual sun.security.ssl.HandshakeMessage$DistinguishedName.getX500Principal:()Ljavax/security/auth/x500/X500Principal;
aastore
4: iinc 2 1
StackMap locals:
StackMap stack:
5: iload 2
aload 0
getfield sun.security.ssl.HandshakeMessage$CertificateRequest.authorities:[Lsun/security/ssl/HandshakeMessage$DistinguishedName;
arraylength
if_icmplt 3
end local 2 6: aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lsun/security/ssl/HandshakeMessage$CertificateRequest;
1 7 1 ret [Ljavax/security/auth/x500/X500Principal;
2 6 2 i I
Exceptions:
throws java.io.IOException
int messageLength();
descriptor: ()I
flags: (0x0000)
Code:
stack=3, locals=3, args_size=1
start local 0 0: iconst_1
aload 0
getfield sun.security.ssl.HandshakeMessage$CertificateRequest.types:[B
arraylength
iadd
iconst_2
iadd
istore 1
start local 1 1: iconst_0
istore 2
start local 2 2: goto 5
3: StackMap locals: int int
StackMap stack:
iload 1
aload 0
getfield sun.security.ssl.HandshakeMessage$CertificateRequest.authorities:[Lsun/security/ssl/HandshakeMessage$DistinguishedName;
iload 2
aaload
invokevirtual sun.security.ssl.HandshakeMessage$DistinguishedName.length:()I
iadd
istore 1
4: iinc 2 1
StackMap locals:
StackMap stack:
5: iload 2
aload 0
getfield sun.security.ssl.HandshakeMessage$CertificateRequest.authorities:[Lsun/security/ssl/HandshakeMessage$DistinguishedName;
arraylength
if_icmplt 3
end local 2 6: iload 1
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lsun/security/ssl/HandshakeMessage$CertificateRequest;
1 7 1 len I
2 6 2 i I
void send(sun.security.ssl.HandshakeOutStream);
descriptor: (Lsun/security/ssl/HandshakeOutStream;)V
flags: (0x0000)
Code:
stack=3, locals=4, args_size=2
start local 0 start local 1 0: iconst_0
istore 2
start local 2 1: iconst_0
istore 3
start local 3 2: goto 5
3: StackMap locals: int int
StackMap stack:
iload 2
aload 0
getfield sun.security.ssl.HandshakeMessage$CertificateRequest.authorities:[Lsun/security/ssl/HandshakeMessage$DistinguishedName;
iload 3
aaload
invokevirtual sun.security.ssl.HandshakeMessage$DistinguishedName.length:()I
iadd
istore 2
4: iinc 3 1
StackMap locals:
StackMap stack:
5: iload 3
aload 0
getfield sun.security.ssl.HandshakeMessage$CertificateRequest.authorities:[Lsun/security/ssl/HandshakeMessage$DistinguishedName;
arraylength
if_icmplt 3
end local 3 6: aload 1
aload 0
getfield sun.security.ssl.HandshakeMessage$CertificateRequest.types:[B
invokevirtual sun.security.ssl.HandshakeOutStream.putBytes8:([B)V
7: aload 1
iload 2
invokevirtual sun.security.ssl.HandshakeOutStream.putInt16:(I)V
8: iconst_0
istore 3
start local 3 9: goto 12
10: StackMap locals:
StackMap stack:
aload 0
getfield sun.security.ssl.HandshakeMessage$CertificateRequest.authorities:[Lsun/security/ssl/HandshakeMessage$DistinguishedName;
iload 3
aaload
aload 1
invokevirtual sun.security.ssl.HandshakeMessage$DistinguishedName.send:(Lsun/security/ssl/HandshakeOutStream;)V
11: iinc 3 1
StackMap locals:
StackMap stack:
12: iload 3
aload 0
getfield sun.security.ssl.HandshakeMessage$CertificateRequest.authorities:[Lsun/security/ssl/HandshakeMessage$DistinguishedName;
arraylength
if_icmplt 10
end local 3 13: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 14 0 this Lsun/security/ssl/HandshakeMessage$CertificateRequest;
0 14 1 output Lsun/security/ssl/HandshakeOutStream;
1 14 2 len I
2 6 3 i I
9 13 3 i I
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
output
void print(java.io.PrintStream);
descriptor: (Ljava/io/PrintStream;)V
flags: (0x0000)
Code:
stack=4, locals=3, args_size=2
start local 0 start local 1 0: aload 1
ldc "*** CertificateRequest"
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
1: getstatic sun.security.ssl.HandshakeMessage$CertificateRequest.debug:Lsun/security/ssl/Debug;
ifnull 30
ldc "verbose"
invokestatic sun.security.ssl.Debug.isOn:(Ljava/lang/String;)Z
ifeq 30
2: aload 1
ldc "Cert Types: "
invokevirtual java.io.PrintStream.print:(Ljava/lang/String;)V
3: iconst_0
istore 2
start local 2 4: goto 19
5: StackMap locals: int
StackMap stack:
aload 0
getfield sun.security.ssl.HandshakeMessage$CertificateRequest.types:[B
iload 2
baload
lookupswitch { // 9
1: 6
2: 7
3: 8
4: 9
5: 10
6: 11
64: 12
65: 13
66: 14
default: 15
}
6: StackMap locals:
StackMap stack:
aload 1
ldc "RSA"
invokevirtual java.io.PrintStream.print:(Ljava/lang/String;)V
goto 16
7: StackMap locals:
StackMap stack:
aload 1
ldc "DSS"
invokevirtual java.io.PrintStream.print:(Ljava/lang/String;)V
goto 16
8: StackMap locals:
StackMap stack:
aload 1
ldc "Fixed DH (RSA sig)"
invokevirtual java.io.PrintStream.print:(Ljava/lang/String;)V
goto 16
9: StackMap locals:
StackMap stack:
aload 1
ldc "Fixed DH (DSS sig)"
invokevirtual java.io.PrintStream.print:(Ljava/lang/String;)V
goto 16
10: StackMap locals:
StackMap stack:
aload 1
ldc "Ephemeral DH (RSA sig)"
invokevirtual java.io.PrintStream.print:(Ljava/lang/String;)V
goto 16
11: StackMap locals:
StackMap stack:
aload 1
ldc "Ephemeral DH (DSS sig)"
invokevirtual java.io.PrintStream.print:(Ljava/lang/String;)V
goto 16
12: StackMap locals:
StackMap stack:
aload 1
ldc "ECDSA"
invokevirtual java.io.PrintStream.print:(Ljava/lang/String;)V
goto 16
13: StackMap locals:
StackMap stack:
aload 1
ldc "Fixed ECDH (RSA sig)"
invokevirtual java.io.PrintStream.print:(Ljava/lang/String;)V
goto 16
14: StackMap locals:
StackMap stack:
aload 1
ldc "Fixed ECDH (ECDSA sig)"
invokevirtual java.io.PrintStream.print:(Ljava/lang/String;)V
goto 16
15: StackMap locals:
StackMap stack:
aload 1
new java.lang.StringBuilder
dup
ldc "Type-"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
getfield sun.security.ssl.HandshakeMessage$CertificateRequest.types:[B
iload 2
baload
sipush 255
iand
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual java.io.PrintStream.print:(Ljava/lang/String;)V
16: StackMap locals:
StackMap stack:
iload 2
aload 0
getfield sun.security.ssl.HandshakeMessage$CertificateRequest.types:[B
arraylength
iconst_1
isub
if_icmpeq 18
17: aload 1
ldc ", "
invokevirtual java.io.PrintStream.print:(Ljava/lang/String;)V
18: StackMap locals:
StackMap stack:
iinc 2 1
StackMap locals:
StackMap stack:
19: iload 2
aload 0
getfield sun.security.ssl.HandshakeMessage$CertificateRequest.types:[B
arraylength
if_icmplt 5
end local 2 20: aload 1
invokevirtual java.io.PrintStream.println:()V
21: aload 1
ldc "Cert Authorities:"
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
22: aload 0
getfield sun.security.ssl.HandshakeMessage$CertificateRequest.authorities:[Lsun/security/ssl/HandshakeMessage$DistinguishedName;
arraylength
ifne 25
23: aload 1
ldc "<Empty>"
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
24: goto 30
25: StackMap locals:
StackMap stack:
iconst_0
istore 2
start local 2 26: goto 29
27: StackMap locals: int
StackMap stack:
aload 0
getfield sun.security.ssl.HandshakeMessage$CertificateRequest.authorities:[Lsun/security/ssl/HandshakeMessage$DistinguishedName;
iload 2
aaload
aload 1
invokevirtual sun.security.ssl.HandshakeMessage$DistinguishedName.print:(Ljava/io/PrintStream;)V
28: iinc 2 1
StackMap locals:
StackMap stack:
29: iload 2
aload 0
getfield sun.security.ssl.HandshakeMessage$CertificateRequest.authorities:[Lsun/security/ssl/HandshakeMessage$DistinguishedName;
arraylength
if_icmplt 27
end local 2 30: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 31 0 this Lsun/security/ssl/HandshakeMessage$CertificateRequest;
0 31 1 s Ljava/io/PrintStream;
4 20 2 i I
26 30 2 i I
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
s
}
SourceFile: "HandshakeMessage.java"
NestHost: sun.security.ssl.HandshakeMessage
InnerClasses:
final KeyExchange = sun.security.ssl.CipherSuite$KeyExchange of sun.security.ssl.CipherSuite
final CertificateRequest = sun.security.ssl.HandshakeMessage$CertificateRequest of sun.security.ssl.HandshakeMessage
final DistinguishedName = sun.security.ssl.HandshakeMessage$DistinguishedName of sun.security.ssl.HandshakeMessage