final class sun.security.ssl.SignatureAlgorithmsExtension extends sun.security.ssl.HelloExtension
minor version: 0
major version: 59
flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
this_class: sun.security.ssl.SignatureAlgorithmsExtension
super_class: sun.security.ssl.HelloExtension
{
private java.util.Collection<sun.security.ssl.SignatureAndHashAlgorithm> algorithms;
descriptor: Ljava/util/Collection;
flags: (0x0002) ACC_PRIVATE
Signature: Ljava/util/Collection<Lsun/security/ssl/SignatureAndHashAlgorithm;>;
private int algorithmsLen;
descriptor: I
flags: (0x0002) ACC_PRIVATE
void <init>(java.util.Collection<sun.security.ssl.SignatureAndHashAlgorithm>);
descriptor: (Ljava/util/Collection;)V
flags: (0x0000)
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getstatic sun.security.ssl.ExtensionType.EXT_SIGNATURE_ALGORITHMS:Lsun/security/ssl/ExtensionType;
invokespecial sun.security.ssl.HelloExtension.<init>:(Lsun/security/ssl/ExtensionType;)V
1: aload 0
new java.util.ArrayList
dup
aload 1
invokespecial java.util.ArrayList.<init>:(Ljava/util/Collection;)V
putfield sun.security.ssl.SignatureAlgorithmsExtension.algorithms:Ljava/util/Collection;
2: aload 0
3: invokestatic sun.security.ssl.SignatureAndHashAlgorithm.sizeInRecord:()I
aload 0
getfield sun.security.ssl.SignatureAlgorithmsExtension.algorithms:Ljava/util/Collection;
invokeinterface java.util.Collection.size:()I
imul
4: putfield sun.security.ssl.SignatureAlgorithmsExtension.algorithmsLen:I
5: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lsun/security/ssl/SignatureAlgorithmsExtension;
0 6 1 signAlgs Ljava/util/Collection<Lsun/security/ssl/SignatureAndHashAlgorithm;>;
Signature: (Ljava/util/Collection<Lsun/security/ssl/SignatureAndHashAlgorithm;>;)V
MethodParameters:
Name Flags
signAlgs
void <init>(sun.security.ssl.HandshakeInStream, int);
descriptor: (Lsun/security/ssl/HandshakeInStream;I)V
flags: (0x0000)
Code:
stack=5, locals=8, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getstatic sun.security.ssl.ExtensionType.EXT_SIGNATURE_ALGORITHMS:Lsun/security/ssl/ExtensionType;
invokespecial sun.security.ssl.HelloExtension.<init>:(Lsun/security/ssl/ExtensionType;)V
1: aload 0
aload 1
invokevirtual sun.security.ssl.HandshakeInStream.getInt16:()I
putfield sun.security.ssl.SignatureAlgorithmsExtension.algorithmsLen:I
2: aload 0
getfield sun.security.ssl.SignatureAlgorithmsExtension.algorithmsLen:I
ifeq 3
aload 0
getfield sun.security.ssl.SignatureAlgorithmsExtension.algorithmsLen:I
iconst_2
iadd
iload 2
if_icmpeq 4
3: StackMap locals: sun.security.ssl.SignatureAlgorithmsExtension sun.security.ssl.HandshakeInStream int
StackMap stack:
new javax.net.ssl.SSLProtocolException
dup
new java.lang.StringBuilder
dup
ldc "Invalid "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
getfield sun.security.ssl.SignatureAlgorithmsExtension.type:Lsun/security/ssl/ExtensionType;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
ldc " extension"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial javax.net.ssl.SSLProtocolException.<init>:(Ljava/lang/String;)V
athrow
4: StackMap locals:
StackMap stack:
aload 0
new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
putfield sun.security.ssl.SignatureAlgorithmsExtension.algorithms:Ljava/util/Collection;
5: aload 0
getfield sun.security.ssl.SignatureAlgorithmsExtension.algorithmsLen:I
istore 3
start local 3 6: iconst_0
istore 4
start local 4 7: goto 14
8: StackMap locals: int int
StackMap stack:
aload 1
invokevirtual sun.security.ssl.HandshakeInStream.getInt8:()I
istore 5
start local 5 9: aload 1
invokevirtual sun.security.ssl.HandshakeInStream.getInt8:()I
istore 6
start local 6 10: iload 5
iload 6
iinc 4 1
iload 4
invokestatic sun.security.ssl.SignatureAndHashAlgorithm.valueOf:(III)Lsun/security/ssl/SignatureAndHashAlgorithm;
11: astore 7
start local 7 12: aload 0
getfield sun.security.ssl.SignatureAlgorithmsExtension.algorithms:Ljava/util/Collection;
aload 7
invokeinterface java.util.Collection.add:(Ljava/lang/Object;)Z
pop
13: iinc 3 -2
end local 7 end local 6 end local 5 14: StackMap locals:
StackMap stack:
iload 3
iconst_1
if_icmpgt 8
15: iload 3
ifeq 17
16: new javax.net.ssl.SSLProtocolException
dup
ldc "Invalid server_name extension"
invokespecial javax.net.ssl.SSLProtocolException.<init>:(Ljava/lang/String;)V
athrow
17: StackMap locals:
StackMap stack:
return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 18 0 this Lsun/security/ssl/SignatureAlgorithmsExtension;
0 18 1 s Lsun/security/ssl/HandshakeInStream;
0 18 2 len I
6 18 3 remains I
7 18 4 sequence I
9 14 5 hash I
10 14 6 signature I
12 14 7 algorithm Lsun/security/ssl/SignatureAndHashAlgorithm;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
s
len
java.util.Collection<sun.security.ssl.SignatureAndHashAlgorithm> getSignAlgorithms();
descriptor: ()Ljava/util/Collection;
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.security.ssl.SignatureAlgorithmsExtension.algorithms:Ljava/util/Collection;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/security/ssl/SignatureAlgorithmsExtension;
Signature: ()Ljava/util/Collection<Lsun/security/ssl/SignatureAndHashAlgorithm;>;
int length();
descriptor: ()I
flags: (0x0000)
Code:
stack=2, locals=1, args_size=1
start local 0 0: bipush 6
aload 0
getfield sun.security.ssl.SignatureAlgorithmsExtension.algorithmsLen:I
iadd
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/security/ssl/SignatureAlgorithmsExtension;
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: aload 1
aload 0
getfield sun.security.ssl.SignatureAlgorithmsExtension.type:Lsun/security/ssl/ExtensionType;
getfield sun.security.ssl.ExtensionType.id:I
invokevirtual sun.security.ssl.HandshakeOutStream.putInt16:(I)V
1: aload 1
aload 0
getfield sun.security.ssl.SignatureAlgorithmsExtension.algorithmsLen:I
iconst_2
iadd
invokevirtual sun.security.ssl.HandshakeOutStream.putInt16:(I)V
2: aload 1
aload 0
getfield sun.security.ssl.SignatureAlgorithmsExtension.algorithmsLen:I
invokevirtual sun.security.ssl.HandshakeOutStream.putInt16:(I)V
3: aload 0
getfield sun.security.ssl.SignatureAlgorithmsExtension.algorithms:Ljava/util/Collection;
invokeinterface java.util.Collection.iterator:()Ljava/util/Iterator;
astore 3
goto 7
StackMap locals: sun.security.ssl.SignatureAlgorithmsExtension sun.security.ssl.HandshakeOutStream top java.util.Iterator
StackMap stack:
4: aload 3
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast sun.security.ssl.SignatureAndHashAlgorithm
astore 2
start local 2 5: aload 1
aload 2
invokevirtual sun.security.ssl.SignatureAndHashAlgorithm.getHashValue:()I
invokevirtual sun.security.ssl.HandshakeOutStream.putInt8:(I)V
6: aload 1
aload 2
invokevirtual sun.security.ssl.SignatureAndHashAlgorithm.getSignatureValue:()I
invokevirtual sun.security.ssl.HandshakeOutStream.putInt8:(I)V
end local 2 7: StackMap locals:
StackMap stack:
aload 3
invokeinterface java.util.Iterator.hasNext:()Z
ifne 4
8: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lsun/security/ssl/SignatureAlgorithmsExtension;
0 9 1 s Lsun/security/ssl/HandshakeOutStream;
5 7 2 algorithm Lsun/security/ssl/SignatureAndHashAlgorithm;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
s
public java.lang.String toString();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=5, args_size=1
start local 0 0: new java.lang.StringBuffer
dup
invokespecial java.lang.StringBuffer.<init>:()V
astore 1
start local 1 1: iconst_0
istore 2
start local 2 2: aload 0
getfield sun.security.ssl.SignatureAlgorithmsExtension.algorithms:Ljava/util/Collection;
invokeinterface java.util.Collection.iterator:()Ljava/util/Iterator;
astore 4
goto 9
StackMap locals: sun.security.ssl.SignatureAlgorithmsExtension java.lang.StringBuffer int top java.util.Iterator
StackMap stack:
3: aload 4
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast sun.security.ssl.SignatureAndHashAlgorithm
astore 3
start local 3 4: iload 2
ifeq 7
5: aload 1
new java.lang.StringBuilder
dup
ldc ", "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 3
invokevirtual sun.security.ssl.SignatureAndHashAlgorithm.getAlgorithmName:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual java.lang.StringBuffer.append:(Ljava/lang/String;)Ljava/lang/StringBuffer;
pop
6: goto 9
7: StackMap locals: sun.security.ssl.SignatureAlgorithmsExtension java.lang.StringBuffer int sun.security.ssl.SignatureAndHashAlgorithm java.util.Iterator
StackMap stack:
aload 1
aload 3
invokevirtual sun.security.ssl.SignatureAndHashAlgorithm.getAlgorithmName:()Ljava/lang/String;
invokevirtual java.lang.StringBuffer.append:(Ljava/lang/String;)Ljava/lang/StringBuffer;
pop
8: iconst_1
istore 2
end local 3 9: StackMap locals: sun.security.ssl.SignatureAlgorithmsExtension java.lang.StringBuffer int top java.util.Iterator
StackMap stack:
aload 4
invokeinterface java.util.Iterator.hasNext:()Z
ifne 3
10: new java.lang.StringBuilder
dup
ldc "Extension "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
getfield sun.security.ssl.SignatureAlgorithmsExtension.type:Lsun/security/ssl/ExtensionType;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
ldc ", signature_algorithms: "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Lsun/security/ssl/SignatureAlgorithmsExtension;
1 11 1 buffer Ljava/lang/StringBuffer;
2 11 2 opened Z
4 9 3 signAlg Lsun/security/ssl/SignatureAndHashAlgorithm;
}
SourceFile: "SignatureAlgorithmsExtension.java"