public class javax.crypto.Cipher
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: javax.crypto.Cipher
super_class: java.lang.Object
{
private static final sun.security.util.Debug debug;
descriptor: Lsun/security/util/Debug;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static final sun.security.util.Debug pdebug;
descriptor: Lsun/security/util/Debug;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static final boolean skipDebug;
descriptor: Z
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
public static final int ENCRYPT_MODE;
descriptor: I
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 1
public static final int DECRYPT_MODE;
descriptor: I
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 2
public static final int WRAP_MODE;
descriptor: I
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 3
public static final int UNWRAP_MODE;
descriptor: I
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 4
public static final int PUBLIC_KEY;
descriptor: I
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 1
public static final int PRIVATE_KEY;
descriptor: I
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 2
public static final int SECRET_KEY;
descriptor: I
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 3
private java.security.Provider provider;
descriptor: Ljava/security/Provider;
flags: (0x0002) ACC_PRIVATE
private javax.crypto.CipherSpi spi;
descriptor: Ljavax/crypto/CipherSpi;
flags: (0x0002) ACC_PRIVATE
private java.lang.String transformation;
descriptor: Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
private javax.crypto.CryptoPermission cryptoPerm;
descriptor: Ljavax/crypto/CryptoPermission;
flags: (0x0002) ACC_PRIVATE
private javax.crypto.ExemptionMechanism exmech;
descriptor: Ljavax/crypto/ExemptionMechanism;
flags: (0x0002) ACC_PRIVATE
private boolean initialized;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
private int opmode;
descriptor: I
flags: (0x0002) ACC_PRIVATE
private static final java.lang.String KEY_USAGE_EXTENSION_OID;
descriptor: Ljava/lang/String;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: "2.5.29.15"
private javax.crypto.CipherSpi firstSpi;
descriptor: Ljavax/crypto/CipherSpi;
flags: (0x0002) ACC_PRIVATE
private java.security.Provider$Service firstService;
descriptor: Ljava/security/Provider$Service;
flags: (0x0002) ACC_PRIVATE
private java.util.Iterator<java.security.Provider$Service> serviceIterator;
descriptor: Ljava/util/Iterator;
flags: (0x0002) ACC_PRIVATE
Signature: Ljava/util/Iterator<Ljava/security/Provider$Service;>;
private java.util.List<javax.crypto.Cipher$Transform> transforms;
descriptor: Ljava/util/List;
flags: (0x0002) ACC_PRIVATE
Signature: Ljava/util/List<Ljavax/crypto/Cipher$Transform;>;
private final java.lang.Object lock;
descriptor: Ljava/lang/Object;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private static final java.lang.String ATTR_MODE;
descriptor: Ljava/lang/String;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: "SupportedModes"
private static final java.lang.String ATTR_PAD;
descriptor: Ljava/lang/String;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: "SupportedPaddings"
private static final int S_NO;
descriptor: I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 0
private static final int S_MAYBE;
descriptor: I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 1
private static final int S_YES;
descriptor: I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 2
private static int warnCount;
descriptor: I
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
private static final int I_KEY;
descriptor: I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 1
private static final int I_PARAMSPEC;
descriptor: I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 2
private static final int I_PARAMS;
descriptor: I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 3
private static final int I_CERT;
descriptor: I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 4
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=0, args_size=0
0: ldc "jca"
ldc "Cipher"
invokestatic sun.security.util.Debug.getInstance:(Ljava/lang/String;Ljava/lang/String;)Lsun/security/util/Debug;
1: putstatic javax.crypto.Cipher.debug:Lsun/security/util/Debug;
2: ldc "provider"
ldc "Provider"
invokestatic sun.security.util.Debug.getInstance:(Ljava/lang/String;Ljava/lang/String;)Lsun/security/util/Debug;
3: putstatic javax.crypto.Cipher.pdebug:Lsun/security/util/Debug;
4: ldc "engine="
invokestatic sun.security.util.Debug.isOn:(Ljava/lang/String;)Z
ifeq 6
ldc "cipher"
invokestatic sun.security.util.Debug.isOn:(Ljava/lang/String;)Z
ifne 6
5: iconst_1
goto 7
StackMap locals:
StackMap stack:
6: iconst_0
StackMap locals:
StackMap stack: int
7: putstatic javax.crypto.Cipher.skipDebug:Z
8: bipush 10
putstatic javax.crypto.Cipher.warnCount:I
9: return
LocalVariableTable:
Start End Slot Name Signature
protected void <init>(javax.crypto.CipherSpi, java.security.Provider, java.lang.String);
descriptor: (Ljavax/crypto/CipherSpi;Ljava/security/Provider;Ljava/lang/String;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
iconst_0
putfield javax.crypto.Cipher.initialized:Z
2: aload 0
iconst_0
putfield javax.crypto.Cipher.opmode:I
3: getstatic javax.crypto.JceSecurityManager.INSTANCE:Ljavax/crypto/JceSecurityManager;
aload 2
invokevirtual javax.crypto.JceSecurityManager.isCallerTrusted:(Ljava/security/Provider;)Z
ifne 5
4: new java.lang.NullPointerException
dup
invokespecial java.lang.NullPointerException.<init>:()V
athrow
5: StackMap locals: javax.crypto.Cipher javax.crypto.CipherSpi java.security.Provider java.lang.String
StackMap stack:
aload 0
aload 1
putfield javax.crypto.Cipher.spi:Ljavax/crypto/CipherSpi;
6: aload 0
aload 2
putfield javax.crypto.Cipher.provider:Ljava/security/Provider;
7: aload 0
aload 3
putfield javax.crypto.Cipher.transformation:Ljava/lang/String;
8: aload 0
getstatic javax.crypto.CryptoAllPermission.INSTANCE:Ljavax/crypto/CryptoAllPermission;
putfield javax.crypto.Cipher.cryptoPerm:Ljavax/crypto/CryptoPermission;
9: aload 0
aconst_null
putfield javax.crypto.Cipher.lock:Ljava/lang/Object;
10: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Ljavax/crypto/Cipher;
0 11 1 cipherSpi Ljavax/crypto/CipherSpi;
0 11 2 provider Ljava/security/Provider;
0 11 3 transformation Ljava/lang/String;
MethodParameters:
Name Flags
cipherSpi
provider
transformation
void <init>(javax.crypto.CipherSpi, java.lang.String);
descriptor: (Ljavax/crypto/CipherSpi;Ljava/lang/String;)V
flags: (0x0000)
Code:
stack=2, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
iconst_0
putfield javax.crypto.Cipher.initialized:Z
2: aload 0
iconst_0
putfield javax.crypto.Cipher.opmode:I
3: aload 0
aload 1
putfield javax.crypto.Cipher.spi:Ljavax/crypto/CipherSpi;
4: aload 0
aload 2
putfield javax.crypto.Cipher.transformation:Ljava/lang/String;
5: aload 0
getstatic javax.crypto.CryptoAllPermission.INSTANCE:Ljavax/crypto/CryptoAllPermission;
putfield javax.crypto.Cipher.cryptoPerm:Ljavax/crypto/CryptoPermission;
6: aload 0
aconst_null
putfield javax.crypto.Cipher.lock:Ljava/lang/Object;
7: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Ljavax/crypto/Cipher;
0 8 1 cipherSpi Ljavax/crypto/CipherSpi;
0 8 2 transformation Ljava/lang/String;
MethodParameters:
Name Flags
cipherSpi
transformation
private void <init>(javax.crypto.CipherSpi, java.security.Provider$Service, java.util.Iterator<java.security.Provider$Service>, java.lang.String, java.util.List<javax.crypto.Cipher$Transform>);
descriptor: (Ljavax/crypto/CipherSpi;Ljava/security/Provider$Service;Ljava/util/Iterator;Ljava/lang/String;Ljava/util/List;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=6, args_size=6
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
iconst_0
putfield javax.crypto.Cipher.initialized:Z
2: aload 0
iconst_0
putfield javax.crypto.Cipher.opmode:I
3: aload 0
aload 1
putfield javax.crypto.Cipher.firstSpi:Ljavax/crypto/CipherSpi;
4: aload 0
aload 2
putfield javax.crypto.Cipher.firstService:Ljava/security/Provider$Service;
5: aload 0
aload 3
putfield javax.crypto.Cipher.serviceIterator:Ljava/util/Iterator;
6: aload 0
aload 5
putfield javax.crypto.Cipher.transforms:Ljava/util/List;
7: aload 0
aload 4
putfield javax.crypto.Cipher.transformation:Ljava/lang/String;
8: aload 0
new java.lang.Object
dup
invokespecial java.lang.Object.<init>:()V
putfield javax.crypto.Cipher.lock:Ljava/lang/Object;
9: return
end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Ljavax/crypto/Cipher;
0 10 1 firstSpi Ljavax/crypto/CipherSpi;
0 10 2 firstService Ljava/security/Provider$Service;
0 10 3 serviceIterator Ljava/util/Iterator<Ljava/security/Provider$Service;>;
0 10 4 transformation Ljava/lang/String;
0 10 5 transforms Ljava/util/List<Ljavax/crypto/Cipher$Transform;>;
Signature: (Ljavax/crypto/CipherSpi;Ljava/security/Provider$Service;Ljava/util/Iterator<Ljava/security/Provider$Service;>;Ljava/lang/String;Ljava/util/List<Ljavax/crypto/Cipher$Transform;>;)V
MethodParameters:
Name Flags
firstSpi
firstService
serviceIterator
transformation
transforms
private static java.lang.String[] tokenizeTransformation(java.lang.String);
descriptor: (Ljava/lang/String;)[Ljava/lang/String;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=6, locals=4, args_size=1
start local 0 0: aload 0
ifnonnull 2
1: new java.security.NoSuchAlgorithmException
dup
ldc "No transformation given"
invokespecial java.security.NoSuchAlgorithmException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
iconst_3
anewarray java.lang.String
astore 1
start local 1 3: iconst_0
istore 2
start local 2 4: new java.util.StringTokenizer
dup
aload 0
ldc "/"
invokespecial java.util.StringTokenizer.<init>:(Ljava/lang/String;Ljava/lang/String;)V
astore 3
start local 3 5: goto 7
6: StackMap locals: java.lang.String[] int java.util.StringTokenizer
StackMap stack:
aload 1
iload 2
iinc 2 1
aload 3
invokevirtual java.util.StringTokenizer.nextToken:()Ljava/lang/String;
invokevirtual java.lang.String.trim:()Ljava/lang/String;
aastore
7: StackMap locals:
StackMap stack:
aload 3
invokevirtual java.util.StringTokenizer.hasMoreTokens:()Z
ifeq 8
iload 2
iconst_3
if_icmplt 6
8: StackMap locals:
StackMap stack:
iload 2
ifeq 9
iload 2
iconst_2
if_icmpne 12
9: StackMap locals:
StackMap stack:
new java.security.NoSuchAlgorithmException
dup
new java.lang.StringBuilder
dup
ldc "Invalid transformation format:"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
10: aload 0
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
11: invokespecial java.security.NoSuchAlgorithmException.<init>:(Ljava/lang/String;)V
athrow
12: StackMap locals:
StackMap stack:
iload 2
iconst_3
if_icmpne 19
aload 3
invokevirtual java.util.StringTokenizer.hasMoreTokens:()Z
ifeq 19
13: aload 1
iconst_2
new java.lang.StringBuilder
dup
aload 1
iconst_2
aaload
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 3
ldc "\r\n"
invokevirtual java.util.StringTokenizer.nextToken:(Ljava/lang/String;)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
aastore
14: goto 19
StackMap locals:
StackMap stack: java.util.NoSuchElementException
15: pop
16: new java.security.NoSuchAlgorithmException
dup
new java.lang.StringBuilder
dup
ldc "Invalid transformation format:"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
17: aload 0
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
18: invokespecial java.security.NoSuchAlgorithmException.<init>:(Ljava/lang/String;)V
athrow
19: StackMap locals:
StackMap stack:
aload 1
iconst_0
aaload
ifnull 20
aload 1
iconst_0
aaload
invokevirtual java.lang.String.isEmpty:()Z
ifeq 23
20: StackMap locals:
StackMap stack:
new java.security.NoSuchAlgorithmException
dup
new java.lang.StringBuilder
dup
ldc "Invalid transformation:algorithm not specified-"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
21: aload 0
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
22: invokespecial java.security.NoSuchAlgorithmException.<init>:(Ljava/lang/String;)V
athrow
23: StackMap locals:
StackMap stack:
aload 1
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 24 0 transformation Ljava/lang/String;
3 24 1 parts [Ljava/lang/String;
4 24 2 count I
5 24 3 parser Ljava/util/StringTokenizer;
Exception table:
from to target type
5 14 15 Class java.util.NoSuchElementException
Exceptions:
throws java.security.NoSuchAlgorithmException
MethodParameters:
Name Flags
transformation
private static java.util.List<javax.crypto.Cipher$Transform> getTransforms(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/util/List;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=7, locals=6, args_size=1
start local 0 0: aload 0
invokestatic javax.crypto.Cipher.tokenizeTransformation:(Ljava/lang/String;)[Ljava/lang/String;
astore 1
start local 1 1: aload 1
iconst_0
aaload
astore 2
start local 2 2: aload 1
iconst_1
aaload
astore 3
start local 3 3: aload 1
iconst_2
aaload
astore 4
start local 4 4: aload 3
ifnull 6
aload 3
invokevirtual java.lang.String.isEmpty:()Z
ifeq 6
5: aconst_null
astore 3
6: StackMap locals: java.lang.String java.lang.String[] java.lang.String java.lang.String java.lang.String
StackMap stack:
aload 4
ifnull 8
aload 4
invokevirtual java.lang.String.isEmpty:()Z
ifeq 8
7: aconst_null
astore 4
8: StackMap locals:
StackMap stack:
aload 3
ifnonnull 11
aload 4
ifnonnull 11
9: new javax.crypto.Cipher$Transform
dup
aload 2
ldc ""
aconst_null
aconst_null
invokespecial javax.crypto.Cipher$Transform.<init>:(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
astore 5
start local 5 10: aload 5
invokestatic java.util.Collections.singletonList:(Ljava/lang/Object;)Ljava/util/List;
areturn
end local 5 11: StackMap locals:
StackMap stack:
new java.util.ArrayList
dup
iconst_4
invokespecial java.util.ArrayList.<init>:(I)V
astore 5
start local 5 12: aload 5
new javax.crypto.Cipher$Transform
dup
aload 2
new java.lang.StringBuilder
dup
ldc "/"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 3
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc "/"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 4
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
aconst_null
aconst_null
invokespecial javax.crypto.Cipher$Transform.<init>:(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
13: aload 5
new javax.crypto.Cipher$Transform
dup
aload 2
new java.lang.StringBuilder
dup
ldc "/"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 3
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
aconst_null
aload 4
invokespecial javax.crypto.Cipher$Transform.<init>:(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
14: aload 5
new javax.crypto.Cipher$Transform
dup
aload 2
new java.lang.StringBuilder
dup
ldc "//"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 4
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
aload 3
aconst_null
invokespecial javax.crypto.Cipher$Transform.<init>:(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
15: aload 5
new javax.crypto.Cipher$Transform
dup
aload 2
ldc ""
aload 3
aload 4
invokespecial javax.crypto.Cipher$Transform.<init>:(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
16: aload 5
areturn
end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 17 0 transformation Ljava/lang/String;
1 17 1 parts [Ljava/lang/String;
2 17 2 alg Ljava/lang/String;
3 17 3 mode Ljava/lang/String;
4 17 4 pad Ljava/lang/String;
10 11 5 tr Ljavax/crypto/Cipher$Transform;
12 17 5 list Ljava/util/List<Ljavax/crypto/Cipher$Transform;>;
Exceptions:
throws java.security.NoSuchAlgorithmException
Signature: (Ljava/lang/String;)Ljava/util/List<Ljavax/crypto/Cipher$Transform;>;
MethodParameters:
Name Flags
transformation
private static javax.crypto.Cipher$Transform getTransform(java.security.Provider$Service, java.util.List<javax.crypto.Cipher$Transform>);
descriptor: (Ljava/security/Provider$Service;Ljava/util/List;)Ljavax/crypto/Cipher$Transform;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=2, locals=5, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual java.security.Provider$Service.getAlgorithm:()Ljava/lang/String;
getstatic java.util.Locale.ENGLISH:Ljava/util/Locale;
invokevirtual java.lang.String.toUpperCase:(Ljava/util/Locale;)Ljava/lang/String;
astore 2
start local 2 1: aload 1
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 4
goto 5
StackMap locals: java.security.Provider$Service java.util.List java.lang.String top java.util.Iterator
StackMap stack:
2: aload 4
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast javax.crypto.Cipher$Transform
astore 3
start local 3 3: aload 2
aload 3
getfield javax.crypto.Cipher$Transform.suffix:Ljava/lang/String;
invokevirtual java.lang.String.endsWith:(Ljava/lang/String;)Z
ifeq 5
4: aload 3
areturn
end local 3 5: StackMap locals:
StackMap stack:
aload 4
invokeinterface java.util.Iterator.hasNext:()Z
ifne 2
6: aconst_null
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 s Ljava/security/Provider$Service;
0 7 1 transforms Ljava/util/List<Ljavax/crypto/Cipher$Transform;>;
1 7 2 alg Ljava/lang/String;
3 5 3 tr Ljavax/crypto/Cipher$Transform;
Signature: (Ljava/security/Provider$Service;Ljava/util/List<Ljavax/crypto/Cipher$Transform;>;)Ljavax/crypto/Cipher$Transform;
MethodParameters:
Name Flags
s
transforms
public static final javax.crypto.Cipher getInstance(java.lang.String);
descriptor: (Ljava/lang/String;)Ljavax/crypto/Cipher;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
Code:
stack=7, locals=10, args_size=1
start local 0 0: aload 0
ifnull 1
aload 0
ldc ""
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 2
1: StackMap locals:
StackMap stack:
new java.security.NoSuchAlgorithmException
dup
ldc "Null or empty transformation"
invokespecial java.security.NoSuchAlgorithmException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
aload 0
invokestatic javax.crypto.Cipher.getTransforms:(Ljava/lang/String;)Ljava/util/List;
astore 1
start local 1 3: new java.util.ArrayList
dup
aload 1
invokeinterface java.util.List.size:()I
invokespecial java.util.ArrayList.<init>:(I)V
astore 2
start local 2 4: aload 1
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 4
goto 7
StackMap locals: java.lang.String java.util.List java.util.List top java.util.Iterator
StackMap stack:
5: aload 4
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast javax.crypto.Cipher$Transform
astore 3
start local 3 6: aload 2
new sun.security.jca.ServiceId
dup
ldc "Cipher"
aload 3
getfield javax.crypto.Cipher$Transform.transform:Ljava/lang/String;
invokespecial sun.security.jca.ServiceId.<init>:(Ljava/lang/String;Ljava/lang/String;)V
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
end local 3 7: StackMap locals:
StackMap stack:
aload 4
invokeinterface java.util.Iterator.hasNext:()Z
ifne 5
8: aload 2
invokestatic sun.security.jca.GetInstance.getServices:(Ljava/util/List;)Ljava/util/List;
astore 3
start local 3 9: aload 3
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 4
start local 4 10: aconst_null
astore 5
start local 5 11: goto 29
12: StackMap locals: java.lang.String java.util.List java.util.List java.util.List java.util.Iterator java.lang.Exception
StackMap stack:
aload 4
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.security.Provider$Service
astore 6
start local 6 13: aload 6
invokevirtual java.security.Provider$Service.getProvider:()Ljava/security/Provider;
invokestatic javax.crypto.JceSecurity.canUseProvider:(Ljava/security/Provider;)Z
ifne 15
14: goto 29
15: StackMap locals: java.security.Provider$Service
StackMap stack:
aload 6
aload 1
invokestatic javax.crypto.Cipher.getTransform:(Ljava/security/Provider$Service;Ljava/util/List;)Ljavax/crypto/Cipher$Transform;
astore 7
start local 7 16: aload 7
ifnonnull 18
17: goto 29
18: StackMap locals: javax.crypto.Cipher$Transform
StackMap stack:
aload 7
aload 6
invokevirtual javax.crypto.Cipher$Transform.supportsModePadding:(Ljava/security/Provider$Service;)I
istore 8
start local 8 19: iload 8
ifne 21
20: goto 29
21: StackMap locals: int
StackMap stack:
iload 8
iconst_2
if_icmpne 23
22: new javax.crypto.Cipher
dup
aconst_null
aload 6
aload 4
aload 0
aload 1
invokespecial javax.crypto.Cipher.<init>:(Ljavax/crypto/CipherSpi;Ljava/security/Provider$Service;Ljava/util/Iterator;Ljava/lang/String;Ljava/util/List;)V
areturn
23: StackMap locals:
StackMap stack:
aload 6
aconst_null
invokevirtual java.security.Provider$Service.newInstance:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast javax.crypto.CipherSpi
astore 9
start local 9 24: aload 7
aload 9
invokevirtual javax.crypto.Cipher$Transform.setModePadding:(Ljavax/crypto/CipherSpi;)V
25: new javax.crypto.Cipher
dup
aload 9
aload 6
aload 4
aload 0
aload 1
invokespecial javax.crypto.Cipher.<init>:(Ljavax/crypto/CipherSpi;Ljava/security/Provider$Service;Ljava/util/Iterator;Ljava/lang/String;Ljava/util/List;)V
26: areturn
end local 9 27: StackMap locals:
StackMap stack: java.lang.Exception
astore 9
start local 9 28: aload 9
astore 5
end local 9 end local 8 end local 7 end local 6 29: StackMap locals:
StackMap stack:
aload 4
invokeinterface java.util.Iterator.hasNext:()Z
ifne 12
30: new java.security.NoSuchAlgorithmException
dup
31: new java.lang.StringBuilder
dup
ldc "Cannot find any provider supporting "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
aload 5
32: invokespecial java.security.NoSuchAlgorithmException.<init>:(Ljava/lang/String;Ljava/lang/Throwable;)V
athrow
end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 33 0 transformation Ljava/lang/String;
3 33 1 transforms Ljava/util/List<Ljavax/crypto/Cipher$Transform;>;
4 33 2 cipherServices Ljava/util/List<Lsun/security/jca/ServiceId;>;
6 7 3 transform Ljavax/crypto/Cipher$Transform;
9 33 3 services Ljava/util/List<Ljava/security/Provider$Service;>;
10 33 4 t Ljava/util/Iterator<Ljava/security/Provider$Service;>;
11 33 5 failure Ljava/lang/Exception;
13 29 6 s Ljava/security/Provider$Service;
16 29 7 tr Ljavax/crypto/Cipher$Transform;
19 29 8 canuse I
24 27 9 spi Ljavax/crypto/CipherSpi;
28 29 9 e Ljava/lang/Exception;
Exception table:
from to target type
23 26 27 Class java.lang.Exception
Exceptions:
throws java.security.NoSuchAlgorithmException, javax.crypto.NoSuchPaddingException
MethodParameters:
Name Flags
transformation
public static final javax.crypto.Cipher getInstance(java.lang.String, java.lang.String);
descriptor: (Ljava/lang/String;Ljava/lang/String;)Ljavax/crypto/Cipher;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
Code:
stack=5, locals=3, args_size=2
start local 0 start local 1 0: aload 0
ifnull 1
aload 0
ldc ""
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 2
1: StackMap locals:
StackMap stack:
new java.security.NoSuchAlgorithmException
dup
ldc "Null or empty transformation"
invokespecial java.security.NoSuchAlgorithmException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
aload 1
ifnull 3
aload 1
invokevirtual java.lang.String.isEmpty:()Z
ifeq 4
3: StackMap locals:
StackMap stack:
new java.lang.IllegalArgumentException
dup
ldc "Missing provider"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
4: StackMap locals:
StackMap stack:
aload 1
invokestatic java.security.Security.getProvider:(Ljava/lang/String;)Ljava/security/Provider;
astore 2
start local 2 5: aload 2
ifnonnull 9
6: new java.security.NoSuchProviderException
dup
new java.lang.StringBuilder
dup
ldc "No such provider: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
7: aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
8: invokespecial java.security.NoSuchProviderException.<init>:(Ljava/lang/String;)V
athrow
9: StackMap locals: java.security.Provider
StackMap stack:
aload 0
aload 2
invokestatic javax.crypto.Cipher.getInstance:(Ljava/lang/String;Ljava/security/Provider;)Ljavax/crypto/Cipher;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 transformation Ljava/lang/String;
0 10 1 provider Ljava/lang/String;
5 10 2 p Ljava/security/Provider;
Exceptions:
throws java.security.NoSuchAlgorithmException, java.security.NoSuchProviderException, javax.crypto.NoSuchPaddingException
MethodParameters:
Name Flags
transformation
provider
private java.lang.String getProviderName();
descriptor: ()Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield javax.crypto.Cipher.provider:Ljava/security/Provider;
ifnonnull 1
ldc "(no provider)"
goto 2
StackMap locals:
StackMap stack:
1: aload 0
getfield javax.crypto.Cipher.provider:Ljava/security/Provider;
invokevirtual java.security.Provider.getName:()Ljava/lang/String;
StackMap locals:
StackMap stack: java.lang.String
2: areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljavax/crypto/Cipher;
public static final javax.crypto.Cipher getInstance(java.lang.String, java.security.Provider);
descriptor: (Ljava/lang/String;Ljava/security/Provider;)Ljavax/crypto/Cipher;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
Code:
stack=5, locals=11, args_size=2
start local 0 start local 1 0: aload 0
ifnull 1
aload 0
ldc ""
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 2
1: StackMap locals:
StackMap stack:
new java.security.NoSuchAlgorithmException
dup
ldc "Null or empty transformation"
invokespecial java.security.NoSuchAlgorithmException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
aload 1
ifnonnull 4
3: new java.lang.IllegalArgumentException
dup
ldc "Missing provider"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
4: StackMap locals:
StackMap stack:
aconst_null
astore 2
start local 2 5: aload 0
invokestatic javax.crypto.Cipher.getTransforms:(Ljava/lang/String;)Ljava/util/List;
astore 3
start local 3 6: iconst_0
istore 4
start local 4 7: aconst_null
astore 5
start local 5 8: aload 3
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 7
goto 35
StackMap locals: java.lang.String java.security.Provider java.lang.Exception java.util.List int java.lang.String top java.util.Iterator
StackMap stack:
9: aload 7
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast javax.crypto.Cipher$Transform
astore 6
start local 6 10: aload 1
ldc "Cipher"
aload 6
getfield javax.crypto.Cipher$Transform.transform:Ljava/lang/String;
invokevirtual java.security.Provider.getService:(Ljava/lang/String;Ljava/lang/String;)Ljava/security/Provider$Service;
astore 8
start local 8 11: aload 8
ifnonnull 13
12: goto 35
13: StackMap locals: java.lang.String java.security.Provider java.lang.Exception java.util.List int java.lang.String javax.crypto.Cipher$Transform java.util.Iterator java.security.Provider$Service
StackMap stack:
iload 4
ifne 21
14: aload 1
invokestatic javax.crypto.JceSecurity.getVerificationResult:(Ljava/security/Provider;)Ljava/lang/Exception;
astore 9
start local 9 15: aload 9
ifnull 20
16: new java.lang.StringBuilder
dup
ldc "JCE cannot authenticate the provider "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
17: aload 1
invokevirtual java.security.Provider.getName:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
18: invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
astore 10
start local 10 19: new java.lang.SecurityException
dup
aload 10
aload 9
invokespecial java.lang.SecurityException.<init>:(Ljava/lang/String;Ljava/lang/Throwable;)V
athrow
end local 10 20: StackMap locals: java.lang.Exception
StackMap stack:
iconst_1
istore 4
end local 9 21: StackMap locals:
StackMap stack:
aload 6
aload 8
invokevirtual javax.crypto.Cipher$Transform.supportsMode:(Ljava/security/Provider$Service;)I
ifne 23
22: goto 35
23: StackMap locals:
StackMap stack:
aload 6
aload 8
invokevirtual javax.crypto.Cipher$Transform.supportsPadding:(Ljava/security/Provider$Service;)I
ifne 26
24: aload 6
getfield javax.crypto.Cipher$Transform.pad:Ljava/lang/String;
astore 5
25: goto 35
26: StackMap locals:
StackMap stack:
aload 8
aconst_null
invokevirtual java.security.Provider$Service.newInstance:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast javax.crypto.CipherSpi
astore 9
start local 9 27: aload 6
aload 9
invokevirtual javax.crypto.Cipher$Transform.setModePadding:(Ljavax/crypto/CipherSpi;)V
28: new javax.crypto.Cipher
dup
aload 9
aload 0
invokespecial javax.crypto.Cipher.<init>:(Ljavax/crypto/CipherSpi;Ljava/lang/String;)V
astore 10
start local 10 29: aload 10
aload 8
invokevirtual java.security.Provider$Service.getProvider:()Ljava/security/Provider;
putfield javax.crypto.Cipher.provider:Ljava/security/Provider;
30: aload 10
invokevirtual javax.crypto.Cipher.initCryptoPermission:()V
31: aload 10
32: areturn
end local 10 end local 9 33: StackMap locals:
StackMap stack: java.lang.Exception
astore 9
start local 9 34: aload 9
astore 2
end local 9 end local 8 end local 6 35: StackMap locals: java.lang.String java.security.Provider java.lang.Exception java.util.List int java.lang.String top java.util.Iterator
StackMap stack:
aload 7
invokeinterface java.util.Iterator.hasNext:()Z
ifne 9
36: aload 2
instanceof javax.crypto.NoSuchPaddingException
ifeq 38
37: aload 2
checkcast javax.crypto.NoSuchPaddingException
athrow
38: StackMap locals: java.lang.String java.security.Provider java.lang.Exception java.util.List int java.lang.String
StackMap stack:
aload 5
ifnull 42
39: new javax.crypto.NoSuchPaddingException
dup
40: new java.lang.StringBuilder
dup
ldc "Padding not supported: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 5
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
41: invokespecial javax.crypto.NoSuchPaddingException.<init>:(Ljava/lang/String;)V
athrow
42: StackMap locals:
StackMap stack:
new java.security.NoSuchAlgorithmException
dup
43: new java.lang.StringBuilder
dup
ldc "No such algorithm: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
aload 2
44: invokespecial java.security.NoSuchAlgorithmException.<init>:(Ljava/lang/String;Ljava/lang/Throwable;)V
athrow
end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 45 0 transformation Ljava/lang/String;
0 45 1 provider Ljava/security/Provider;
5 45 2 failure Ljava/lang/Exception;
6 45 3 transforms Ljava/util/List<Ljavax/crypto/Cipher$Transform;>;
7 45 4 providerChecked Z
8 45 5 paddingError Ljava/lang/String;
10 35 6 tr Ljavax/crypto/Cipher$Transform;
11 35 8 s Ljava/security/Provider$Service;
15 21 9 ve Ljava/lang/Exception;
19 20 10 msg Ljava/lang/String;
27 33 9 spi Ljavax/crypto/CipherSpi;
29 33 10 cipher Ljavax/crypto/Cipher;
34 35 9 e Ljava/lang/Exception;
Exception table:
from to target type
26 32 33 Class java.lang.Exception
Exceptions:
throws java.security.NoSuchAlgorithmException, javax.crypto.NoSuchPaddingException
MethodParameters:
Name Flags
transformation
provider
private void initCryptoPermission();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=2, args_size=1
start local 0 0: invokestatic javax.crypto.JceSecurity.isRestricted:()Z
ifne 4
1: aload 0
getstatic javax.crypto.CryptoAllPermission.INSTANCE:Ljavax/crypto/CryptoAllPermission;
putfield javax.crypto.Cipher.cryptoPerm:Ljavax/crypto/CryptoPermission;
2: aload 0
aconst_null
putfield javax.crypto.Cipher.exmech:Ljavax/crypto/ExemptionMechanism;
3: return
4: StackMap locals:
StackMap stack:
aload 0
aload 0
getfield javax.crypto.Cipher.transformation:Ljava/lang/String;
invokestatic javax.crypto.Cipher.getConfiguredPermission:(Ljava/lang/String;)Ljavax/crypto/CryptoPermission;
putfield javax.crypto.Cipher.cryptoPerm:Ljavax/crypto/CryptoPermission;
5: aload 0
getfield javax.crypto.Cipher.cryptoPerm:Ljavax/crypto/CryptoPermission;
invokevirtual javax.crypto.CryptoPermission.getExemptionMechanism:()Ljava/lang/String;
astore 1
start local 1 6: aload 1
ifnull 8
7: aload 0
aload 1
invokestatic javax.crypto.ExemptionMechanism.getInstance:(Ljava/lang/String;)Ljavax/crypto/ExemptionMechanism;
putfield javax.crypto.Cipher.exmech:Ljavax/crypto/ExemptionMechanism;
8: StackMap locals: java.lang.String
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Ljavax/crypto/Cipher;
6 9 1 exmechName Ljava/lang/String;
Exceptions:
throws java.security.NoSuchAlgorithmException
void chooseFirstProvider();
descriptor: ()V
flags: (0x0000)
Code:
stack=3, locals=7, args_size=1
start local 0 0: aload 0
getfield javax.crypto.Cipher.spi:Ljavax/crypto/CipherSpi;
ifnull 2
1: return
2: StackMap locals:
StackMap stack:
aload 0
getfield javax.crypto.Cipher.lock:Ljava/lang/Object;
dup
astore 1
monitorenter
3: aload 0
getfield javax.crypto.Cipher.spi:Ljavax/crypto/CipherSpi;
ifnull 6
4: aload 1
monitorexit
5: return
6: StackMap locals: java.lang.Object
StackMap stack:
getstatic javax.crypto.Cipher.debug:Lsun/security/util/Debug;
ifnull 13
7: getstatic javax.crypto.Cipher.warnCount:I
iconst_1
isub
dup
putstatic javax.crypto.Cipher.warnCount:I
istore 2
start local 2 8: iload 2
iflt 13
9: getstatic javax.crypto.Cipher.debug:Lsun/security/util/Debug;
ldc "Cipher.init() not first method called, disabling delayed provider selection"
invokevirtual sun.security.util.Debug.println:(Ljava/lang/String;)V
10: iload 2
ifne 12
11: getstatic javax.crypto.Cipher.debug:Lsun/security/util/Debug;
ldc "Further warnings of this type will be suppressed"
invokevirtual sun.security.util.Debug.println:(Ljava/lang/String;)V
12: StackMap locals: int
StackMap stack:
new java.lang.Exception
dup
ldc "Call trace"
invokespecial java.lang.Exception.<init>:(Ljava/lang/String;)V
invokevirtual java.lang.Exception.printStackTrace:()V
end local 2 13: StackMap locals:
StackMap stack:
aconst_null
astore 2
start local 2 14: goto 46
15: StackMap locals: java.lang.Exception
StackMap stack:
aload 0
getfield javax.crypto.Cipher.firstService:Ljava/security/Provider$Service;
ifnull 21
16: aload 0
getfield javax.crypto.Cipher.firstService:Ljava/security/Provider$Service;
astore 3
start local 3 17: aload 0
getfield javax.crypto.Cipher.firstSpi:Ljavax/crypto/CipherSpi;
astore 4
start local 4 18: aload 0
aconst_null
putfield javax.crypto.Cipher.firstService:Ljava/security/Provider$Service;
19: aload 0
aconst_null
putfield javax.crypto.Cipher.firstSpi:Ljavax/crypto/CipherSpi;
20: goto 23
end local 4 end local 3 21: StackMap locals:
StackMap stack:
aload 0
getfield javax.crypto.Cipher.serviceIterator:Ljava/util/Iterator;
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.security.Provider$Service
astore 3
start local 3 22: aconst_null
astore 4
start local 4 23: StackMap locals: java.security.Provider$Service javax.crypto.CipherSpi
StackMap stack:
aload 3
invokevirtual java.security.Provider$Service.getProvider:()Ljava/security/Provider;
invokestatic javax.crypto.JceSecurity.canUseProvider:(Ljava/security/Provider;)Z
ifne 25
24: goto 46
25: StackMap locals:
StackMap stack:
aload 3
aload 0
getfield javax.crypto.Cipher.transforms:Ljava/util/List;
invokestatic javax.crypto.Cipher.getTransform:(Ljava/security/Provider$Service;Ljava/util/List;)Ljavax/crypto/Cipher$Transform;
astore 5
start local 5 26: aload 5
ifnonnull 28
27: goto 46
28: StackMap locals: javax.crypto.Cipher$Transform
StackMap stack:
aload 5
aload 3
invokevirtual javax.crypto.Cipher$Transform.supportsModePadding:(Ljava/security/Provider$Service;)I
ifne 30
29: goto 46
30: StackMap locals:
StackMap stack:
aload 4
ifnonnull 35
31: aload 3
aconst_null
invokevirtual java.security.Provider$Service.newInstance:(Ljava/lang/Object;)Ljava/lang/Object;
astore 6
start local 6 32: aload 6
instanceof javax.crypto.CipherSpi
ifne 34
33: goto 46
34: StackMap locals: java.lang.Object
StackMap stack:
aload 6
checkcast javax.crypto.CipherSpi
astore 4
end local 6 35: StackMap locals:
StackMap stack:
aload 5
aload 4
invokevirtual javax.crypto.Cipher$Transform.setModePadding:(Ljavax/crypto/CipherSpi;)V
36: aload 0
invokevirtual javax.crypto.Cipher.initCryptoPermission:()V
37: aload 0
aload 4
putfield javax.crypto.Cipher.spi:Ljavax/crypto/CipherSpi;
38: aload 0
aload 3
invokevirtual java.security.Provider$Service.getProvider:()Ljava/security/Provider;
putfield javax.crypto.Cipher.provider:Ljava/security/Provider;
39: aload 0
aconst_null
putfield javax.crypto.Cipher.firstService:Ljava/security/Provider$Service;
40: aload 0
aconst_null
putfield javax.crypto.Cipher.serviceIterator:Ljava/util/Iterator;
41: aload 0
aconst_null
putfield javax.crypto.Cipher.transforms:Ljava/util/List;
42: aload 1
monitorexit
43: return
44: StackMap locals:
StackMap stack: java.lang.Exception
astore 6
start local 6 45: aload 6
astore 2
end local 6 end local 5 end local 4 end local 3 46: StackMap locals:
StackMap stack:
aload 0
getfield javax.crypto.Cipher.firstService:Ljava/security/Provider$Service;
ifnonnull 15
aload 0
getfield javax.crypto.Cipher.serviceIterator:Ljava/util/Iterator;
invokeinterface java.util.Iterator.hasNext:()Z
ifne 15
47: new java.security.ProviderException
dup
48: ldc "Could not construct CipherSpi instance"
49: invokespecial java.security.ProviderException.<init>:(Ljava/lang/String;)V
astore 3
start local 3 50: aload 2
ifnull 52
51: aload 3
aload 2
invokevirtual java.security.ProviderException.initCause:(Ljava/lang/Throwable;)Ljava/lang/Throwable;
pop
52: StackMap locals: java.security.ProviderException
StackMap stack:
aload 3
athrow
end local 3 end local 2 53: StackMap locals: javax.crypto.Cipher java.lang.Object
StackMap stack: java.lang.Throwable
aload 1
monitorexit
54: athrow
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 55 0 this Ljavax/crypto/Cipher;
8 13 2 w I
14 53 2 lastException Ljava/lang/Exception;
17 21 3 s Ljava/security/Provider$Service;
22 46 3 s Ljava/security/Provider$Service;
18 21 4 thisSpi Ljavax/crypto/CipherSpi;
23 46 4 thisSpi Ljavax/crypto/CipherSpi;
26 46 5 tr Ljavax/crypto/Cipher$Transform;
32 35 6 obj Ljava/lang/Object;
45 46 6 e Ljava/lang/Exception;
50 53 3 e Ljava/security/ProviderException;
Exception table:
from to target type
30 33 44 Class java.lang.Exception
34 42 44 Class java.lang.Exception
3 5 53 any
6 43 53 any
44 54 53 any
private void implInit(javax.crypto.CipherSpi, int, int, java.security.Key, java.security.spec.AlgorithmParameterSpec, java.security.AlgorithmParameters, java.security.SecureRandom);
descriptor: (Ljavax/crypto/CipherSpi;IILjava/security/Key;Ljava/security/spec/AlgorithmParameterSpec;Ljava/security/AlgorithmParameters;Ljava/security/SecureRandom;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=8, args_size=8
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 start local 6 start local 7 0: iload 2
tableswitch { // 1 - 4
1: 1
2: 4
3: 7
4: 10
default: 13
}
1: StackMap locals:
StackMap stack:
aload 0
aload 1
aload 4
invokevirtual javax.crypto.Cipher.checkCryptoPerm:(Ljavax/crypto/CipherSpi;Ljava/security/Key;)V
2: aload 1
iload 3
aload 4
aload 7
invokevirtual javax.crypto.CipherSpi.engineInit:(ILjava/security/Key;Ljava/security/SecureRandom;)V
3: goto 14
4: StackMap locals:
StackMap stack:
aload 0
aload 1
aload 4
aload 5
invokevirtual javax.crypto.Cipher.checkCryptoPerm:(Ljavax/crypto/CipherSpi;Ljava/security/Key;Ljava/security/spec/AlgorithmParameterSpec;)V
5: aload 1
iload 3
aload 4
aload 5
aload 7
invokevirtual javax.crypto.CipherSpi.engineInit:(ILjava/security/Key;Ljava/security/spec/AlgorithmParameterSpec;Ljava/security/SecureRandom;)V
6: goto 14
7: StackMap locals:
StackMap stack:
aload 0
aload 1
aload 4
aload 6
invokevirtual javax.crypto.Cipher.checkCryptoPerm:(Ljavax/crypto/CipherSpi;Ljava/security/Key;Ljava/security/AlgorithmParameters;)V
8: aload 1
iload 3
aload 4
aload 6
aload 7
invokevirtual javax.crypto.CipherSpi.engineInit:(ILjava/security/Key;Ljava/security/AlgorithmParameters;Ljava/security/SecureRandom;)V
9: goto 14
10: StackMap locals:
StackMap stack:
aload 0
aload 1
aload 4
invokevirtual javax.crypto.Cipher.checkCryptoPerm:(Ljavax/crypto/CipherSpi;Ljava/security/Key;)V
11: aload 1
iload 3
aload 4
aload 7
invokevirtual javax.crypto.CipherSpi.engineInit:(ILjava/security/Key;Ljava/security/SecureRandom;)V
12: goto 14
13: StackMap locals:
StackMap stack:
new java.lang.AssertionError
dup
new java.lang.StringBuilder
dup
ldc "Internal Cipher error: "
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.lang.AssertionError.<init>:(Ljava/lang/Object;)V
athrow
14: StackMap locals:
StackMap stack:
return
end local 7 end local 6 end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 15 0 this Ljavax/crypto/Cipher;
0 15 1 thisSpi Ljavax/crypto/CipherSpi;
0 15 2 type I
0 15 3 opmode I
0 15 4 key Ljava/security/Key;
0 15 5 paramSpec Ljava/security/spec/AlgorithmParameterSpec;
0 15 6 params Ljava/security/AlgorithmParameters;
0 15 7 random Ljava/security/SecureRandom;
Exceptions:
throws java.security.InvalidKeyException, java.security.InvalidAlgorithmParameterException
MethodParameters:
Name Flags
thisSpi
type
opmode
key
paramSpec
params
random
private void chooseProvider(int, int, java.security.Key, java.security.spec.AlgorithmParameterSpec, java.security.AlgorithmParameters, java.security.SecureRandom);
descriptor: (IILjava/security/Key;Ljava/security/spec/AlgorithmParameterSpec;Ljava/security/AlgorithmParameters;Ljava/security/SecureRandom;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=8, locals=13, args_size=7
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 start local 6 0: aload 0
getfield javax.crypto.Cipher.lock:Ljava/lang/Object;
dup
astore 7
monitorenter
1: aload 0
getfield javax.crypto.Cipher.spi:Ljavax/crypto/CipherSpi;
ifnull 5
2: aload 0
aload 0
getfield javax.crypto.Cipher.spi:Ljavax/crypto/CipherSpi;
iload 1
iload 2
aload 3
aload 4
aload 5
aload 6
invokevirtual javax.crypto.Cipher.implInit:(Ljavax/crypto/CipherSpi;IILjava/security/Key;Ljava/security/spec/AlgorithmParameterSpec;Ljava/security/AlgorithmParameters;Ljava/security/SecureRandom;)V
3: aload 7
monitorexit
4: return
5: StackMap locals: java.lang.Object
StackMap stack:
aconst_null
astore 8
start local 8 6: goto 41
7: StackMap locals: java.lang.Exception
StackMap stack:
aload 0
getfield javax.crypto.Cipher.firstService:Ljava/security/Provider$Service;
ifnull 13
8: aload 0
getfield javax.crypto.Cipher.firstService:Ljava/security/Provider$Service;
astore 9
start local 9 9: aload 0
getfield javax.crypto.Cipher.firstSpi:Ljavax/crypto/CipherSpi;
astore 10
start local 10 10: aload 0
aconst_null
putfield javax.crypto.Cipher.firstService:Ljava/security/Provider$Service;
11: aload 0
aconst_null
putfield javax.crypto.Cipher.firstSpi:Ljavax/crypto/CipherSpi;
12: goto 15
end local 10 end local 9 13: StackMap locals:
StackMap stack:
aload 0
getfield javax.crypto.Cipher.serviceIterator:Ljava/util/Iterator;
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.security.Provider$Service
astore 9
start local 9 14: aconst_null
astore 10
start local 10 15: StackMap locals: java.security.Provider$Service javax.crypto.CipherSpi
StackMap stack:
aload 9
aload 3
invokevirtual java.security.Provider$Service.supportsParameter:(Ljava/lang/Object;)Z
ifne 17
16: goto 41
17: StackMap locals:
StackMap stack:
aload 9
invokevirtual java.security.Provider$Service.getProvider:()Ljava/security/Provider;
invokestatic javax.crypto.JceSecurity.canUseProvider:(Ljava/security/Provider;)Z
ifne 19
18: goto 41
19: StackMap locals:
StackMap stack:
aload 9
aload 0
getfield javax.crypto.Cipher.transforms:Ljava/util/List;
invokestatic javax.crypto.Cipher.getTransform:(Ljava/security/Provider$Service;Ljava/util/List;)Ljavax/crypto/Cipher$Transform;
astore 11
start local 11 20: aload 11
ifnonnull 22
21: goto 41
22: StackMap locals: javax.crypto.Cipher$Transform
StackMap stack:
aload 11
aload 9
invokevirtual javax.crypto.Cipher$Transform.supportsModePadding:(Ljava/security/Provider$Service;)I
ifne 24
23: goto 41
24: StackMap locals:
StackMap stack:
aload 10
ifnonnull 26
25: aload 9
aconst_null
invokevirtual java.security.Provider$Service.newInstance:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast javax.crypto.CipherSpi
astore 10
26: StackMap locals:
StackMap stack:
aload 11
aload 10
invokevirtual javax.crypto.Cipher$Transform.setModePadding:(Ljavax/crypto/CipherSpi;)V
27: aload 0
invokevirtual javax.crypto.Cipher.initCryptoPermission:()V
28: aload 0
aload 10
iload 1
iload 2
aload 3
aload 4
29: aload 5
aload 6
30: invokevirtual javax.crypto.Cipher.implInit:(Ljavax/crypto/CipherSpi;IILjava/security/Key;Ljava/security/spec/AlgorithmParameterSpec;Ljava/security/AlgorithmParameters;Ljava/security/SecureRandom;)V
31: aload 0
aload 9
invokevirtual java.security.Provider$Service.getProvider:()Ljava/security/Provider;
putfield javax.crypto.Cipher.provider:Ljava/security/Provider;
32: aload 0
aload 10
putfield javax.crypto.Cipher.spi:Ljavax/crypto/CipherSpi;
33: aload 0
aconst_null
putfield javax.crypto.Cipher.firstService:Ljava/security/Provider$Service;
34: aload 0
aconst_null
putfield javax.crypto.Cipher.serviceIterator:Ljava/util/Iterator;
35: aload 0
aconst_null
putfield javax.crypto.Cipher.transforms:Ljava/util/List;
36: aload 7
monitorexit
37: return
38: StackMap locals:
StackMap stack: java.lang.Exception
astore 12
start local 12 39: aload 8
ifnonnull 41
40: aload 12
astore 8
end local 12 end local 11 end local 10 end local 9 41: StackMap locals:
StackMap stack:
aload 0
getfield javax.crypto.Cipher.firstService:Ljava/security/Provider$Service;
ifnonnull 7
aload 0
getfield javax.crypto.Cipher.serviceIterator:Ljava/util/Iterator;
invokeinterface java.util.Iterator.hasNext:()Z
ifne 7
42: aload 8
instanceof java.security.InvalidKeyException
ifeq 44
43: aload 8
checkcast java.security.InvalidKeyException
athrow
44: StackMap locals:
StackMap stack:
aload 8
instanceof java.security.InvalidAlgorithmParameterException
ifeq 46
45: aload 8
checkcast java.security.InvalidAlgorithmParameterException
athrow
46: StackMap locals:
StackMap stack:
aload 8
instanceof java.lang.RuntimeException
ifeq 48
47: aload 8
checkcast java.lang.RuntimeException
athrow
48: StackMap locals:
StackMap stack:
aload 3
ifnull 49
aload 3
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
invokevirtual java.lang.Class.getName:()Ljava/lang/String;
goto 50
StackMap locals:
StackMap stack:
49: ldc "(null)"
StackMap locals:
StackMap stack: java.lang.String
50: astore 9
start local 9 51: new java.security.InvalidKeyException
dup
52: new java.lang.StringBuilder
dup
ldc "No installed provider supports this key: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
53: aload 9
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
54: invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
55: aload 8
56: invokespecial java.security.InvalidKeyException.<init>:(Ljava/lang/String;Ljava/lang/Throwable;)V
athrow
end local 9 end local 8 57: StackMap locals: javax.crypto.Cipher int int java.security.Key java.security.spec.AlgorithmParameterSpec java.security.AlgorithmParameters java.security.SecureRandom java.lang.Object
StackMap stack: java.lang.Throwable
aload 7
monitorexit
58: athrow
end local 6 end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 59 0 this Ljavax/crypto/Cipher;
0 59 1 initType I
0 59 2 opmode I
0 59 3 key Ljava/security/Key;
0 59 4 paramSpec Ljava/security/spec/AlgorithmParameterSpec;
0 59 5 params Ljava/security/AlgorithmParameters;
0 59 6 random Ljava/security/SecureRandom;
6 57 8 lastException Ljava/lang/Exception;
9 13 9 s Ljava/security/Provider$Service;
14 41 9 s Ljava/security/Provider$Service;
10 13 10 thisSpi Ljavax/crypto/CipherSpi;
15 41 10 thisSpi Ljavax/crypto/CipherSpi;
20 41 11 tr Ljavax/crypto/Cipher$Transform;
39 41 12 e Ljava/lang/Exception;
51 57 9 kName Ljava/lang/String;
Exception table:
from to target type
24 36 38 Class java.lang.Exception
1 4 57 any
5 37 57 any
38 58 57 any
Exceptions:
throws java.security.InvalidKeyException, java.security.InvalidAlgorithmParameterException
MethodParameters:
Name Flags
initType
opmode
key
paramSpec
params
random
public final java.security.Provider getProvider();
descriptor: ()Ljava/security/Provider;
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual javax.crypto.Cipher.chooseFirstProvider:()V
1: aload 0
getfield javax.crypto.Cipher.provider:Ljava/security/Provider;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljavax/crypto/Cipher;
public final java.lang.String getAlgorithm();
descriptor: ()Ljava/lang/String;
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield javax.crypto.Cipher.transformation:Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/crypto/Cipher;
public final int getBlockSize();
descriptor: ()I
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual javax.crypto.Cipher.chooseFirstProvider:()V
1: aload 0
getfield javax.crypto.Cipher.spi:Ljavax/crypto/CipherSpi;
invokevirtual javax.crypto.CipherSpi.engineGetBlockSize:()I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljavax/crypto/Cipher;
public final int getOutputSize(int);
descriptor: (I)I
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield javax.crypto.Cipher.initialized:Z
ifne 2
aload 0
instanceof javax.crypto.NullCipher
ifne 2
1: new java.lang.IllegalStateException
dup
ldc "Cipher not initialized"
invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
iload 1
ifge 4
3: new java.lang.IllegalArgumentException
dup
ldc "Input size must be equal to or greater than zero"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
4: StackMap locals:
StackMap stack:
aload 0
invokevirtual javax.crypto.Cipher.chooseFirstProvider:()V
5: aload 0
getfield javax.crypto.Cipher.spi:Ljavax/crypto/CipherSpi;
iload 1
invokevirtual javax.crypto.CipherSpi.engineGetOutputSize:(I)I
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Ljavax/crypto/Cipher;
0 6 1 inputLen I
MethodParameters:
Name Flags
inputLen
public final byte[] getIV();
descriptor: ()[B
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual javax.crypto.Cipher.chooseFirstProvider:()V
1: aload 0
getfield javax.crypto.Cipher.spi:Ljavax/crypto/CipherSpi;
invokevirtual javax.crypto.CipherSpi.engineGetIV:()[B
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljavax/crypto/Cipher;
public final java.security.AlgorithmParameters getParameters();
descriptor: ()Ljava/security/AlgorithmParameters;
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual javax.crypto.Cipher.chooseFirstProvider:()V
1: aload 0
getfield javax.crypto.Cipher.spi:Ljavax/crypto/CipherSpi;
invokevirtual javax.crypto.CipherSpi.engineGetParameters:()Ljava/security/AlgorithmParameters;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljavax/crypto/Cipher;
public final javax.crypto.ExemptionMechanism getExemptionMechanism();
descriptor: ()Ljavax/crypto/ExemptionMechanism;
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual javax.crypto.Cipher.chooseFirstProvider:()V
1: aload 0
getfield javax.crypto.Cipher.exmech:Ljavax/crypto/ExemptionMechanism;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljavax/crypto/Cipher;
private void checkCryptoPerm(javax.crypto.CipherSpi, java.security.Key);
descriptor: (Ljavax/crypto/CipherSpi;Ljava/security/Key;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield javax.crypto.Cipher.cryptoPerm:Ljavax/crypto/CryptoPermission;
getstatic javax.crypto.CryptoAllPermission.INSTANCE:Ljavax/crypto/CryptoAllPermission;
if_acmpne 2
1: return
2: StackMap locals:
StackMap stack:
aload 0
aload 1
invokevirtual javax.crypto.CipherSpi.engineGetParameters:()Ljava/security/AlgorithmParameters;
invokevirtual javax.crypto.Cipher.getAlgorithmParameterSpec:(Ljava/security/AlgorithmParameters;)Ljava/security/spec/AlgorithmParameterSpec;
astore 3
start local 3 3: goto 8
end local 3 StackMap locals:
StackMap stack: java.security.spec.InvalidParameterSpecException
4: pop
5: new java.security.InvalidKeyException
dup
6: ldc "Unsupported default algorithm parameters"
7: invokespecial java.security.InvalidKeyException.<init>:(Ljava/lang/String;)V
athrow
start local 3 8: StackMap locals: java.security.spec.AlgorithmParameterSpec
StackMap stack:
aload 0
aload 1
aload 2
aload 3
invokevirtual javax.crypto.Cipher.passCryptoPermCheck:(Ljavax/crypto/CipherSpi;Ljava/security/Key;Ljava/security/spec/AlgorithmParameterSpec;)Z
ifne 12
9: new java.security.InvalidKeyException
dup
10: ldc "Illegal key size or default parameters"
11: invokespecial java.security.InvalidKeyException.<init>:(Ljava/lang/String;)V
athrow
12: StackMap locals:
StackMap stack:
return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 this Ljavax/crypto/Cipher;
0 13 1 checkSpi Ljavax/crypto/CipherSpi;
0 13 2 key Ljava/security/Key;
3 4 3 params Ljava/security/spec/AlgorithmParameterSpec;
8 13 3 params Ljava/security/spec/AlgorithmParameterSpec;
Exception table:
from to target type
2 3 4 Class java.security.spec.InvalidParameterSpecException
Exceptions:
throws java.security.InvalidKeyException
MethodParameters:
Name Flags
checkSpi
key
private void checkCryptoPerm(javax.crypto.CipherSpi, java.security.Key, java.security.spec.AlgorithmParameterSpec);
descriptor: (Ljavax/crypto/CipherSpi;Ljava/security/Key;Ljava/security/spec/AlgorithmParameterSpec;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
getfield javax.crypto.Cipher.cryptoPerm:Ljavax/crypto/CryptoPermission;
getstatic javax.crypto.CryptoAllPermission.INSTANCE:Ljavax/crypto/CryptoAllPermission;
if_acmpne 2
1: return
2: StackMap locals:
StackMap stack:
aload 0
aload 1
aload 2
aconst_null
invokevirtual javax.crypto.Cipher.passCryptoPermCheck:(Ljavax/crypto/CipherSpi;Ljava/security/Key;Ljava/security/spec/AlgorithmParameterSpec;)Z
ifne 4
3: new java.security.InvalidKeyException
dup
ldc "Illegal key size"
invokespecial java.security.InvalidKeyException.<init>:(Ljava/lang/String;)V
athrow
4: StackMap locals:
StackMap stack:
aload 3
ifnull 6
aload 0
aload 1
aload 2
aload 3
invokevirtual javax.crypto.Cipher.passCryptoPermCheck:(Ljavax/crypto/CipherSpi;Ljava/security/Key;Ljava/security/spec/AlgorithmParameterSpec;)Z
ifne 6
5: new java.security.InvalidAlgorithmParameterException
dup
ldc "Illegal parameters"
invokespecial java.security.InvalidAlgorithmParameterException.<init>:(Ljava/lang/String;)V
athrow
6: StackMap locals:
StackMap stack:
return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Ljavax/crypto/Cipher;
0 7 1 checkSpi Ljavax/crypto/CipherSpi;
0 7 2 key Ljava/security/Key;
0 7 3 params Ljava/security/spec/AlgorithmParameterSpec;
Exceptions:
throws java.security.InvalidKeyException, java.security.InvalidAlgorithmParameterException
MethodParameters:
Name Flags
checkSpi
key
params
private void checkCryptoPerm(javax.crypto.CipherSpi, java.security.Key, java.security.AlgorithmParameters);
descriptor: (Ljavax/crypto/CipherSpi;Ljava/security/Key;Ljava/security/AlgorithmParameters;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=5, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
getfield javax.crypto.Cipher.cryptoPerm:Ljavax/crypto/CryptoPermission;
getstatic javax.crypto.CryptoAllPermission.INSTANCE:Ljavax/crypto/CryptoAllPermission;
if_acmpne 2
1: return
2: StackMap locals:
StackMap stack:
aload 0
aload 3
invokevirtual javax.crypto.Cipher.getAlgorithmParameterSpec:(Ljava/security/AlgorithmParameters;)Ljava/security/spec/AlgorithmParameterSpec;
astore 4
start local 4 3: goto 8
end local 4 StackMap locals:
StackMap stack: java.security.spec.InvalidParameterSpecException
4: pop
5: new java.security.InvalidAlgorithmParameterException
dup
6: ldc "Failed to retrieve algorithm parameter specification"
7: invokespecial java.security.InvalidAlgorithmParameterException.<init>:(Ljava/lang/String;)V
athrow
start local 4 8: StackMap locals: java.security.spec.AlgorithmParameterSpec
StackMap stack:
aload 0
aload 1
aload 2
aload 4
invokevirtual javax.crypto.Cipher.checkCryptoPerm:(Ljavax/crypto/CipherSpi;Ljava/security/Key;Ljava/security/spec/AlgorithmParameterSpec;)V
9: return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Ljavax/crypto/Cipher;
0 10 1 checkSpi Ljavax/crypto/CipherSpi;
0 10 2 key Ljava/security/Key;
0 10 3 params Ljava/security/AlgorithmParameters;
3 4 4 pSpec Ljava/security/spec/AlgorithmParameterSpec;
8 10 4 pSpec Ljava/security/spec/AlgorithmParameterSpec;
Exception table:
from to target type
2 3 4 Class java.security.spec.InvalidParameterSpecException
Exceptions:
throws java.security.InvalidKeyException, java.security.InvalidAlgorithmParameterException
MethodParameters:
Name Flags
checkSpi
key
params
private boolean passCryptoPermCheck(javax.crypto.CipherSpi, java.security.Key, java.security.spec.AlgorithmParameterSpec);
descriptor: (Ljavax/crypto/CipherSpi;Ljava/security/Key;Ljava/security/spec/AlgorithmParameterSpec;)Z
flags: (0x0002) ACC_PRIVATE
Code:
stack=6, locals=10, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
getfield javax.crypto.Cipher.cryptoPerm:Ljavax/crypto/CryptoPermission;
invokevirtual javax.crypto.CryptoPermission.getExemptionMechanism:()Ljava/lang/String;
astore 4
start local 4 1: aload 1
aload 2
invokevirtual javax.crypto.CipherSpi.engineGetKeySize:(Ljava/security/Key;)I
istore 5
start local 5 2: aload 0
getfield javax.crypto.Cipher.transformation:Ljava/lang/String;
bipush 47
invokevirtual java.lang.String.indexOf:(I)I
istore 7
start local 7 3: iload 7
iconst_m1
if_icmpeq 6
4: aload 0
getfield javax.crypto.Cipher.transformation:Ljava/lang/String;
iconst_0
iload 7
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
astore 6
start local 6 5: goto 7
end local 6 6: StackMap locals: javax.crypto.Cipher javax.crypto.CipherSpi java.security.Key java.security.spec.AlgorithmParameterSpec java.lang.String int top int
StackMap stack:
aload 0
getfield javax.crypto.Cipher.transformation:Ljava/lang/String;
astore 6
start local 6 7: StackMap locals: javax.crypto.Cipher javax.crypto.CipherSpi java.security.Key java.security.spec.AlgorithmParameterSpec java.lang.String int java.lang.String int
StackMap stack:
new javax.crypto.CryptoPermission
dup
aload 6
iload 5
aload 3
aload 4
invokespecial javax.crypto.CryptoPermission.<init>:(Ljava/lang/String;ILjava/security/spec/AlgorithmParameterSpec;Ljava/lang/String;)V
8: astore 8
start local 8 9: aload 0
getfield javax.crypto.Cipher.cryptoPerm:Ljavax/crypto/CryptoPermission;
aload 8
invokevirtual javax.crypto.CryptoPermission.implies:(Ljava/security/Permission;)Z
ifne 15
10: getstatic javax.crypto.Cipher.debug:Lsun/security/util/Debug;
ifnull 14
11: getstatic javax.crypto.Cipher.debug:Lsun/security/util/Debug;
ldc "Crypto Permission check failed"
invokevirtual sun.security.util.Debug.println:(Ljava/lang/String;)V
12: getstatic javax.crypto.Cipher.debug:Lsun/security/util/Debug;
new java.lang.StringBuilder
dup
ldc "granted: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
getfield javax.crypto.Cipher.cryptoPerm:Ljavax/crypto/CryptoPermission;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual sun.security.util.Debug.println:(Ljava/lang/String;)V
13: getstatic javax.crypto.Cipher.debug:Lsun/security/util/Debug;
new java.lang.StringBuilder
dup
ldc "requesting: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 8
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual sun.security.util.Debug.println:(Ljava/lang/String;)V
14: StackMap locals: javax.crypto.CryptoPermission
StackMap stack:
iconst_0
ireturn
15: StackMap locals:
StackMap stack:
aload 0
getfield javax.crypto.Cipher.exmech:Ljavax/crypto/ExemptionMechanism;
ifnonnull 17
16: iconst_1
ireturn
17: StackMap locals:
StackMap stack:
aload 0
getfield javax.crypto.Cipher.exmech:Ljavax/crypto/ExemptionMechanism;
aload 2
invokevirtual javax.crypto.ExemptionMechanism.isCryptoAllowed:(Ljava/security/Key;)Z
ifne 28
18: getstatic javax.crypto.Cipher.debug:Lsun/security/util/Debug;
ifnull 20
19: getstatic javax.crypto.Cipher.debug:Lsun/security/util/Debug;
new java.lang.StringBuilder
dup
aload 0
getfield javax.crypto.Cipher.exmech:Ljavax/crypto/ExemptionMechanism;
invokevirtual javax.crypto.ExemptionMechanism.getName:()Ljava/lang/String;
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc " isn't enforced"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual sun.security.util.Debug.println:(Ljava/lang/String;)V
20: StackMap locals:
StackMap stack:
iconst_0
ireturn
21: StackMap locals:
StackMap stack: javax.crypto.ExemptionMechanismException
astore 9
start local 9 22: getstatic javax.crypto.Cipher.debug:Lsun/security/util/Debug;
ifnull 27
23: getstatic javax.crypto.Cipher.debug:Lsun/security/util/Debug;
new java.lang.StringBuilder
dup
ldc "Cannot determine whether "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
24: aload 0
getfield javax.crypto.Cipher.exmech:Ljavax/crypto/ExemptionMechanism;
invokevirtual javax.crypto.ExemptionMechanism.getName:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc " has been enforced"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
25: invokevirtual sun.security.util.Debug.println:(Ljava/lang/String;)V
26: aload 9
invokevirtual javax.crypto.ExemptionMechanismException.printStackTrace:()V
27: StackMap locals: javax.crypto.ExemptionMechanismException
StackMap stack:
iconst_0
ireturn
end local 9 28: StackMap locals:
StackMap stack:
iconst_1
ireturn
end local 8 end local 7 end local 6 end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 29 0 this Ljavax/crypto/Cipher;
0 29 1 checkSpi Ljavax/crypto/CipherSpi;
0 29 2 key Ljava/security/Key;
0 29 3 params Ljava/security/spec/AlgorithmParameterSpec;
1 29 4 em Ljava/lang/String;
2 29 5 keySize I
5 6 6 algComponent Ljava/lang/String;
7 29 6 algComponent Ljava/lang/String;
3 29 7 index I
9 29 8 checkPerm Ljavax/crypto/CryptoPermission;
22 28 9 eme Ljavax/crypto/ExemptionMechanismException;
Exception table:
from to target type
17 20 21 Class javax.crypto.ExemptionMechanismException
Exceptions:
throws java.security.InvalidKeyException
MethodParameters:
Name Flags
checkSpi
key
params
private static void checkOpmode(int);
descriptor: (I)V
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: iload 0
iconst_1
if_icmplt 1
iload 0
iconst_4
if_icmple 2
1: StackMap locals:
StackMap stack:
new java.security.InvalidParameterException
dup
ldc "Invalid operation mode"
invokespecial java.security.InvalidParameterException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 opmode I
MethodParameters:
Name Flags
opmode
private static java.lang.String getOpmodeString(int);
descriptor: (I)Ljava/lang/String;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: iload 0
tableswitch { // 1 - 4
1: 1
2: 2
3: 3
4: 4
default: 5
}
1: StackMap locals:
StackMap stack:
ldc "encryption"
areturn
2: StackMap locals:
StackMap stack:
ldc "decryption"
areturn
3: StackMap locals:
StackMap stack:
ldc "key wrapping"
areturn
4: StackMap locals:
StackMap stack:
ldc "key unwrapping"
areturn
5: StackMap locals:
StackMap stack:
ldc ""
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 opmode I
MethodParameters:
Name Flags
opmode
public final void init(int, java.security.Key);
descriptor: (ILjava/security/Key;)V
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=4, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
iload 1
aload 2
getstatic javax.crypto.JceSecurity.RANDOM:Ljava/security/SecureRandom;
invokevirtual javax.crypto.Cipher.init:(ILjava/security/Key;Ljava/security/SecureRandom;)V
1: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljavax/crypto/Cipher;
0 2 1 opmode I
0 2 2 key Ljava/security/Key;
Exceptions:
throws java.security.InvalidKeyException
MethodParameters:
Name Flags
opmode
key
public final void init(int, java.security.Key, java.security.SecureRandom);
descriptor: (ILjava/security/Key;Ljava/security/SecureRandom;)V
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=7, locals=5, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
iconst_0
putfield javax.crypto.Cipher.initialized:Z
1: iload 1
invokestatic javax.crypto.Cipher.checkOpmode:(I)V
2: aload 0
getfield javax.crypto.Cipher.spi:Ljavax/crypto/CipherSpi;
ifnull 6
3: aload 0
aload 0
getfield javax.crypto.Cipher.spi:Ljavax/crypto/CipherSpi;
aload 2
invokevirtual javax.crypto.Cipher.checkCryptoPerm:(Ljavax/crypto/CipherSpi;Ljava/security/Key;)V
4: aload 0
getfield javax.crypto.Cipher.spi:Ljavax/crypto/CipherSpi;
iload 1
aload 2
aload 3
invokevirtual javax.crypto.CipherSpi.engineInit:(ILjava/security/Key;Ljava/security/SecureRandom;)V
5: goto 10
6: StackMap locals:
StackMap stack:
aload 0
iconst_1
iload 1
aload 2
aconst_null
aconst_null
aload 3
invokevirtual javax.crypto.Cipher.chooseProvider:(IILjava/security/Key;Ljava/security/spec/AlgorithmParameterSpec;Ljava/security/AlgorithmParameters;Ljava/security/SecureRandom;)V
7: goto 10
StackMap locals:
StackMap stack: java.security.InvalidAlgorithmParameterException
8: astore 4
start local 4 9: new java.security.InvalidKeyException
dup
aload 4
invokespecial java.security.InvalidKeyException.<init>:(Ljava/lang/Throwable;)V
athrow
end local 4 10: StackMap locals:
StackMap stack:
aload 0
iconst_1
putfield javax.crypto.Cipher.initialized:Z
11: aload 0
iload 1
putfield javax.crypto.Cipher.opmode:I
12: getstatic javax.crypto.Cipher.skipDebug:Z
ifne 17
getstatic javax.crypto.Cipher.pdebug:Lsun/security/util/Debug;
ifnull 17
13: getstatic javax.crypto.Cipher.pdebug:Lsun/security/util/Debug;
new java.lang.StringBuilder
dup
ldc "Cipher."
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
getfield javax.crypto.Cipher.transformation: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;
14: iload 1
invokestatic javax.crypto.Cipher.getOpmodeString:(I)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc " algorithm from: "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
15: aload 0
invokevirtual javax.crypto.Cipher.getProviderName:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
16: invokevirtual sun.security.util.Debug.println:(Ljava/lang/String;)V
17: StackMap locals:
StackMap stack:
return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 18 0 this Ljavax/crypto/Cipher;
0 18 1 opmode I
0 18 2 key Ljava/security/Key;
0 18 3 random Ljava/security/SecureRandom;
9 10 4 e Ljava/security/InvalidAlgorithmParameterException;
Exception table:
from to target type
6 7 8 Class java.security.InvalidAlgorithmParameterException
Exceptions:
throws java.security.InvalidKeyException
MethodParameters:
Name Flags
opmode
key
random
public final void init(int, java.security.Key, java.security.spec.AlgorithmParameterSpec);
descriptor: (ILjava/security/Key;Ljava/security/spec/AlgorithmParameterSpec;)V
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=5, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
iload 1
aload 2
aload 3
getstatic javax.crypto.JceSecurity.RANDOM:Ljava/security/SecureRandom;
invokevirtual javax.crypto.Cipher.init:(ILjava/security/Key;Ljava/security/spec/AlgorithmParameterSpec;Ljava/security/SecureRandom;)V
1: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljavax/crypto/Cipher;
0 2 1 opmode I
0 2 2 key Ljava/security/Key;
0 2 3 params Ljava/security/spec/AlgorithmParameterSpec;
Exceptions:
throws java.security.InvalidKeyException, java.security.InvalidAlgorithmParameterException
MethodParameters:
Name Flags
opmode
key
params
public final void init(int, java.security.Key, java.security.spec.AlgorithmParameterSpec, java.security.SecureRandom);
descriptor: (ILjava/security/Key;Ljava/security/spec/AlgorithmParameterSpec;Ljava/security/SecureRandom;)V
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=7, locals=5, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 0
iconst_0
putfield javax.crypto.Cipher.initialized:Z
1: iload 1
invokestatic javax.crypto.Cipher.checkOpmode:(I)V
2: aload 0
getfield javax.crypto.Cipher.spi:Ljavax/crypto/CipherSpi;
ifnull 6
3: aload 0
aload 0
getfield javax.crypto.Cipher.spi:Ljavax/crypto/CipherSpi;
aload 2
aload 3
invokevirtual javax.crypto.Cipher.checkCryptoPerm:(Ljavax/crypto/CipherSpi;Ljava/security/Key;Ljava/security/spec/AlgorithmParameterSpec;)V
4: aload 0
getfield javax.crypto.Cipher.spi:Ljavax/crypto/CipherSpi;
iload 1
aload 2
aload 3
aload 4
invokevirtual javax.crypto.CipherSpi.engineInit:(ILjava/security/Key;Ljava/security/spec/AlgorithmParameterSpec;Ljava/security/SecureRandom;)V
5: goto 7
6: StackMap locals:
StackMap stack:
aload 0
iconst_2
iload 1
aload 2
aload 3
aconst_null
aload 4
invokevirtual javax.crypto.Cipher.chooseProvider:(IILjava/security/Key;Ljava/security/spec/AlgorithmParameterSpec;Ljava/security/AlgorithmParameters;Ljava/security/SecureRandom;)V
7: StackMap locals:
StackMap stack:
aload 0
iconst_1
putfield javax.crypto.Cipher.initialized:Z
8: aload 0
iload 1
putfield javax.crypto.Cipher.opmode:I
9: getstatic javax.crypto.Cipher.skipDebug:Z
ifne 14
getstatic javax.crypto.Cipher.pdebug:Lsun/security/util/Debug;
ifnull 14
10: getstatic javax.crypto.Cipher.pdebug:Lsun/security/util/Debug;
new java.lang.StringBuilder
dup
ldc "Cipher."
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
getfield javax.crypto.Cipher.transformation: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;
11: iload 1
invokestatic javax.crypto.Cipher.getOpmodeString:(I)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc " algorithm from: "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
12: aload 0
invokevirtual javax.crypto.Cipher.getProviderName:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
13: invokevirtual sun.security.util.Debug.println:(Ljava/lang/String;)V
14: StackMap locals:
StackMap stack:
return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 15 0 this Ljavax/crypto/Cipher;
0 15 1 opmode I
0 15 2 key Ljava/security/Key;
0 15 3 params Ljava/security/spec/AlgorithmParameterSpec;
0 15 4 random Ljava/security/SecureRandom;
Exceptions:
throws java.security.InvalidKeyException, java.security.InvalidAlgorithmParameterException
MethodParameters:
Name Flags
opmode
key
params
random
public final void init(int, java.security.Key, java.security.AlgorithmParameters);
descriptor: (ILjava/security/Key;Ljava/security/AlgorithmParameters;)V
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=5, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
iload 1
aload 2
aload 3
getstatic javax.crypto.JceSecurity.RANDOM:Ljava/security/SecureRandom;
invokevirtual javax.crypto.Cipher.init:(ILjava/security/Key;Ljava/security/AlgorithmParameters;Ljava/security/SecureRandom;)V
1: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljavax/crypto/Cipher;
0 2 1 opmode I
0 2 2 key Ljava/security/Key;
0 2 3 params Ljava/security/AlgorithmParameters;
Exceptions:
throws java.security.InvalidKeyException, java.security.InvalidAlgorithmParameterException
MethodParameters:
Name Flags
opmode
key
params
public final void init(int, java.security.Key, java.security.AlgorithmParameters, java.security.SecureRandom);
descriptor: (ILjava/security/Key;Ljava/security/AlgorithmParameters;Ljava/security/SecureRandom;)V
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=7, locals=5, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 0
iconst_0
putfield javax.crypto.Cipher.initialized:Z
1: iload 1
invokestatic javax.crypto.Cipher.checkOpmode:(I)V
2: aload 0
getfield javax.crypto.Cipher.spi:Ljavax/crypto/CipherSpi;
ifnull 6
3: aload 0
aload 0
getfield javax.crypto.Cipher.spi:Ljavax/crypto/CipherSpi;
aload 2
aload 3
invokevirtual javax.crypto.Cipher.checkCryptoPerm:(Ljavax/crypto/CipherSpi;Ljava/security/Key;Ljava/security/AlgorithmParameters;)V
4: aload 0
getfield javax.crypto.Cipher.spi:Ljavax/crypto/CipherSpi;
iload 1
aload 2
aload 3
aload 4
invokevirtual javax.crypto.CipherSpi.engineInit:(ILjava/security/Key;Ljava/security/AlgorithmParameters;Ljava/security/SecureRandom;)V
5: goto 7
6: StackMap locals:
StackMap stack:
aload 0
iconst_3
iload 1
aload 2
aconst_null
aload 3
aload 4
invokevirtual javax.crypto.Cipher.chooseProvider:(IILjava/security/Key;Ljava/security/spec/AlgorithmParameterSpec;Ljava/security/AlgorithmParameters;Ljava/security/SecureRandom;)V
7: StackMap locals:
StackMap stack:
aload 0
iconst_1
putfield javax.crypto.Cipher.initialized:Z
8: aload 0
iload 1
putfield javax.crypto.Cipher.opmode:I
9: getstatic javax.crypto.Cipher.skipDebug:Z
ifne 14
getstatic javax.crypto.Cipher.pdebug:Lsun/security/util/Debug;
ifnull 14
10: getstatic javax.crypto.Cipher.pdebug:Lsun/security/util/Debug;
new java.lang.StringBuilder
dup
ldc "Cipher."
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
getfield javax.crypto.Cipher.transformation: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;
11: iload 1
invokestatic javax.crypto.Cipher.getOpmodeString:(I)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc " algorithm from: "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
12: aload 0
invokevirtual javax.crypto.Cipher.getProviderName:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
13: invokevirtual sun.security.util.Debug.println:(Ljava/lang/String;)V
14: StackMap locals:
StackMap stack:
return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 15 0 this Ljavax/crypto/Cipher;
0 15 1 opmode I
0 15 2 key Ljava/security/Key;
0 15 3 params Ljava/security/AlgorithmParameters;
0 15 4 random Ljava/security/SecureRandom;
Exceptions:
throws java.security.InvalidKeyException, java.security.InvalidAlgorithmParameterException
MethodParameters:
Name Flags
opmode
key
params
random
public final void init(int, java.security.cert.Certificate);
descriptor: (ILjava/security/cert/Certificate;)V
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=4, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
iload 1
aload 2
getstatic javax.crypto.JceSecurity.RANDOM:Ljava/security/SecureRandom;
invokevirtual javax.crypto.Cipher.init:(ILjava/security/cert/Certificate;Ljava/security/SecureRandom;)V
1: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljavax/crypto/Cipher;
0 2 1 opmode I
0 2 2 certificate Ljava/security/cert/Certificate;
Exceptions:
throws java.security.InvalidKeyException
MethodParameters:
Name Flags
opmode
certificate
public final void init(int, java.security.cert.Certificate, java.security.SecureRandom);
descriptor: (ILjava/security/cert/Certificate;Ljava/security/SecureRandom;)V
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=7, locals=7, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
iconst_0
putfield javax.crypto.Cipher.initialized:Z
1: iload 1
invokestatic javax.crypto.Cipher.checkOpmode:(I)V
2: aload 2
instanceof java.security.cert.X509Certificate
ifeq 16
3: aload 2
checkcast java.security.cert.X509Certificate
astore 4
start local 4 4: aload 4
invokevirtual java.security.cert.X509Certificate.getCriticalExtensionOIDs:()Ljava/util/Set;
astore 5
start local 5 5: aload 5
ifnull 16
aload