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, int);
descriptor: (Ljavax/crypto/Cipher;I)Ljava/security/Key;
flags: (0x0010) ACC_FINAL
Code:
stack=5, locals=8, args_size=3
start local 0 start local 1 start local 2 0: aconst_null
astore 3
aconst_null
astore 4
1: invokestatic sun.misc.SharedSecrets.getJavaxCryptoSealedObjectAccess:()Lsun/misc/JavaxCryptoSealedObjectAccess;
2: aload 0
aload 1
invokeinterface sun.misc.JavaxCryptoSealedObjectAccess.getExtObjectInputStream:(Ljavax/crypto/SealedObject;Ljavax/crypto/Cipher;)Ljava/io/ObjectInputStream;
3: astore 5
start local 5 4: new com.sun.crypto.provider.SealedObjectForKeyProtector$1
dup
aload 0
aload 5
iload 2
invokespecial com.sun.crypto.provider.SealedObjectForKeyProtector$1.<init>:(Lcom/sun/crypto/provider/SealedObjectForKeyProtector;Ljava/io/ObjectInputStream;I)V
invokestatic java.security.AccessController.doPrivileged:(Ljava/security/PrivilegedAction;)Ljava/lang/Object;
pop
5: aload 5
invokevirtual java.io.ObjectInputStream.readObject:()Ljava/lang/Object;
checkcast java.security.Key
astore 6
start local 6 6: aload 6
7: aload 5
ifnull 8
aload 5
invokevirtual java.io.ObjectInputStream.close:()V
8: StackMap locals: com.sun.crypto.provider.SealedObjectForKeyProtector javax.crypto.Cipher int java.lang.Throwable java.lang.Throwable java.io.ObjectInputStream java.security.Key
StackMap stack: java.security.Key
areturn
end local 6 9: StackMap locals: com.sun.crypto.provider.SealedObjectForKeyProtector javax.crypto.Cipher int java.lang.Throwable java.lang.Throwable java.io.ObjectInputStream
StackMap stack: java.io.InvalidClassException
astore 6
start local 6 10: aload 6
invokevirtual java.io.InvalidClassException.getMessage:()Ljava/lang/String;
astore 7
start local 7 11: aload 7
ldc "REJECTED"
invokevirtual java.lang.String.contains:(Ljava/lang/CharSequence;)Z
ifeq 15
12: new java.io.IOException
dup
ldc "Rejected by the jceks.key.serialFilter or jdk.serialFilter property"
13: aload 6
14: invokespecial java.io.IOException.<init>:(Ljava/lang/String;Ljava/lang/Throwable;)V
athrow
15: StackMap locals: java.io.InvalidClassException java.lang.String
StackMap stack:
aload 6
athrow
end local 7 end local 6 StackMap locals: com.sun.crypto.provider.SealedObjectForKeyProtector javax.crypto.Cipher int java.lang.Throwable java.lang.Throwable java.io.ObjectInputStream
StackMap stack: java.lang.Throwable
16: astore 3
17: aload 5
ifnull 18
aload 5
invokevirtual java.io.ObjectInputStream.close:()V
end local 5 StackMap locals:
StackMap stack:
18: aload 3
athrow
StackMap locals:
StackMap stack: java.lang.Throwable
19: astore 4
aload 3
ifnonnull 20
aload 4
astore 3
goto 21
StackMap locals:
StackMap stack:
20: aload 3
aload 4
if_acmpeq 21
aload 3
aload 4
invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
StackMap locals:
StackMap stack:
21: aload 3
athrow
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 22 0 this Lcom/sun/crypto/provider/SealedObjectForKeyProtector;
0 22 1 c Ljavax/crypto/Cipher;
0 22 2 maxLength I
4 18 5 ois Ljava/io/ObjectInputStream;
6 9 6 t Ljava/security/Key;
10 16 6 ice Ljava/io/InvalidClassException;
11 16 7 msg Ljava/lang/String;
Exception table:
from to target type
5 7 9 Class java.io.InvalidClassException
4 7 16 any
9 16 16 any
1 8 19 any
9 19 19 any
Exceptions:
throws java.io.IOException, java.lang.ClassNotFoundException, javax.crypto.IllegalBlockSizeException, javax.crypto.BadPaddingException
MethodParameters:
Name Flags
c
maxLength final
}
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