final class com.sun.crypto.provider.SealedObjectForKeyProtector extends javax.crypto.SealedObject
minor version: 0
major version: 59
flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
this_class: com.sun.crypto.provider.SealedObjectForKeyProtector
super_class: javax.crypto.SealedObject
{
static final long serialVersionUID;
descriptor: J
flags: (0x0018) ACC_STATIC, ACC_FINAL
ConstantValue: -3650226485480866989
private static final java.lang.String KEY_SERIAL_FILTER;
descriptor: Ljava/lang/String;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: "jceks.key.serialFilter"
void <init>(java.io.Serializable, javax.crypto.Cipher);
descriptor: (Ljava/io/Serializable;Ljavax/crypto/Cipher;)V
flags: (0x0000)
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
aload 2
invokespecial javax.crypto.SealedObject.<init>:(Ljava/io/Serializable;Ljavax/crypto/Cipher;)V
1: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/sun/crypto/provider/SealedObjectForKeyProtector;
0 2 1 object Ljava/io/Serializable;
0 2 2 c Ljavax/crypto/Cipher;
Exceptions:
throws java.io.IOException, javax.crypto.IllegalBlockSizeException
MethodParameters:
Name Flags
object
c
void <init>(javax.crypto.SealedObject);
descriptor: (Ljavax/crypto/SealedObject;)V
flags: (0x0000)
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokespecial javax.crypto.SealedObject.<init>:(Ljavax/crypto/SealedObject;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/sun/crypto/provider/SealedObjectForKeyProtector;
0 2 1 so Ljavax/crypto/SealedObject;
MethodParameters:
Name Flags
so
java.security.AlgorithmParameters getParameters();
descriptor: ()Ljava/security/AlgorithmParameters;
flags: (0x0000)
Code:
stack=5, locals=3, args_size=1
start local 0 0: aconst_null
astore 1
start local 1 1: aload 0
getfield javax.crypto.SealedObject.encodedParams:[B
ifnull 15
2: ldc "PBE"
3: invokestatic com.sun.crypto.provider.SunJCE.getInstance:()Lcom/sun/crypto/provider/SunJCE;
4: invokestatic java.security.AlgorithmParameters.getInstance:(Ljava/lang/String;Ljava/security/Provider;)Ljava/security/AlgorithmParameters;
astore 1
5: aload 1
aload 0
getfield javax.crypto.SealedObject.encodedParams:[B
invokevirtual java.security.AlgorithmParameters.init:([B)V
6: goto 15
StackMap locals: com.sun.crypto.provider.SealedObjectForKeyProtector java.security.AlgorithmParameters
StackMap stack: java.security.NoSuchAlgorithmException
7: pop
8: new java.lang.RuntimeException
dup
9: ldc "SunJCE provider is not configured properly"
10: invokespecial java.lang.RuntimeException.<init>:(Ljava/lang/String;)V
athrow
11: StackMap locals:
StackMap stack: java.io.IOException
astore 2
start local 2 12: new java.lang.RuntimeException
dup
new java.lang.StringBuilder
dup
ldc "Parameter failure: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
13: aload 2
invokevirtual java.io.IOException.getMessage:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
14: invokespecial java.lang.RuntimeException.<init>:(Ljava/lang/String;)V
athrow
end local 2 15: StackMap locals:
StackMap stack:
aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 16 0 this Lcom/sun/crypto/provider/SealedObjectForKeyProtector;
1 16 1 params Ljava/security/AlgorithmParameters;
12 15 2 io Ljava/io/IOException;
Exception table:
from to target type
2 6 7 Class java.security.NoSuchAlgorithmException
2 6 11 Class java.io.IOException
final java.security.Key getKey(javax.crypto.Cipher);
descriptor: (Ljavax/crypto/Cipher;)Ljava/security/Key;
flags: (0x0010) ACC_FINAL
Code:
stack=4, locals=7, args_size=2
start local 0 start local 1 0: aconst_null
astore 2
aconst_null
astore 3
1: invokestatic jdk.internal.misc.SharedSecrets.getJavaxCryptoSealedObjectAccess:()Ljdk/internal/misc/JavaxCryptoSealedObjectAccess;
2: aload 0
aload 1
invokeinterface jdk.internal.misc.JavaxCryptoSealedObjectAccess.getExtObjectInputStream:(Ljavax/crypto/SealedObject;Ljavax/crypto/Cipher;)Ljava/io/ObjectInputStream;
3: astore 4
start local 4 4: aload 4
invokedynamic run(Ljava/io/ObjectInputStream;)Ljava/security/PrivilegedAction;
Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
Method arguments:
()Ljava/lang/Object;
com/sun/crypto/provider/SealedObjectForKeyProtector.lambda$0(Ljava/io/ObjectInputStream;)Ljava/lang/Void; (6)
()Ljava/lang/Void;
5: invokestatic java.security.AccessController.doPrivileged:(Ljava/security/PrivilegedAction;)Ljava/lang/Object;
pop
6: aload 4
invokevirtual java.io.ObjectInputStream.readObject:()Ljava/lang/Object;
checkcast java.security.Key
astore 5
start local 5 7: aload 5
8: aload 4
ifnull 9
aload 4
invokevirtual java.io.ObjectInputStream.close:()V
9: StackMap locals: com.sun.crypto.provider.SealedObjectForKeyProtector javax.crypto.Cipher java.lang.Throwable java.lang.Throwable java.io.ObjectInputStream java.security.Key
StackMap stack: java.security.Key
areturn
end local 5 10: StackMap locals: com.sun.crypto.provider.SealedObjectForKeyProtector javax.crypto.Cipher java.lang.Throwable java.lang.Throwable java.io.ObjectInputStream
StackMap stack: java.io.InvalidClassException
astore 5
start local 5 11: aload 5
invokevirtual java.io.InvalidClassException.getMessage:()Ljava/lang/String;
astore 6
start local 6 12: aload 6
ldc "REJECTED"
invokevirtual java.lang.String.contains:(Ljava/lang/CharSequence;)Z
ifeq 16
13: new java.io.IOException
dup
ldc "Rejected by the jceks.key.serialFilter or jdk.serialFilter property"
14: aload 5
15: invokespecial java.io.IOException.<init>:(Ljava/lang/String;Ljava/lang/Throwable;)V
athrow
16: StackMap locals: java.io.InvalidClassException java.lang.String
StackMap stack:
aload 5
athrow
end local 6 end local 5 StackMap locals: com.sun.crypto.provider.SealedObjectForKeyProtector javax.crypto.Cipher java.lang.Throwable java.lang.Throwable java.io.ObjectInputStream
StackMap stack: java.lang.Throwable
17: astore 2
18: aload 4
ifnull 19
aload 4
invokevirtual java.io.ObjectInputStream.close:()V
end local 4 StackMap locals:
StackMap stack:
19: aload 2
athrow
StackMap locals:
StackMap stack: java.lang.Throwable
20: astore 3
aload 2
ifnonnull 21
aload 3
astore 2
goto 22
StackMap locals:
StackMap stack:
21: aload 2
aload 3
if_acmpeq 22
aload 2
aload 3
invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
StackMap locals:
StackMap stack:
22: aload 2
athrow
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 23 0 this Lcom/sun/crypto/provider/SealedObjectForKeyProtector;
0 23 1 c Ljavax/crypto/Cipher;
4 19 4 ois Ljava/io/ObjectInputStream;
7 10 5 t Ljava/security/Key;
11 17 5 ice Ljava/io/InvalidClassException;
12 17 6 msg Ljava/lang/String;
Exception table:
from to target type
6 8 10 Class java.io.InvalidClassException
4 8 17 any
10 17 17 any
1 9 20 any
10 20 20 any
Exceptions:
throws java.io.IOException, java.lang.ClassNotFoundException, javax.crypto.IllegalBlockSizeException, javax.crypto.BadPaddingException
MethodParameters:
Name Flags
c
private static java.lang.Void lambda$0(java.io.ObjectInputStream);
descriptor: (Ljava/io/ObjectInputStream;)Ljava/lang/Void;
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=2, locals=1, args_size=1
0: aload 0
getstatic com.sun.crypto.provider.SealedObjectForKeyProtector$DeserializationChecker.ONE_FILTER:Ljava/io/ObjectInputFilter;
invokevirtual java.io.ObjectInputStream.setObjectInputFilter:(Ljava/io/ObjectInputFilter;)V
1: aconst_null
areturn
LocalVariableTable:
Start End Slot Name Signature
}
SourceFile: "SealedObjectForKeyProtector.java"
NestMembers:
com.sun.crypto.provider.SealedObjectForKeyProtector$DeserializationChecker
InnerClasses:
private DeserializationChecker = com.sun.crypto.provider.SealedObjectForKeyProtector$DeserializationChecker of com.sun.crypto.provider.SealedObjectForKeyProtector
public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles