final class sun.security.ssl.CertificateAuthoritiesExtension$CertificateAuthoritiesSpec implements sun.security.ssl.SSLExtension$SSLExtensionSpec
minor version: 0
major version: 59
flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
this_class: sun.security.ssl.CertificateAuthoritiesExtension$CertificateAuthoritiesSpec
super_class: java.lang.Object
{
final java.util.List<byte[]> authorities;
descriptor: Ljava/util/List;
flags: (0x0010) ACC_FINAL
Signature: Ljava/util/List<[B>;
private void <init>(java.util.List<byte[]>);
descriptor: (Ljava/util/List;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
aload 1
putfield sun.security.ssl.CertificateAuthoritiesExtension$CertificateAuthoritiesSpec.authorities:Ljava/util/List;
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lsun/security/ssl/CertificateAuthoritiesExtension$CertificateAuthoritiesSpec;
0 3 1 authorities Ljava/util/List<[B>;
Signature: (Ljava/util/List<[B>;)V
MethodParameters:
Name Flags
authorities
private void <init>(sun.security.ssl.HandshakeContext, java.nio.ByteBuffer);
descriptor: (Lsun/security/ssl/HandshakeContext;Ljava/nio/ByteBuffer;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=5, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 2
invokevirtual java.nio.ByteBuffer.remaining:()I
iconst_3
if_icmpge 7
2: aload 1
getfield sun.security.ssl.HandshakeContext.conContext:Lsun/security/ssl/TransportContext;
getstatic sun.security.ssl.Alert.DECODE_ERROR:Lsun/security/ssl/Alert;
3: new javax.net.ssl.SSLProtocolException
dup
4: ldc "Invalid certificate_authorities extension: insufficient data"
5: invokespecial javax.net.ssl.SSLProtocolException.<init>:(Ljava/lang/String;)V
6: invokevirtual sun.security.ssl.TransportContext.fatal:(Lsun/security/ssl/Alert;Ljava/lang/Throwable;)Ljavax/net/ssl/SSLException;
athrow
7: StackMap locals: sun.security.ssl.CertificateAuthoritiesExtension$CertificateAuthoritiesSpec sun.security.ssl.HandshakeContext java.nio.ByteBuffer
StackMap stack:
aload 2
invokestatic sun.security.ssl.Record.getInt16:(Ljava/nio/ByteBuffer;)I
istore 3
start local 3 8: iload 3
ifne 12
9: aload 1
getfield sun.security.ssl.HandshakeContext.conContext:Lsun/security/ssl/TransportContext;
getstatic sun.security.ssl.Alert.DECODE_ERROR:Lsun/security/ssl/Alert;
10: ldc "Invalid certificate_authorities extension: no certificate authorities"
11: invokevirtual sun.security.ssl.TransportContext.fatal:(Lsun/security/ssl/Alert;Ljava/lang/String;)Ljavax/net/ssl/SSLException;
athrow
12: StackMap locals: int
StackMap stack:
iload 3
aload 2
invokevirtual java.nio.ByteBuffer.remaining:()I
if_icmple 16
13: aload 1
getfield sun.security.ssl.HandshakeContext.conContext:Lsun/security/ssl/TransportContext;
getstatic sun.security.ssl.Alert.DECODE_ERROR:Lsun/security/ssl/Alert;
14: ldc "Invalid certificate_authorities extension: insufficient data"
15: invokevirtual sun.security.ssl.TransportContext.fatal:(Lsun/security/ssl/Alert;Ljava/lang/String;)Ljavax/net/ssl/SSLException;
athrow
16: StackMap locals:
StackMap stack:
aload 0
new java.util.LinkedList
dup
invokespecial java.util.LinkedList.<init>:()V
putfield sun.security.ssl.CertificateAuthoritiesExtension$CertificateAuthoritiesSpec.authorities:Ljava/util/List;
17: goto 21
18: StackMap locals:
StackMap stack:
aload 2
invokestatic sun.security.ssl.Record.getBytes16:(Ljava/nio/ByteBuffer;)[B
astore 4
start local 4 19: iload 3
iconst_2
aload 4
arraylength
iadd
isub
istore 3
20: aload 0
getfield sun.security.ssl.CertificateAuthoritiesExtension$CertificateAuthoritiesSpec.authorities:Ljava/util/List;
aload 4
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
end local 4 21: StackMap locals:
StackMap stack:
iload 3
ifgt 18
22: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 23 0 this Lsun/security/ssl/CertificateAuthoritiesExtension$CertificateAuthoritiesSpec;
0 23 1 hc Lsun/security/ssl/HandshakeContext;
0 23 2 m Ljava/nio/ByteBuffer;
8 23 3 listLen I
19 21 4 encoded [B
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
hc
m
private static java.util.List<byte[]> getEncodedAuthorities(java.security.cert.X509Certificate[]);
descriptor: ([Ljava/security/cert/X509Certificate;)Ljava/util/List;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=3, locals=9, args_size=1
start local 0 0: new java.util.ArrayList
dup
aload 0
arraylength
invokespecial java.util.ArrayList.<init>:(I)V
astore 1
start local 1 1: iconst_0
istore 2
start local 2 2: aload 0
dup
astore 6
arraylength
istore 5
iconst_0
istore 4
goto 12
StackMap locals: java.security.cert.X509Certificate[] java.util.List int top int int java.security.cert.X509Certificate[]
StackMap stack:
3: aload 6
iload 4
aaload
astore 3
start local 3 4: aload 3
invokevirtual java.security.cert.X509Certificate.getSubjectX500Principal:()Ljavax/security/auth/x500/X500Principal;
astore 7
start local 7 5: aload 7
invokevirtual javax.security.auth.x500.X500Principal.getEncoded:()[B
astore 8
start local 8 6: iload 2
aload 8
arraylength
iadd
istore 2
7: iload 2
ldc 65535
if_icmple 9
8: invokestatic java.util.Collections.emptyList:()Ljava/util/List;
areturn
9: StackMap locals: java.security.cert.X509Certificate[] java.util.List int java.security.cert.X509Certificate int int java.security.cert.X509Certificate[] javax.security.auth.x500.X500Principal byte[]
StackMap stack:
aload 8
arraylength
ifeq 11
10: aload 1
aload 8
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
end local 8 end local 7 end local 3 11: StackMap locals: java.security.cert.X509Certificate[] java.util.List int top int int java.security.cert.X509Certificate[]
StackMap stack:
iinc 4 1
StackMap locals:
StackMap stack:
12: iload 4
iload 5
if_icmplt 3
13: aload 1
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 14 0 trustedCerts [Ljava/security/cert/X509Certificate;
1 14 1 authorities Ljava/util/List<[B>;
2 14 2 sizeAccount I
4 11 3 cert Ljava/security/cert/X509Certificate;
5 11 7 x500Principal Ljavax/security/auth/x500/X500Principal;
6 11 8 encodedPrincipal [B
Signature: ([Ljava/security/cert/X509Certificate;)Ljava/util/List<[B>;
MethodParameters:
Name Flags
trustedCerts
javax.security.auth.x500.X500Principal[] getAuthorities();
descriptor: ()[Ljavax/security/auth/x500/X500Principal;
flags: (0x0000)
Code:
stack=5, locals=5, args_size=1
start local 0 0: aload 0
getfield sun.security.ssl.CertificateAuthoritiesExtension$CertificateAuthoritiesSpec.authorities:Ljava/util/List;
invokeinterface java.util.List.size:()I
anewarray javax.security.auth.x500.X500Principal
astore 1
start local 1 1: iconst_0
istore 2
start local 2 2: aload 0
getfield sun.security.ssl.CertificateAuthoritiesExtension$CertificateAuthoritiesSpec.authorities:Ljava/util/List;
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 4
goto 5
StackMap locals: sun.security.ssl.CertificateAuthoritiesExtension$CertificateAuthoritiesSpec javax.security.auth.x500.X500Principal[] int top java.util.Iterator
StackMap stack:
3: aload 4
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast byte[]
astore 3
start local 3 4: aload 1
iload 2
iinc 2 1
new javax.security.auth.x500.X500Principal
dup
aload 3
invokespecial javax.security.auth.x500.X500Principal.<init>:([B)V
aastore
end local 3 5: StackMap locals:
StackMap stack:
aload 4
invokeinterface java.util.Iterator.hasNext:()Z
ifne 3
6: aload 1
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lsun/security/ssl/CertificateAuthoritiesExtension$CertificateAuthoritiesSpec;
1 7 1 principals [Ljavax/security/auth/x500/X500Principal;
2 7 2 i I
4 5 3 encoded [B
public java.lang.String toString();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=6, args_size=1
start local 0 0: new java.text.MessageFormat
dup
1: ldc "\"certificate authorities\": '['\n{0}']'"
getstatic java.util.Locale.ENGLISH:Ljava/util/Locale;
2: invokespecial java.text.MessageFormat.<init>:(Ljava/lang/String;Ljava/util/Locale;)V
astore 1
start local 1 3: new java.lang.StringBuilder
dup
sipush 512
invokespecial java.lang.StringBuilder.<init>:(I)V
astore 2
start local 2 4: aload 0
getfield sun.security.ssl.CertificateAuthoritiesExtension$CertificateAuthoritiesSpec.authorities:Ljava/util/List;
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 4
goto 9
StackMap locals: sun.security.ssl.CertificateAuthoritiesExtension$CertificateAuthoritiesSpec java.text.MessageFormat java.lang.StringBuilder top java.util.Iterator
StackMap stack:
5: aload 4
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast byte[]
astore 3
start local 3 6: new javax.security.auth.x500.X500Principal
dup
aload 3
invokespecial javax.security.auth.x500.X500Principal.<init>:([B)V
astore 5
start local 5 7: aload 2
aload 5
invokevirtual javax.security.auth.x500.X500Principal.toString:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
8: aload 2
ldc "\n"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
end local 5 end local 3 9: StackMap locals:
StackMap stack:
aload 4
invokeinterface java.util.Iterator.hasNext:()Z
ifne 5
10: iconst_1
anewarray java.lang.Object
dup
iconst_0
11: aload 2
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokestatic sun.security.ssl.Utilities.indent:(Ljava/lang/String;)Ljava/lang/String;
aastore
12: astore 3
start local 3 13: aload 1
aload 3
invokevirtual java.text.MessageFormat.format:(Ljava/lang/Object;)Ljava/lang/String;
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 14 0 this Lsun/security/ssl/CertificateAuthoritiesExtension$CertificateAuthoritiesSpec;
3 14 1 messageFormat Ljava/text/MessageFormat;
4 14 2 builder Ljava/lang/StringBuilder;
6 9 3 encoded [B
7 9 5 principal Ljavax/security/auth/x500/X500Principal;
13 14 3 messageFields [Ljava/lang/Object;
}
SourceFile: "CertificateAuthoritiesExtension.java"
NestHost: sun.security.ssl.CertificateAuthoritiesExtension
InnerClasses:
final CertificateAuthoritiesSpec = sun.security.ssl.CertificateAuthoritiesExtension$CertificateAuthoritiesSpec of sun.security.ssl.CertificateAuthoritiesExtension
abstract SSLExtensionSpec = sun.security.ssl.SSLExtension$SSLExtensionSpec of sun.security.ssl.SSLExtension