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=2, locals=2, args_size=1
start local 0 0: aconst_null
astore 1
start local 1 1: aload 0
getfield javax.crypto.SealedObject.encodedParams:[B
ifnull 8
2: ldc "PBE"
ldc "SunJCE"
invokestatic java.security.AlgorithmParameters.getInstance:(Ljava/lang/String;Ljava/lang/String;)Ljava/security/AlgorithmParameters;
astore 1
3: aload 1
aload 0
getfield javax.crypto.SealedObject.encodedParams:[B
invokevirtual java.security.AlgorithmParameters.init:([B)V
4: goto 8
StackMap locals: com.sun.crypto.provider.SealedObjectForKeyProtector java.security.AlgorithmParameters
StackMap stack: java.security.NoSuchProviderException
5: pop
goto 8
6: StackMap locals:
StackMap stack: java.security.NoSuchAlgorithmException
pop
goto 8
7: StackMap locals:
StackMap stack: java.io.IOException
pop
8: StackMap locals:
StackMap stack:
aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lcom/sun/crypto/provider/SealedObjectForKeyProtector;
1 9 1 params Ljava/security/AlgorithmParameters;
Exception table:
from to target type
2 4 5 Class java.security.NoSuchProviderException
2 4 6 Class java.security.NoSuchAlgorithmException
2 4 7 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: invokestatic sun.misc.SharedSecrets.getJavaxCryptoSealedObjectAccess:()Lsun/misc/JavaxCryptoSealedObjectAccess;
1: aload 0
aload 1
invokeinterface sun.misc.JavaxCryptoSealedObjectAccess.getExtObjectInputStream:(Ljavax/crypto/SealedObject;Ljavax/crypto/Cipher;)Ljava/io/ObjectInputStream;
2: astore 2
start local 2 3: new com.sun.crypto.provider.SealedObjectForKeyProtector$1
dup
aload 0
aload 2
invokespecial com.sun.crypto.provider.SealedObjectForKeyProtector$1.<init>:(Lcom/sun/crypto/provider/SealedObjectForKeyProtector;Ljava/io/ObjectInputStream;)V
4: invokestatic java.security.AccessController.doPrivileged:(Ljava/security/PrivilegedAction;)Ljava/lang/Object;
pop
5: aload 2
invokevirtual java.io.ObjectInputStream.readObject:()Ljava/lang/Object;
checkcast java.security.Key
astore 3
start local 3 6: aload 3
astore 6
7: aload 2
ifnull 9
8: aload 2
invokevirtual java.io.ObjectInputStream.close:()V
9: StackMap locals: com.sun.crypto.provider.SealedObjectForKeyProtector javax.crypto.Cipher java.io.ObjectInputStream java.security.Key top top java.security.Key
StackMap stack:
aload 6
areturn
end local 3 10: StackMap locals: com.sun.crypto.provider.SealedObjectForKeyProtector javax.crypto.Cipher java.io.ObjectInputStream
StackMap stack: java.io.InvalidClassException
astore 3
start local 3 11: aload 3
invokevirtual java.io.InvalidClassException.getMessage:()Ljava/lang/String;
astore 4
start local 4 12: aload 4
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 3
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 3
athrow
end local 4 end local 3 17: StackMap locals: com.sun.crypto.provider.SealedObjectForKeyProtector javax.crypto.Cipher java.io.ObjectInputStream
StackMap stack: java.lang.Throwable
astore 5
18: aload 2
ifnull 20
19: aload 2
invokevirtual java.io.ObjectInputStream.close:()V
20: StackMap locals: com.sun.crypto.provider.SealedObjectForKeyProtector javax.crypto.Cipher java.io.ObjectInputStream top top java.lang.Throwable
StackMap stack:
aload 5
athrow
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 21 0 this Lcom/sun/crypto/provider/SealedObjectForKeyProtector;
0 21 1 c Ljavax/crypto/Cipher;
3 21 2 ois Ljava/io/ObjectInputStream;
6 10 3 t Ljava/security/Key;
11 17 3 ice Ljava/io/InvalidClassException;
12 17 4 msg Ljava/lang/String;
Exception table:
from to target type
5 7 10 Class java.io.InvalidClassException
3 7 17 any
10 17 17 any
Exceptions:
throws java.io.IOException, java.lang.ClassNotFoundException, javax.crypto.IllegalBlockSizeException, javax.crypto.BadPaddingException
MethodParameters:
Name Flags
c
}
SourceFile: "SealedObjectForKeyProtector.java"
NestMembers:
com.sun.crypto.provider.SealedObjectForKeyProtector$1 com.sun.crypto.provider.SealedObjectForKeyProtector$DeserializationChecker com.sun.crypto.provider.SealedObjectForKeyProtector$DeserializationChecker$1
InnerClasses:
com.sun.crypto.provider.SealedObjectForKeyProtector$1
private DeserializationChecker = com.sun.crypto.provider.SealedObjectForKeyProtector$DeserializationChecker of com.sun.crypto.provider.SealedObjectForKeyProtector