final class sun.security.ssl.CertificateAuthoritiesExtension$CHCertificateAuthoritiesProducer implements sun.security.ssl.HandshakeProducer
minor version: 0
major version: 59
flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
this_class: sun.security.ssl.CertificateAuthoritiesExtension$CHCertificateAuthoritiesProducer
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$CHCertificateAuthoritiesProducer this
0: .line 175
aload 0 /* this */
invokespecial java.lang.Object.<init>:()V
1: .line 177
return
end local 0 // sun.security.ssl.CertificateAuthoritiesExtension$CHCertificateAuthoritiesProducer this
LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/security/ssl/CertificateAuthoritiesExtension$CHCertificateAuthoritiesProducer;
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$CHCertificateAuthoritiesProducer this
start local 1 // sun.security.ssl.ConnectionContext context
start local 2 // sun.security.ssl.SSLHandshake$HandshakeMessage message
0: .line 183
aload 1 /* context */
checkcast sun.security.ssl.ClientHandshakeContext
astore 3 /* chc */
start local 3 // sun.security.ssl.ClientHandshakeContext chc
1: .line 186
aload 3 /* chc */
getfield sun.security.ssl.ClientHandshakeContext.sslConfig:Lsun/security/ssl/SSLConfiguration;
2: .line 187
getstatic sun.security.ssl.SSLExtension.CH_CERTIFICATE_AUTHORITIES:Lsun/security/ssl/SSLExtension;
3: .line 186
invokevirtual sun.security.ssl.SSLConfiguration.isAvailable:(Lsun/security/ssl/SSLExtension;)Z
4: .line 187
ifne 9
5: .line 188
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 190
ldc "Ignore unavailable certificate_authorities extension"
iconst_0
anewarray java.lang.Object
7: .line 189
invokestatic sun.security.ssl.SSLLogger.fine:(Ljava/lang/String;[Ljava/lang/Object;)V
8: .line 194
StackMap locals: sun.security.ssl.ClientHandshakeContext
StackMap stack:
aconst_null
areturn
9: .line 199
StackMap locals:
StackMap stack:
aload 3 /* chc */
getfield sun.security.ssl.ClientHandshakeContext.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 198
astore 4 /* caCerts */
start local 4 // java.security.cert.X509Certificate[] caCerts
11: .line 200
aload 4 /* caCerts */
arraylength
ifne 16
12: .line 201
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 203
ldc "No available certificate authorities"
iconst_0
anewarray java.lang.Object
14: .line 202
invokestatic sun.security.ssl.SSLLogger.fine:(Ljava/lang/String;[Ljava/lang/Object;)V
15: .line 206
StackMap locals: java.security.cert.X509Certificate[]
StackMap stack:
aconst_null
areturn
16: .line 210
StackMap locals:
StackMap stack:
aload 4 /* caCerts */
invokestatic sun.security.ssl.CertificateAuthoritiesExtension$CertificateAuthoritiesSpec.getEncodedAuthorities:([Ljava/security/cert/X509Certificate;)Ljava/util/List;
17: .line 209
astore 5 /* encodedCAs */
start local 5 // java.util.List encodedCAs
18: .line 211
aload 5 /* encodedCAs */
invokeinterface java.util.List.isEmpty:()Z
ifeq 23
19: .line 212
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 214
ldc "The number of CAs exceeds the maximum sizeof the certificate_authorities extension"
iconst_0
anewarray java.lang.Object
21: .line 213
invokestatic sun.security.ssl.SSLLogger.warning:(Ljava/lang/String;[Ljava/lang/Object;)V
22: .line 218
StackMap locals: java.util.List
StackMap stack:
aconst_null
areturn
23: .line 222
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 221
astore 6 /* spec */
start local 6 // sun.security.ssl.CertificateAuthoritiesExtension$CertificateAuthoritiesSpec spec
25: .line 224
iconst_0
istore 7 /* vectorLen */
start local 7 // int vectorLen
26: .line 225
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$CHCertificateAuthoritiesProducer sun.security.ssl.ConnectionContext sun.security.ssl.SSLHandshake$HandshakeMessage sun.security.ssl.ClientHandshakeContext 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 226
iload 7 /* vectorLen */
aload 8 /* encoded */
arraylength
iconst_2
iadd
iadd
istore 7 /* vectorLen */
end local 8 // byte[] encoded
29: .line 225
StackMap locals:
StackMap stack:
aload 9
invokeinterface java.util.Iterator.hasNext:()Z
ifne 27
30: .line 229
iload 7 /* vectorLen */
iconst_2
iadd
newarray 8
astore 8 /* extData */
start local 8 // byte[] extData
31: .line 230
aload 8 /* extData */
invokestatic java.nio.ByteBuffer.wrap:([B)Ljava/nio/ByteBuffer;
astore 9 /* m */
start local 9 // java.nio.ByteBuffer m
32: .line 231
aload 9 /* m */
iload 7 /* vectorLen */
invokestatic sun.security.ssl.Record.putInt16:(Ljava/nio/ByteBuffer;I)V
33: .line 232
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$CHCertificateAuthoritiesProducer sun.security.ssl.ConnectionContext sun.security.ssl.SSLHandshake$HandshakeMessage sun.security.ssl.ClientHandshakeContext 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 233
aload 9 /* m */
aload 10 /* encoded */
invokestatic sun.security.ssl.Record.putBytes16:(Ljava/nio/ByteBuffer;[B)V
end local 10 // byte[] encoded
36: .line 232
StackMap locals:
StackMap stack:
aload 11
invokeinterface java.util.Iterator.hasNext:()Z
ifne 34
37: .line 237
aload 3 /* chc */
getfield sun.security.ssl.ClientHandshakeContext.handshakeExtensions:Ljava/util/Map;
38: .line 238
getstatic sun.security.ssl.SSLExtension.CH_CERTIFICATE_AUTHORITIES:Lsun/security/ssl/SSLExtension;
aload 6 /* spec */
39: .line 237
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
40: .line 240
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.ClientHandshakeContext chc
end local 2 // sun.security.ssl.SSLHandshake$HandshakeMessage message
end local 1 // sun.security.ssl.ConnectionContext context
end local 0 // sun.security.ssl.CertificateAuthoritiesExtension$CHCertificateAuthoritiesProducer this
LocalVariableTable:
Start End Slot Name Signature
0 41 0 this Lsun/security/ssl/CertificateAuthoritiesExtension$CHCertificateAuthoritiesProducer;
0 41 1 context Lsun/security/ssl/ConnectionContext;
0 41 2 message Lsun/security/ssl/SSLHandshake$HandshakeMessage;
1 41 3 chc Lsun/security/ssl/ClientHandshakeContext;
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 CHCertificateAuthoritiesProducer = sun.security.ssl.CertificateAuthoritiesExtension$CHCertificateAuthoritiesProducer 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