final class sun.security.ssl.CertificateAuthoritiesExtension$CRCertificateAuthoritiesProducer implements sun.security.ssl.HandshakeProducer
minor version: 0
major version: 59
flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
this_class: sun.security.ssl.CertificateAuthoritiesExtension$CRCertificateAuthoritiesProducer
super_class: java.lang.Object
{
private void <init>();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=1, locals=1, args_size=1
start local 0 // sun.security.ssl.CertificateAuthoritiesExtension$CRCertificateAuthoritiesProducer this
0: .line 296
aload 0 /* this */
invokespecial java.lang.Object.<init>:()V
1: .line 298
return
end local 0 // sun.security.ssl.CertificateAuthoritiesExtension$CRCertificateAuthoritiesProducer this
LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/security/ssl/CertificateAuthoritiesExtension$CRCertificateAuthoritiesProducer;
public byte[] produce(sun.security.ssl.ConnectionContext, sun.security.ssl.SSLHandshake$HandshakeMessage);
descriptor: (Lsun/security/ssl/ConnectionContext;Lsun/security/ssl/SSLHandshake$HandshakeMessage;)[B
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=12, args_size=3
start local 0 // sun.security.ssl.CertificateAuthoritiesExtension$CRCertificateAuthoritiesProducer this
start local 1 // sun.security.ssl.ConnectionContext context
start local 2 // sun.security.ssl.SSLHandshake$HandshakeMessage message
0: .line 304
aload 1 /* context */
checkcast sun.security.ssl.ServerHandshakeContext
astore 3 /* shc */
start local 3 // sun.security.ssl.ServerHandshakeContext shc
1: .line 307
aload 3 /* shc */
getfield sun.security.ssl.ServerHandshakeContext.sslConfig:Lsun/security/ssl/SSLConfiguration;
2: .line 308
getstatic sun.security.ssl.SSLExtension.CR_CERTIFICATE_AUTHORITIES:Lsun/security/ssl/SSLExtension;
3: .line 307
invokevirtual sun.security.ssl.SSLConfiguration.isAvailable:(Lsun/security/ssl/SSLExtension;)Z
4: .line 308
ifne 9
5: .line 309
getstatic sun.security.ssl.SSLLogger.isOn:Z
ifeq 8
ldc "ssl,handshake"
invokestatic sun.security.ssl.SSLLogger.isOn:(Ljava/lang/String;)Z
ifeq 8
6: .line 311
ldc "Ignore unavailable certificate_authorities extension"
iconst_0
anewarray java.lang.Object
7: .line 310
invokestatic sun.security.ssl.SSLLogger.fine:(Ljava/lang/String;[Ljava/lang/Object;)V
8: .line 315
StackMap locals: sun.security.ssl.ServerHandshakeContext
StackMap stack:
aconst_null
areturn
9: .line 320
StackMap locals:
StackMap stack:
aload 3 /* shc */
getfield sun.security.ssl.ServerHandshakeContext.sslContext:Lsun/security/ssl/SSLContextImpl;
invokevirtual sun.security.ssl.SSLContextImpl.getX509TrustManager:()Ljavax/net/ssl/X509TrustManager;
invokeinterface javax.net.ssl.X509TrustManager.getAcceptedIssuers:()[Ljava/security/cert/X509Certificate;
10: .line 319
astore 4 /* caCerts */
start local 4 // java.security.cert.X509Certificate[] caCerts
11: .line 321
aload 4 /* caCerts */
arraylength
ifne 16
12: .line 322
getstatic sun.security.ssl.SSLLogger.isOn:Z
ifeq 15
ldc "ssl,handshake"
invokestatic sun.security.ssl.SSLLogger.isOn:(Ljava/lang/String;)Z
ifeq 15
13: .line 324
ldc "No available certificate authorities"
iconst_0
anewarray java.lang.Object
14: .line 323
invokestatic sun.security.ssl.SSLLogger.fine:(Ljava/lang/String;[Ljava/lang/Object;)V
15: .line 327
StackMap locals: java.security.cert.X509Certificate[]
StackMap stack:
aconst_null
areturn
16: .line 331
StackMap locals:
StackMap stack:
aload 4 /* caCerts */
invokestatic sun.security.ssl.CertificateAuthoritiesExtension$CertificateAuthoritiesSpec.getEncodedAuthorities:([Ljava/security/cert/X509Certificate;)Ljava/util/List;
17: .line 330
astore 5 /* encodedCAs */
start local 5 // java.util.List encodedCAs
18: .line 332
aload 5 /* encodedCAs */
invokeinterface java.util.List.isEmpty:()Z
ifeq 23
19: .line 333
getstatic sun.security.ssl.SSLLogger.isOn:Z
ifeq 22
ldc "ssl,handshake"
invokestatic sun.security.ssl.SSLLogger.isOn:(Ljava/lang/String;)Z
ifeq 22
20: .line 335
ldc "Too many certificate authorities to use the certificate_authorities extension"
iconst_0
anewarray java.lang.Object
21: .line 334
invokestatic sun.security.ssl.SSLLogger.warning:(Ljava/lang/String;[Ljava/lang/Object;)V
22: .line 339
StackMap locals: java.util.List
StackMap stack:
aconst_null
areturn
23: .line 343
StackMap locals:
StackMap stack:
new sun.security.ssl.CertificateAuthoritiesExtension$CertificateAuthoritiesSpec
dup
aload 5 /* encodedCAs */
invokespecial sun.security.ssl.CertificateAuthoritiesExtension$CertificateAuthoritiesSpec.<init>:(Ljava/util/List;)V
24: .line 342
astore 6 /* spec */
start local 6 // sun.security.ssl.CertificateAuthoritiesExtension$CertificateAuthoritiesSpec spec
25: .line 345
iconst_0
istore 7 /* vectorLen */
start local 7 // int vectorLen
26: .line 346
aload 6 /* spec */
getfield sun.security.ssl.CertificateAuthoritiesExtension$CertificateAuthoritiesSpec.authorities:Ljava/util/List;
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 9
goto 29
StackMap locals: sun.security.ssl.CertificateAuthoritiesExtension$CRCertificateAuthoritiesProducer sun.security.ssl.ConnectionContext sun.security.ssl.SSLHandshake$HandshakeMessage sun.security.ssl.ServerHandshakeContext java.security.cert.X509Certificate[] java.util.List sun.security.ssl.CertificateAuthoritiesExtension$CertificateAuthoritiesSpec int top java.util.Iterator
StackMap stack:
27: aload 9
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast byte[]
astore 8 /* encoded */
start local 8 // byte[] encoded
28: .line 347
iload 7 /* vectorLen */
aload 8 /* encoded */
arraylength
iconst_2
iadd
iadd
istore 7 /* vectorLen */
end local 8 // byte[] encoded
29: .line 346
StackMap locals:
StackMap stack:
aload 9
invokeinterface java.util.Iterator.hasNext:()Z
ifne 27
30: .line 350
iload 7 /* vectorLen */
iconst_2
iadd
newarray 8
astore 8 /* extData */
start local 8 // byte[] extData
31: .line 351
aload 8 /* extData */
invokestatic java.nio.ByteBuffer.wrap:([B)Ljava/nio/ByteBuffer;
astore 9 /* m */
start local 9 // java.nio.ByteBuffer m
32: .line 352
aload 9 /* m */
iload 7 /* vectorLen */
invokestatic sun.security.ssl.Record.putInt16:(Ljava/nio/ByteBuffer;I)V
33: .line 353
aload 6 /* spec */
getfield sun.security.ssl.CertificateAuthoritiesExtension$CertificateAuthoritiesSpec.authorities:Ljava/util/List;
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 11
goto 36
StackMap locals: sun.security.ssl.CertificateAuthoritiesExtension$CRCertificateAuthoritiesProducer sun.security.ssl.ConnectionContext sun.security.ssl.SSLHandshake$HandshakeMessage sun.security.ssl.ServerHandshakeContext java.security.cert.X509Certificate[] java.util.List sun.security.ssl.CertificateAuthoritiesExtension$CertificateAuthoritiesSpec int byte[] java.nio.ByteBuffer top java.util.Iterator
StackMap stack:
34: aload 11
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast byte[]
astore 10 /* encoded */
start local 10 // byte[] encoded
35: .line 354
aload 9 /* m */
aload 10 /* encoded */
invokestatic sun.security.ssl.Record.putBytes16:(Ljava/nio/ByteBuffer;[B)V
end local 10 // byte[] encoded
36: .line 353
StackMap locals:
StackMap stack:
aload 11
invokeinterface java.util.Iterator.hasNext:()Z
ifne 34
37: .line 358
aload 3 /* shc */
getfield sun.security.ssl.ServerHandshakeContext.handshakeExtensions:Ljava/util/Map;
38: .line 359
getstatic sun.security.ssl.SSLExtension.CR_CERTIFICATE_AUTHORITIES:Lsun/security/ssl/SSLExtension;
aload 6 /* spec */
39: .line 358
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
40: .line 361
aload 8 /* extData */
areturn
end local 9 // java.nio.ByteBuffer m
end local 8 // byte[] extData
end local 7 // int vectorLen
end local 6 // sun.security.ssl.CertificateAuthoritiesExtension$CertificateAuthoritiesSpec spec
end local 5 // java.util.List encodedCAs
end local 4 // java.security.cert.X509Certificate[] caCerts
end local 3 // sun.security.ssl.ServerHandshakeContext shc
end local 2 // sun.security.ssl.SSLHandshake$HandshakeMessage message
end local 1 // sun.security.ssl.ConnectionContext context
end local 0 // sun.security.ssl.CertificateAuthoritiesExtension$CRCertificateAuthoritiesProducer this
LocalVariableTable:
Start End Slot Name Signature
0 41 0 this Lsun/security/ssl/CertificateAuthoritiesExtension$CRCertificateAuthoritiesProducer;
0 41 1 context Lsun/security/ssl/ConnectionContext;
0 41 2 message Lsun/security/ssl/SSLHandshake$HandshakeMessage;
1 41 3 shc Lsun/security/ssl/ServerHandshakeContext;
11 41 4 caCerts [Ljava/security/cert/X509Certificate;
18 41 5 encodedCAs Ljava/util/List<[B>;
25 41 6 spec Lsun/security/ssl/CertificateAuthoritiesExtension$CertificateAuthoritiesSpec;
26 41 7 vectorLen I
28 29 8 encoded [B
31 41 8 extData [B
32 41 9 m Ljava/nio/ByteBuffer;
35 36 10 encoded [B
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
context
message
}
SourceFile: "CertificateAuthoritiesExtension.java"
NestHost: sun.security.ssl.CertificateAuthoritiesExtension
InnerClasses:
private final CRCertificateAuthoritiesProducer = sun.security.ssl.CertificateAuthoritiesExtension$CRCertificateAuthoritiesProducer of sun.security.ssl.CertificateAuthoritiesExtension
final CertificateAuthoritiesSpec = sun.security.ssl.CertificateAuthoritiesExtension$CertificateAuthoritiesSpec of sun.security.ssl.CertificateAuthoritiesExtension
abstract HandshakeMessage = sun.security.ssl.SSLHandshake$HandshakeMessage of sun.security.ssl.SSLHandshake