public final class com.oracle.security.ucrypto.GCMParameters extends java.security.AlgorithmParametersSpi
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: com.oracle.security.ucrypto.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 Lcom/oracle/security/ucrypto/GCMParameters;
private void setValues(byte[], int);
descriptor: ([BI)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 1
ifnonnull 2
1: new java.io.IOException
dup
ldc "IV cannot be null"
invokespecial java.io.IOException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
iload 2
iconst_4
if_icmpeq 4
iload 2
bipush 8
if_icmpeq 4
iload 2
bipush 12
if_icmplt 3
iload 2
bipush 16
if_icmple 4
3: StackMap locals:
StackMap stack:
new java.io.IOException
dup
new java.lang.StringBuilder
dup
ldc "Unsupported tag length: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
iload 2
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.io.IOException.<init>:(Ljava/lang/String;)V
athrow
4: StackMap locals:
StackMap stack:
aload 0
aload 1
putfield com.oracle.security.ucrypto.GCMParameters.iv:[B
5: aload 0
iload 2
putfield com.oracle.security.ucrypto.GCMParameters.tLen:I
6: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lcom/oracle/security/ucrypto/GCMParameters;
0 7 1 iv [B
0 7 2 tLen I
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
iv
tLen
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 com.oracle.security.ucrypto.GCMParameters.iv:[B
invokevirtual sun.security.util.DerOutputStream.putOctetString:([B)V
3: aload 2
aload 0
getfield com.oracle.security.ucrypto.GCMParameters.tLen:I
invokevirtual sun.security.util.DerOutputStream.putInteger:(I)V
4: aload 1
bipush 48
aload 2
invokevirtual sun.security.util.DerOutputStream.write:(BLsun/security/util/DerOutputStream;)V
5: 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 6 0 this Lcom/oracle/security/ucrypto/GCMParameters;
1 6 1 out Lsun/security/util/DerOutputStream;
2 6 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 com.oracle.security.ucrypto.GCMParameters.engineGetEncoded:()[B
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/oracle/security/ucrypto/GCMParameters;
0 1 1 format Ljava/lang/String;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
format
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 com.oracle.security.ucrypto.GCMParameters.tLen:I
bipush 8
imul
aload 0
getfield com.oracle.security.ucrypto.GCMParameters.iv:[B
invokevirtual byte[].clone:()Ljava/lang/Object;
checkcast byte[]
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: new java.lang.StringBuilder
dup
ldc "Inappropriate parameter specification. Received "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
4: aload 1
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
invokevirtual java.lang.Class.getName:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
5: invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
6: invokespecial java.security.spec.InvalidParameterSpecException.<init>:(Ljava/lang/String;)V
athrow
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lcom/oracle/security/ucrypto/GCMParameters;
0 7 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 void engineInit(java.security.spec.AlgorithmParameterSpec);
descriptor: (Ljava/security/spec/AlgorithmParameterSpec;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=5, locals=4, args_size=2
start local 0 start local 1 0: aload 1
instanceof javax.crypto.spec.GCMParameterSpec
ifne 6
1: new java.security.spec.InvalidParameterSpecException
dup
2: new java.lang.StringBuilder
dup
ldc "Inappropriate parameter specification. Received "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
3: aload 1
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
invokevirtual java.lang.Class.getName:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
4: invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
5: invokespecial java.security.spec.InvalidParameterSpecException.<init>:(Ljava/lang/String;)V
athrow
6: StackMap locals:
StackMap stack:
aload 1
checkcast javax.crypto.spec.GCMParameterSpec
astore 2
start local 2 7: aload 0
aload 2
invokevirtual javax.crypto.spec.GCMParameterSpec.getIV:()[B
aload 2
invokevirtual javax.crypto.spec.GCMParameterSpec.getTLen:()I
bipush 8
idiv
invokevirtual com.oracle.security.ucrypto.GCMParameters.setValues:([BI)V
8: goto 11
StackMap locals: com.oracle.security.ucrypto.GCMParameters java.security.spec.AlgorithmParameterSpec javax.crypto.spec.GCMParameterSpec
StackMap stack: java.io.IOException
9: astore 3
start local 3 10: new java.security.spec.InvalidParameterSpecException
dup
aload 3
invokevirtual java.io.IOException.getMessage:()Ljava/lang/String;
invokespecial java.security.spec.InvalidParameterSpecException.<init>:(Ljava/lang/String;)V
athrow
end local 3 11: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Lcom/oracle/security/ucrypto/GCMParameters;
0 12 1 paramSpec Ljava/security/spec/AlgorithmParameterSpec;
7 12 2 gcmSpec Ljavax/crypto/spec/GCMParameterSpec;
10 11 3 ioe Ljava/io/IOException;
Exception table:
from to target type
7 8 9 Class java.io.IOException
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=3, 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 5
2: aload 2
getfield sun.security.util.DerValue.data:Lsun/security/util/DerInputStream;
invokevirtual sun.security.util.DerInputStream.reset:()V
3: aload 0
aload 2
getfield sun.security.util.DerValue.data:Lsun/security/util/DerInputStream;
invokevirtual sun.security.util.DerInputStream.getOctetString:()[B
aload 2
getfield sun.security.util.DerValue.data:Lsun/security/util/DerInputStream;
invokevirtual sun.security.util.DerInputStream.getInteger:()I
invokevirtual com.oracle.security.ucrypto.GCMParameters.setValues:([BI)V
4: goto 8
5: StackMap locals: sun.security.util.DerValue
StackMap stack:
new java.io.IOException
dup
new java.lang.StringBuilder
dup
ldc "GCM parameter parsing error: SEQ tag expected. Received: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
6: aload 2
getfield sun.security.util.DerValue.tag:B
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
7: invokespecial java.io.IOException.<init>:(Ljava/lang/String;)V
athrow
8: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lcom/oracle/security/ucrypto/GCMParameters;
0 9 1 encoded [B
1 9 2 val Lsun/security/util/DerValue;
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 com.oracle.security.ucrypto.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 Lcom/oracle/security/ucrypto/GCMParameters;
0 2 1 encoded [B
0 2 2 format Ljava/lang/String;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
encoded
format
protected java.lang.String engineToString();
descriptor: ()Ljava/lang/String;
flags: (0x0004) ACC_PROTECTED
Code:
stack=3, locals=1, args_size=1
start local 0 0: new java.lang.StringBuilder
dup
ldc "IV="
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
getfield com.oracle.security.ucrypto.GCMParameters.iv:[B
invokestatic java.util.Arrays.toString:([B)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc ", tLen="
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
getfield com.oracle.security.ucrypto.GCMParameters.tLen:I
bipush 8
imul
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/oracle/security/ucrypto/GCMParameters;
}
SourceFile: "GCMParameters.java"