public final class sun.security.util.GCMParameters extends java.security.AlgorithmParametersSpi
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: sun.security.util.GCMParameters
super_class: java.security.AlgorithmParametersSpi
{
private byte[] iv;
descriptor: [B
flags: (0x0002) ACC_PRIVATE
private int tLen;
descriptor: I
flags: (0x0002) ACC_PRIVATE
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.security.AlgorithmParametersSpi.<init>:()V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/security/util/GCMParameters;
protected void engineInit(java.security.spec.AlgorithmParameterSpec);
descriptor: (Ljava/security/spec/AlgorithmParameterSpec;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=5, locals=3, args_size=2
start local 0 start local 1 0: aload 1
instanceof javax.crypto.spec.GCMParameterSpec
ifne 4
1: new java.security.spec.InvalidParameterSpecException
dup
2: ldc "Inappropriate parameter specification"
3: invokespecial java.security.spec.InvalidParameterSpecException.<init>:(Ljava/lang/String;)V
athrow
4: StackMap locals:
StackMap stack:
aload 1
checkcast javax.crypto.spec.GCMParameterSpec
astore 2
start local 2 5: aload 0
aload 2
invokevirtual javax.crypto.spec.GCMParameterSpec.getTLen:()I
bipush 8
idiv
putfield sun.security.util.GCMParameters.tLen:I
6: aload 0
getfield sun.security.util.GCMParameters.tLen:I
bipush 12
if_icmplt 7
aload 0
getfield sun.security.util.GCMParameters.tLen:I
bipush 16
if_icmple 12
7: StackMap locals: javax.crypto.spec.GCMParameterSpec
StackMap stack:
new java.security.spec.InvalidParameterSpecException
dup
8: new java.lang.StringBuilder
dup
ldc "GCM parameter parsing error: unsupported tag len: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
9: aload 0
getfield sun.security.util.GCMParameters.tLen:I
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
10: invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
11: invokespecial java.security.spec.InvalidParameterSpecException.<init>:(Ljava/lang/String;)V
athrow
12: StackMap locals:
StackMap stack:
aload 0
aload 2
invokevirtual javax.crypto.spec.GCMParameterSpec.getIV:()[B
putfield sun.security.util.GCMParameters.iv:[B
13: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 14 0 this Lsun/security/util/GCMParameters;
0 14 1 paramSpec Ljava/security/spec/AlgorithmParameterSpec;
5 14 2 gps Ljavax/crypto/spec/GCMParameterSpec;
Exceptions:
throws java.security.spec.InvalidParameterSpecException
MethodParameters:
Name Flags
paramSpec
protected void engineInit(byte[]);
descriptor: ([B)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=5, locals=5, args_size=2
start local 0 start local 1 0: new sun.security.util.DerValue
dup
aload 1
invokespecial sun.security.util.DerValue.<init>:([B)V
astore 2
start local 2 1: aload 2
getfield sun.security.util.DerValue.tag:B
bipush 48
if_icmpne 19
2: aload 2
getfield sun.security.util.DerValue.data:Lsun/security/util/DerInputStream;
invokevirtual sun.security.util.DerInputStream.getOctetString:()[B
astore 3
start local 3 3: aload 2
getfield sun.security.util.DerValue.data:Lsun/security/util/DerInputStream;
invokevirtual sun.security.util.DerInputStream.available:()I
ifeq 15
4: aload 2
getfield sun.security.util.DerValue.data:Lsun/security/util/DerInputStream;
invokevirtual sun.security.util.DerInputStream.getInteger:()I
istore 4
start local 4 5: iload 4
bipush 12
if_icmplt 6
iload 4
bipush 16
if_icmple 11
6: StackMap locals: sun.security.util.DerValue byte[] int
StackMap stack:
new java.io.IOException
dup
7: new java.lang.StringBuilder
dup
ldc "GCM parameter parsing error: unsupported tag len: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
8: iload 4
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
9: invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
10: invokespecial java.io.IOException.<init>:(Ljava/lang/String;)V
athrow
11: StackMap locals:
StackMap stack:
aload 2
getfield sun.security.util.DerValue.data:Lsun/security/util/DerInputStream;
invokevirtual sun.security.util.DerInputStream.available:()I
ifeq 16
12: new java.io.IOException
dup
13: ldc "GCM parameter parsing error: extra data"
14: invokespecial java.io.IOException.<init>:(Ljava/lang/String;)V
athrow
end local 4 15: StackMap locals:
StackMap stack:
bipush 12
istore 4
start local 4 16: StackMap locals: int
StackMap stack:
aload 0
aload 3
invokevirtual byte[].clone:()Ljava/lang/Object;
checkcast byte[]
putfield sun.security.util.GCMParameters.iv:[B
17: aload 0
iload 4
putfield sun.security.util.GCMParameters.tLen:I
end local 4 end local 3 18: goto 20
19: StackMap locals:
StackMap stack:
new java.io.IOException
dup
ldc "GCM parameter parsing error: no SEQ tag"
invokespecial java.io.IOException.<init>:(Ljava/lang/String;)V
athrow
20: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 21 0 this Lsun/security/util/GCMParameters;
0 21 1 encoded [B
1 21 2 val Lsun/security/util/DerValue;
3 18 3 iv [B
5 15 4 tLen I
16 18 4 tLen I
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
encoded
protected void engineInit(byte[], java.lang.String);
descriptor: ([BLjava/lang/String;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
invokevirtual sun.security.util.GCMParameters.engineInit:([B)V
1: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/security/util/GCMParameters;
0 2 1 encoded [B
0 2 2 decodingMethod Ljava/lang/String;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
encoded
decodingMethod
protected <T extends java.security.spec.AlgorithmParameterSpec> T engineGetParameterSpec(java.lang.Class<T>);
descriptor: (Ljava/lang/Class;)Ljava/security/spec/AlgorithmParameterSpec;
flags: (0x0004) ACC_PROTECTED
Code:
stack=5, locals=2, args_size=2
start local 0 start local 1 0: ldc Ljavax/crypto/spec/GCMParameterSpec;
aload 1
invokevirtual java.lang.Class.isAssignableFrom:(Ljava/lang/Class;)Z
ifeq 2
1: aload 1
new javax.crypto.spec.GCMParameterSpec
dup
aload 0
getfield sun.security.util.GCMParameters.tLen:I
bipush 8
imul
aload 0
getfield sun.security.util.GCMParameters.iv:[B
invokespecial javax.crypto.spec.GCMParameterSpec.<init>:(I[B)V
invokevirtual java.lang.Class.cast:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.security.spec.AlgorithmParameterSpec
areturn
2: StackMap locals:
StackMap stack:
new java.security.spec.InvalidParameterSpecException
dup
3: ldc "Inappropriate parameter specification"
4: invokespecial java.security.spec.InvalidParameterSpecException.<init>:(Ljava/lang/String;)V
athrow
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lsun/security/util/GCMParameters;
0 5 1 paramSpec Ljava/lang/Class<TT;>;
Exceptions:
throws java.security.spec.InvalidParameterSpecException
Signature: <T::Ljava/security/spec/AlgorithmParameterSpec;>(Ljava/lang/Class<TT;>;)TT;
MethodParameters:
Name Flags
paramSpec
protected byte[] engineGetEncoded();
descriptor: ()[B
flags: (0x0004) ACC_PROTECTED
Code:
stack=3, locals=3, args_size=1
start local 0 0: new sun.security.util.DerOutputStream
dup
invokespecial sun.security.util.DerOutputStream.<init>:()V
astore 1
start local 1 1: new sun.security.util.DerOutputStream
dup
invokespecial sun.security.util.DerOutputStream.<init>:()V
astore 2
start local 2 2: aload 2
aload 0
getfield sun.security.util.GCMParameters.iv:[B
invokevirtual sun.security.util.DerOutputStream.putOctetString:([B)V
3: aload 0
getfield sun.security.util.GCMParameters.tLen:I
bipush 12
if_icmpeq 5
4: aload 2
aload 0
getfield sun.security.util.GCMParameters.tLen:I
invokevirtual sun.security.util.DerOutputStream.putInteger:(I)V
5: StackMap locals: sun.security.util.DerOutputStream sun.security.util.DerOutputStream
StackMap stack:
aload 1
bipush 48
aload 2
invokevirtual sun.security.util.DerOutputStream.write:(BLsun/security/util/DerOutputStream;)V
6: aload 1
invokevirtual sun.security.util.DerOutputStream.toByteArray:()[B
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lsun/security/util/GCMParameters;
1 7 1 out Lsun/security/util/DerOutputStream;
2 7 2 bytes Lsun/security/util/DerOutputStream;
Exceptions:
throws java.io.IOException
protected byte[] engineGetEncoded(java.lang.String);
descriptor: (Ljava/lang/String;)[B
flags: (0x0004) ACC_PROTECTED
Code:
stack=1, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual sun.security.util.GCMParameters.engineGetEncoded:()[B
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/security/util/GCMParameters;
0 1 1 encodingMethod Ljava/lang/String;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
encodingMethod
protected java.lang.String engineToString();
descriptor: ()Ljava/lang/String;
flags: (0x0004) ACC_PROTECTED
Code:
stack=5, locals=4, args_size=1
start local 0 0: invokestatic java.lang.System.lineSeparator:()Ljava/lang/String;
astore 1
start local 1 1: new sun.misc.HexDumpEncoder
dup
invokespecial sun.misc.HexDumpEncoder.<init>:()V
astore 2
start local 2 2: new java.lang.StringBuilder
dup
new java.lang.StringBuilder
dup
aload 1
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc " iv:"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc "["
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
3: aload 2
aload 0
getfield sun.security.util.GCMParameters.iv:[B
invokevirtual sun.misc.HexDumpEncoder.encodeBuffer:([B)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc "]"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
4: invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
5: astore 3
start local 3 6: aload 3
new java.lang.StringBuilder
dup
aload 1
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc "tLen(bits):"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
getfield sun.security.util.GCMParameters.tLen:I
bipush 8
imul
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
7: aload 3
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lsun/security/util/GCMParameters;
1 8 1 LINE_SEP Ljava/lang/String;
2 8 2 encoder Lsun/misc/HexDumpEncoder;
6 8 3 sb Ljava/lang/StringBuilder;
}
SourceFile: "GCMParameters.java"