public final class com.sun.crypto.provider.RSACipher extends javax.crypto.CipherSpi
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: com.sun.crypto.provider.RSACipher
super_class: javax.crypto.CipherSpi
{
private static final byte[] B0;
descriptor: [B
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static final int MODE_ENCRYPT;
descriptor: I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 1
private static final int MODE_DECRYPT;
descriptor: I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 2
private static final int MODE_SIGN;
descriptor: I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 3
private static final int MODE_VERIFY;
descriptor: I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 4
private static final java.lang.String PAD_NONE;
descriptor: Ljava/lang/String;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: "NoPadding"
private static final java.lang.String PAD_PKCS1;
descriptor: Ljava/lang/String;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: "PKCS1Padding"
private static final java.lang.String PAD_OAEP_MGF1;
descriptor: Ljava/lang/String;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: "OAEP"
private int mode;
descriptor: I
flags: (0x0002) ACC_PRIVATE
private java.lang.String paddingType;
descriptor: Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
private sun.security.rsa.RSAPadding padding;
descriptor: Lsun/security/rsa/RSAPadding;
flags: (0x0002) ACC_PRIVATE
private java.security.spec.AlgorithmParameterSpec spec;
descriptor: Ljava/security/spec/AlgorithmParameterSpec;
flags: (0x0002) ACC_PRIVATE
private byte[] buffer;
descriptor: [B
flags: (0x0002) ACC_PRIVATE
private int bufOfs;
descriptor: I
flags: (0x0002) ACC_PRIVATE
private int outputSize;
descriptor: I
flags: (0x0002) ACC_PRIVATE
private java.security.interfaces.RSAPublicKey publicKey;
descriptor: Ljava/security/interfaces/RSAPublicKey;
flags: (0x0002) ACC_PRIVATE
private java.security.interfaces.RSAPrivateKey privateKey;
descriptor: Ljava/security/interfaces/RSAPrivateKey;
flags: (0x0002) ACC_PRIVATE
private java.lang.String oaepHashAlgorithm;
descriptor: Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
private java.security.SecureRandom random;
descriptor: Ljava/security/SecureRandom;
flags: (0x0002) ACC_PRIVATE
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: iconst_0
newarray 8
putstatic com.sun.crypto.provider.RSACipher.B0:[B
1: return
LocalVariableTable:
Start End Slot Name Signature
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokespecial javax.crypto.CipherSpi.<init>:()V
1: aload 0
aconst_null
putfield com.sun.crypto.provider.RSACipher.spec:Ljava/security/spec/AlgorithmParameterSpec;
2: aload 0
ldc "SHA-1"
putfield com.sun.crypto.provider.RSACipher.oaepHashAlgorithm:Ljava/lang/String;
3: aload 0
ldc "PKCS1Padding"
putfield com.sun.crypto.provider.RSACipher.paddingType:Ljava/lang/String;
4: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lcom/sun/crypto/provider/RSACipher;
protected void engineSetMode(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=5, locals=2, args_size=2
start local 0 start local 1 0: aload 1
ldc "ECB"
invokevirtual java.lang.String.equalsIgnoreCase:(Ljava/lang/String;)Z
ifne 2
1: new java.security.NoSuchAlgorithmException
dup
new java.lang.StringBuilder
dup
ldc "Unsupported mode "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.security.NoSuchAlgorithmException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/sun/crypto/provider/RSACipher;
0 3 1 mode Ljava/lang/String;
Exceptions:
throws java.security.NoSuchAlgorithmException
MethodParameters:
Name Flags
mode
protected void engineSetPadding(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=5, locals=3, args_size=2
start local 0 start local 1 0: aload 1
ldc "NoPadding"
invokevirtual java.lang.String.equalsIgnoreCase:(Ljava/lang/String;)Z
ifeq 3
1: aload 0
ldc "NoPadding"
putfield com.sun.crypto.provider.RSACipher.paddingType:Ljava/lang/String;
2: goto 25
StackMap locals:
StackMap stack:
3: aload 1
ldc "PKCS1Padding"
invokevirtual java.lang.String.equalsIgnoreCase:(Ljava/lang/String;)Z
ifeq 6
4: aload 0
ldc "PKCS1Padding"
putfield com.sun.crypto.provider.RSACipher.paddingType:Ljava/lang/String;
5: goto 25
6: StackMap locals:
StackMap stack:
aload 1
getstatic java.util.Locale.ENGLISH:Ljava/util/Locale;
invokevirtual java.lang.String.toLowerCase:(Ljava/util/Locale;)Ljava/lang/String;
astore 2
start local 2 7: aload 2
ldc "oaeppadding"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 10
8: aload 0
ldc "OAEP"
putfield com.sun.crypto.provider.RSACipher.paddingType:Ljava/lang/String;
9: goto 25
StackMap locals: java.lang.String
StackMap stack:
10: aload 2
ldc "oaepwith"
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifeq 22
11: aload 2
ldc "andmgf1padding"
invokevirtual java.lang.String.endsWith:(Ljava/lang/String;)Z
ifeq 22
12: aload 0
ldc "OAEP"
putfield com.sun.crypto.provider.RSACipher.paddingType:Ljava/lang/String;
13: aload 0
14: aload 1
bipush 8
aload 1
invokevirtual java.lang.String.length:()I
bipush 14
isub
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
15: putfield com.sun.crypto.provider.RSACipher.oaepHashAlgorithm:Ljava/lang/String;
16: invokestatic sun.security.jca.Providers.getProviderList:()Lsun/security/jca/ProviderList;
17: ldc "MessageDigest"
aload 0
getfield com.sun.crypto.provider.RSACipher.oaepHashAlgorithm:Ljava/lang/String;
18: invokevirtual sun.security.jca.ProviderList.getService:(Ljava/lang/String;Ljava/lang/String;)Ljava/security/Provider$Service;
ifnonnull 25
19: new javax.crypto.NoSuchPaddingException
dup
20: new java.lang.StringBuilder
dup
ldc "MessageDigest not available for "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
21: invokespecial javax.crypto.NoSuchPaddingException.<init>:(Ljava/lang/String;)V
athrow
22: StackMap locals:
StackMap stack:
new javax.crypto.NoSuchPaddingException
dup
23: new java.lang.StringBuilder
dup
ldc "Padding "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc " not supported"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
24: invokespecial javax.crypto.NoSuchPaddingException.<init>:(Ljava/lang/String;)V
athrow
end local 2 25: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 26 0 this Lcom/sun/crypto/provider/RSACipher;
0 26 1 paddingName Ljava/lang/String;
7 25 2 lowerPadding Ljava/lang/String;
Exceptions:
throws javax.crypto.NoSuchPaddingException
MethodParameters:
Name Flags
paddingName
protected int engineGetBlockSize();
descriptor: ()I
flags: (0x0004) ACC_PROTECTED
Code:
stack=1, locals=1, args_size=1
start local 0 0: iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/crypto/provider/RSACipher;
protected int engineGetOutputSize(int);
descriptor: (I)I
flags: (0x0004) ACC_PROTECTED
Code:
stack=1, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield com.sun.crypto.provider.RSACipher.outputSize:I
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/crypto/provider/RSACipher;
0 1 1 inputLen I
MethodParameters:
Name Flags
inputLen
protected byte[] engineGetIV();
descriptor: ()[B
flags: (0x0004) ACC_PROTECTED
Code:
stack=1, locals=1, args_size=1
start local 0 0: aconst_null
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/crypto/provider/RSACipher;
protected java.security.AlgorithmParameters engineGetParameters();
descriptor: ()Ljava/security/AlgorithmParameters;
flags: (0x0004) ACC_PROTECTED
Code:
stack=3, locals=2, args_size=1
start local 0 0: aload 0
getfield com.sun.crypto.provider.RSACipher.spec:Ljava/security/spec/AlgorithmParameterSpec;
ifnull 12
aload 0
getfield com.sun.crypto.provider.RSACipher.spec:Ljava/security/spec/AlgorithmParameterSpec;
instanceof javax.crypto.spec.OAEPParameterSpec
ifeq 12
1: ldc "OAEP"
2: invokestatic com.sun.crypto.provider.SunJCE.getInstance:()Lcom/sun/crypto/provider/SunJCE;
3: invokestatic java.security.AlgorithmParameters.getInstance:(Ljava/lang/String;Ljava/security/Provider;)Ljava/security/AlgorithmParameters;
4: astore 1
start local 1 5: aload 1
aload 0
getfield com.sun.crypto.provider.RSACipher.spec:Ljava/security/spec/AlgorithmParameterSpec;
invokevirtual java.security.AlgorithmParameters.init:(Ljava/security/spec/AlgorithmParameterSpec;)V
6: aload 1
7: areturn
end local 1 8: StackMap locals:
StackMap stack: java.security.NoSuchAlgorithmException
pop
9: new java.lang.RuntimeException
dup
ldc "Cannot find OAEP AlgorithmParameters implementation in SunJCE provider"
invokespecial java.lang.RuntimeException.<init>:(Ljava/lang/String;)V
athrow
10: StackMap locals:
StackMap stack: java.security.spec.InvalidParameterSpecException
pop
11: new java.lang.RuntimeException
dup
ldc "OAEPParameterSpec not supported"
invokespecial java.lang.RuntimeException.<init>:(Ljava/lang/String;)V
athrow
12: StackMap locals:
StackMap stack:
aconst_null
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 this Lcom/sun/crypto/provider/RSACipher;
5 8 1 params Ljava/security/AlgorithmParameters;
Exception table:
from to target type
1 7 8 Class java.security.NoSuchAlgorithmException
1 7 10 Class java.security.spec.InvalidParameterSpecException
protected void engineInit(int, java.security.Key, java.security.SecureRandom);
descriptor: (ILjava/security/Key;Ljava/security/SecureRandom;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=5, locals=6, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
iload 1
aload 2
aload 3
aconst_null
invokevirtual com.sun.crypto.provider.RSACipher.init:(ILjava/security/Key;Ljava/security/SecureRandom;Ljava/security/spec/AlgorithmParameterSpec;)V
1: goto 7
StackMap locals:
StackMap stack: java.security.InvalidAlgorithmParameterException
2: astore 4
start local 4 3: new java.security.InvalidKeyException
dup
ldc "Wrong parameters"
invokespecial java.security.InvalidKeyException.<init>:(Ljava/lang/String;)V
4: astore 5
start local 5 5: aload 5
aload 4
invokevirtual java.security.InvalidKeyException.initCause:(Ljava/lang/Throwable;)Ljava/lang/Throwable;
pop
6: aload 5
athrow
end local 5 end local 4 7: StackMap locals:
StackMap stack:
return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lcom/sun/crypto/provider/RSACipher;
0 8 1 opmode I
0 8 2 key Ljava/security/Key;
0 8 3 random Ljava/security/SecureRandom;
3 7 4 iape Ljava/security/InvalidAlgorithmParameterException;
5 7 5 ike Ljava/security/InvalidKeyException;
Exception table:
from to target type
0 1 2 Class java.security.InvalidAlgorithmParameterException
Exceptions:
throws java.security.InvalidKeyException
MethodParameters:
Name Flags
opmode
key
random
protected void engineInit(int, java.security.Key, java.security.spec.AlgorithmParameterSpec, java.security.SecureRandom);
descriptor: (ILjava/security/Key;Ljava/security/spec/AlgorithmParameterSpec;Ljava/security/SecureRandom;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=5, locals=5, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 0
iload 1
aload 2
aload 4
aload 3
invokevirtual com.sun.crypto.provider.RSACipher.init:(ILjava/security/Key;Ljava/security/SecureRandom;Ljava/security/spec/AlgorithmParameterSpec;)V
1: return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/sun/crypto/provider/RSACipher;
0 2 1 opmode I
0 2 2 key Ljava/security/Key;
0 2 3 params Ljava/security/spec/AlgorithmParameterSpec;
0 2 4 random Ljava/security/SecureRandom;
Exceptions:
throws java.security.InvalidKeyException, java.security.InvalidAlgorithmParameterException
MethodParameters:
Name Flags
opmode
key
params
random
protected void engineInit(int, java.security.Key, java.security.AlgorithmParameters, java.security.SecureRandom);
descriptor: (ILjava/security/Key;Ljava/security/AlgorithmParameters;Ljava/security/SecureRandom;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=5, locals=7, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 3
ifnonnull 3
1: aload 0
iload 1
aload 2
aload 4
aconst_null
invokevirtual com.sun.crypto.provider.RSACipher.init:(ILjava/security/Key;Ljava/security/SecureRandom;Ljava/security/spec/AlgorithmParameterSpec;)V
2: goto 12
3: StackMap locals:
StackMap stack:
aload 3
ldc Ljavax/crypto/spec/OAEPParameterSpec;
invokevirtual java.security.AlgorithmParameters.getParameterSpec:(Ljava/lang/Class;)Ljava/security/spec/AlgorithmParameterSpec;
checkcast javax.crypto.spec.OAEPParameterSpec
4: astore 5
start local 5 5: aload 0
iload 1
aload 2
aload 4
aload 5
invokevirtual com.sun.crypto.provider.RSACipher.init:(ILjava/security/Key;Ljava/security/SecureRandom;Ljava/security/spec/AlgorithmParameterSpec;)V
end local 5 6: goto 12
StackMap locals:
StackMap stack: java.security.spec.InvalidParameterSpecException
7: astore 5
start local 5 8: new java.security.InvalidAlgorithmParameterException
dup
ldc "Wrong parameter"
invokespecial java.security.InvalidAlgorithmParameterException.<init>:(Ljava/lang/String;)V
9: astore 6
start local 6 10: aload 6
aload 5
invokevirtual java.security.InvalidAlgorithmParameterException.initCause:(Ljava/lang/Throwable;)Ljava/lang/Throwable;
pop
11: aload 6
athrow
end local 6 end local 5 12: 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 13 0 this Lcom/sun/crypto/provider/RSACipher;
0 13 1 opmode I
0 13 2 key Ljava/security/Key;
0 13 3 params Ljava/security/AlgorithmParameters;
0 13 4 random Ljava/security/SecureRandom;
5 6 5 spec Ljavax/crypto/spec/OAEPParameterSpec;
8 12 5 ipse Ljava/security/spec/InvalidParameterSpecException;
10 12 6 iape Ljava/security/InvalidAlgorithmParameterException;
Exception table:
from to target type
3 6 7 Class java.security.spec.InvalidParameterSpecException
Exceptions:
throws java.security.InvalidKeyException, java.security.InvalidAlgorithmParameterException
MethodParameters:
Name Flags
opmode
key
params
random
private void init(int, java.security.Key, java.security.SecureRandom, java.security.spec.AlgorithmParameterSpec);
descriptor: (ILjava/security/Key;Ljava/security/SecureRandom;Ljava/security/spec/AlgorithmParameterSpec;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=7, locals=10, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: iload 1
tableswitch { // 1 - 4
1: 1
2: 3
3: 1
4: 3
default: 5
}
1: StackMap locals:
StackMap stack:
iconst_1
istore 5
start local 5 2: goto 6
end local 5 3: StackMap locals:
StackMap stack:
iconst_0
istore 5
start local 5 4: goto 6
end local 5 5: StackMap locals:
StackMap stack:
new java.security.InvalidKeyException
dup
new java.lang.StringBuilder
dup
ldc "Unknown mode: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
iload 1
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.security.InvalidKeyException.<init>:(Ljava/lang/String;)V
athrow
start local 5 6: StackMap locals: int
StackMap stack:
aload 2
invokestatic sun.security.rsa.RSAKeyFactory.toRSAKey:(Ljava/security/Key;)Ljava/security/interfaces/RSAKey;
astore 6
start local 6 7: aload 6
instanceof java.security.interfaces.RSAPublicKey
ifeq 14
8: aload 0
iload 5
ifeq 9
iconst_1
goto 10
StackMap locals: com.sun.crypto.provider.RSACipher int java.security.Key java.security.SecureRandom java.security.spec.AlgorithmParameterSpec int java.security.interfaces.RSAKey
StackMap stack: com.sun.crypto.provider.RSACipher
9: iconst_4
StackMap locals: com.sun.crypto.provider.RSACipher int java.security.Key java.security.SecureRandom java.security.spec.AlgorithmParameterSpec int java.security.interfaces.RSAKey
StackMap stack: com.sun.crypto.provider.RSACipher int
10: putfield com.sun.crypto.provider.RSACipher.mode:I
11: aload 0
aload 6
checkcast java.security.interfaces.RSAPublicKey
putfield com.sun.crypto.provider.RSACipher.publicKey:Ljava/security/interfaces/RSAPublicKey;
12: aload 0
aconst_null
putfield com.sun.crypto.provider.RSACipher.privateKey:Ljava/security/interfaces/RSAPrivateKey;
13: goto 19
14: StackMap locals:
StackMap stack:
aload 0
iload 5
ifeq 15
iconst_3
goto 16
StackMap locals:
StackMap stack: com.sun.crypto.provider.RSACipher
15: iconst_2
StackMap locals: com.sun.crypto.provider.RSACipher int java.security.Key java.security.SecureRandom java.security.spec.AlgorithmParameterSpec int java.security.interfaces.RSAKey
StackMap stack: com.sun.crypto.provider.RSACipher int
16: putfield com.sun.crypto.provider.RSACipher.mode:I
17: aload 0
aload 6
checkcast java.security.interfaces.RSAPrivateKey
putfield com.sun.crypto.provider.RSACipher.privateKey:Ljava/security/interfaces/RSAPrivateKey;
18: aload 0
aconst_null
putfield com.sun.crypto.provider.RSACipher.publicKey:Ljava/security/interfaces/RSAPublicKey;
19: StackMap locals:
StackMap stack:
aload 6
invokeinterface java.security.interfaces.RSAKey.getModulus:()Ljava/math/BigInteger;
invokestatic sun.security.rsa.RSACore.getByteLength:(Ljava/math/BigInteger;)I
istore 7
start local 7 20: aload 0
iload 7
putfield com.sun.crypto.provider.RSACipher.outputSize:I
21: aload 0
iconst_0
putfield com.sun.crypto.provider.RSACipher.bufOfs:I
22: aload 0
getfield com.sun.crypto.provider.RSACipher.paddingType:Ljava/lang/String;
ldc "NoPadding"
if_acmpne 30
23: aload 4
ifnull 27
24: new java.security.InvalidAlgorithmParameterException
dup
25: ldc "Parameters not supported"
26: invokespecial java.security.InvalidAlgorithmParameterException.<init>:(Ljava/lang/String;)V
athrow
27: StackMap locals: int
StackMap stack:
aload 0
iconst_3
iload 7
aload 3
invokestatic sun.security.rsa.RSAPadding.getInstance:(IILjava/security/SecureRandom;)Lsun/security/rsa/RSAPadding;
putfield com.sun.crypto.provider.RSACipher.padding:Lsun/security/rsa/RSAPadding;
28: aload 0
iload 7
newarray 8
putfield com.sun.crypto.provider.RSACipher.buffer:[B
29: goto 70
StackMap locals:
StackMap stack:
30: aload 0
getfield com.sun.crypto.provider.RSACipher.paddingType:Ljava/lang/String;
ldc "PKCS1Padding"
if_acmpne 48
31: aload 4
ifnull 38
32: aload 4
instanceof sun.security.internal.spec.TlsRsaPremasterSecretParameterSpec
ifne 36
33: new java.security.InvalidAlgorithmParameterException
dup
34: ldc "Parameters not supported"
35: invokespecial java.security.InvalidAlgorithmParameterException.<init>:(Ljava/lang/String;)V
athrow
36: StackMap locals:
StackMap stack:
aload 0
aload 4
putfield com.sun.crypto.provider.RSACipher.spec:Ljava/security/spec/AlgorithmParameterSpec;
37: aload 0
aload 3
putfield com.sun.crypto.provider.RSACipher.random:Ljava/security/SecureRandom;
38: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.crypto.provider.RSACipher.mode:I
iconst_2
if_icmpgt 39
iconst_2
goto 40
39: StackMap locals:
StackMap stack:
iconst_1
40: StackMap locals:
StackMap stack: int
istore 8
start local 8 41: aload 0
iload 8
iload 7
aload 3
invokestatic sun.security.rsa.RSAPadding.getInstance:(IILjava/security/SecureRandom;)Lsun/security/rsa/RSAPadding;
putfield com.sun.crypto.provider.RSACipher.padding:Lsun/security/rsa/RSAPadding;
42: iload 5
ifeq 46
43: aload 0
getfield com.sun.crypto.provider.RSACipher.padding:Lsun/security/rsa/RSAPadding;
invokevirtual sun.security.rsa.RSAPadding.getMaxDataSize:()I
istore 9
start local 9 44: aload 0
iload 9
newarray 8
putfield com.sun.crypto.provider.RSACipher.buffer:[B
end local 9 45: goto 70
46: StackMap locals: int
StackMap stack:
aload 0
iload 7
newarray 8
putfield com.sun.crypto.provider.RSACipher.buffer:[B
end local 8 47: goto 70
48: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.crypto.provider.RSACipher.mode:I
iconst_3
if_icmpeq 49
aload 0
getfield com.sun.crypto.provider.RSACipher.mode:I
iconst_4
if_icmpne 52
49: StackMap locals:
StackMap stack:
new java.security.InvalidKeyException
dup
50: ldc "OAEP cannot be used to sign or verify signatures"
51: invokespecial java.security.InvalidKeyException.<init>:(Ljava/lang/String;)V
athrow
52: StackMap locals:
StackMap stack:
aload 4
ifnull 59
53: aload 4
instanceof javax.crypto.spec.OAEPParameterSpec
ifne 57
54: new java.security.InvalidAlgorithmParameterException
dup
55: ldc "Wrong Parameters for OAEP Padding"
56: invokespecial java.security.InvalidAlgorithmParameterException.<init>:(Ljava/lang/String;)V
athrow
57: StackMap locals:
StackMap stack:
aload 0
aload 4
putfield com.sun.crypto.provider.RSACipher.spec:Ljava/security/spec/AlgorithmParameterSpec;
58: goto 62
59: StackMap locals:
StackMap stack:
aload 0
new javax.crypto.spec.OAEPParameterSpec
dup
aload 0
getfield com.sun.crypto.provider.RSACipher.oaepHashAlgorithm:Ljava/lang/String;
ldc "MGF1"
60: getstatic java.security.spec.MGF1ParameterSpec.SHA1:Ljava/security/spec/MGF1ParameterSpec;
getstatic javax.crypto.spec.PSource$PSpecified.DEFAULT:Ljavax/crypto/spec/PSource$PSpecified;
invokespecial javax.crypto.spec.OAEPParameterSpec.<init>:(Ljava/lang/String;Ljava/lang/String;Ljava/security/spec/AlgorithmParameterSpec;Ljavax/crypto/spec/PSource;)V
61: putfield com.sun.crypto.provider.RSACipher.spec:Ljava/security/spec/AlgorithmParameterSpec;
62: StackMap locals:
StackMap stack:
aload 0
iconst_4
iload 7
63: aload 3
aload 0
getfield com.sun.crypto.provider.RSACipher.spec:Ljava/security/spec/AlgorithmParameterSpec;
checkcast javax.crypto.spec.OAEPParameterSpec
64: invokestatic sun.security.rsa.RSAPadding.getInstance:(IILjava/security/SecureRandom;Ljavax/crypto/spec/OAEPParameterSpec;)Lsun/security/rsa/RSAPadding;
putfield com.sun.crypto.provider.RSACipher.padding:Lsun/security/rsa/RSAPadding;
65: iload 5
ifeq 69
66: aload 0
getfield com.sun.crypto.provider.RSACipher.padding:Lsun/security/rsa/RSAPadding;
invokevirtual sun.security.rsa.RSAPadding.getMaxDataSize:()I
istore 8
start local 8 67: aload 0
iload 8
newarray 8
putfield com.sun.crypto.provider.RSACipher.buffer:[B
end local 8 68: goto 70
69: StackMap locals:
StackMap stack:
aload 0
iload 7
newarray 8
putfield com.sun.crypto.provider.RSACipher.buffer:[B
70: 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 71 0 this Lcom/sun/crypto/provider/RSACipher;
0 71 1 opmode I
0 71 2 key Ljava/security/Key;
0 71 3 random Ljava/security/SecureRandom;
0 71 4 params Ljava/security/spec/AlgorithmParameterSpec;
2 3 5 encrypt Z
4 5 5 encrypt Z
6 71 5 encrypt Z
7 71 6 rsaKey Ljava/security/interfaces/RSAKey;
20 71 7 n I
41 47 8 blockType I
44 45 9 k I
67 68 8 k I
Exceptions:
throws java.security.InvalidKeyException, java.security.InvalidAlgorithmParameterException
MethodParameters:
Name Flags
opmode
key
random
params
private void update(byte[], int, int);
descriptor: ([BII)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: iload 3
ifeq 1
aload 1
ifnonnull 2
1: StackMap locals:
StackMap stack:
return
2: StackMap locals:
StackMap stack:
iload 3
aload 0
getfield com.sun.crypto.provider.RSACipher.buffer:[B
arraylength
aload 0
getfield com.sun.crypto.provider.RSACipher.bufOfs:I
isub
if_icmple 5
3: aload 0
aload 0
getfield com.sun.crypto.provider.RSACipher.buffer:[B
arraylength
iconst_1
iadd
putfield com.sun.crypto.provider.RSACipher.bufOfs:I
4: return
5: StackMap locals:
StackMap stack:
aload 1
iload 2
aload 0
getfield com.sun.crypto.provider.RSACipher.buffer:[B
aload 0
getfield com.sun.crypto.provider.RSACipher.bufOfs:I
iload 3
invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
6: aload 0
dup
getfield com.sun.crypto.provider.RSACipher.bufOfs:I
iload 3
iadd
putfield com.sun.crypto.provider.RSACipher.bufOfs:I
7: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lcom/sun/crypto/provider/RSACipher;
0 8 1 in [B
0 8 2 inOfs I
0 8 3 inLen I
MethodParameters:
Name Flags
in
inOfs
inLen
private byte[] doFinal();
descriptor: ()[B
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=6, args_size=1
start local 0 0: aload 0
getfield com.sun.crypto.provider.RSACipher.bufOfs:I
aload 0
getfield com.sun.crypto.provider.RSACipher.buffer:[B
arraylength
if_icmple 4
1: new javax.crypto.IllegalBlockSizeException
dup
new java.lang.StringBuilder
dup
ldc "Data must not be longer than "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
2: aload 0
getfield com.sun.crypto.provider.RSACipher.buffer:[B
arraylength
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
ldc " bytes"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
3: invokespecial javax.crypto.IllegalBlockSizeException.<init>:(Ljava/lang/String;)V
athrow
4: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.crypto.provider.RSACipher.mode:I
tableswitch { // 1 - 4
1: 14
2: 18
3: 5
4: 9
default: 23
}
5: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.crypto.provider.RSACipher.padding:Lsun/security/rsa/RSAPadding;
aload 0
getfield com.sun.crypto.provider.RSACipher.buffer:[B
iconst_0
aload 0
getfield com.sun.crypto.provider.RSACipher.bufOfs:I
invokevirtual sun.security.rsa.RSAPadding.pad:([BII)[B
astore 1
start local 1 6: aload 1
aload 0
getfield com.sun.crypto.provider.RSACipher.privateKey:Ljava/security/interfaces/RSAPrivateKey;
iconst_1
invokestatic sun.security.rsa.RSACore.rsa:([BLjava/security/interfaces/RSAPrivateKey;Z)[B
astore 5
7: aload 0
iconst_0
putfield com.sun.crypto.provider.RSACipher.bufOfs:I
8: aload 5
areturn
end local 1 9: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.crypto.provider.RSACipher.buffer:[B
iconst_0
aload 0
getfield com.sun.crypto.provider.RSACipher.bufOfs:I
invokestatic sun.security.rsa.RSACore.convert:([BII)[B
astore 2
start local 2 10: aload 2
aload 0
getfield com.sun.crypto.provider.RSACipher.publicKey:Ljava/security/interfaces/RSAPublicKey;
invokestatic sun.security.rsa.RSACore.rsa:([BLjava/security/interfaces/RSAPublicKey;)[B
astore 1
start local 1 11: aload 0
getfield com.sun.crypto.provider.RSACipher.padding:Lsun/security/rsa/RSAPadding;
aload 1
invokevirtual sun.security.rsa.RSAPadding.unpad:([B)[B
astore 5
12: aload 0
iconst_0
putfield com.sun.crypto.provider.RSACipher.bufOfs:I
13: aload 5
areturn
end local 2 end local 1 14: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.crypto.provider.RSACipher.padding:Lsun/security/rsa/RSAPadding;
aload 0
getfield com.sun.crypto.provider.RSACipher.buffer:[B
iconst_0
aload 0
getfield com.sun.crypto.provider.RSACipher.bufOfs:I
invokevirtual sun.security.rsa.RSAPadding.pad:([BII)[B
astore 1
start local 1 15: aload 1
aload 0
getfield com.sun.crypto.provider.RSACipher.publicKey:Ljava/security/interfaces/RSAPublicKey;
invokestatic sun.security.rsa.RSACore.rsa:([BLjava/security/interfaces/RSAPublicKey;)[B
astore 5
16: aload 0
iconst_0
putfield com.sun.crypto.provider.RSACipher.bufOfs:I
17: aload 5
areturn
end local 1 18: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.crypto.provider.RSACipher.buffer:[B
iconst_0
aload 0
getfield com.sun.crypto.provider.RSACipher.bufOfs:I
invokestatic sun.security.rsa.RSACore.convert:([BII)[B
astore 3
start local 3 19: aload 3
aload 0
getfield com.sun.crypto.provider.RSACipher.privateKey:Ljava/security/interfaces/RSAPrivateKey;
iconst_0
invokestatic sun.security.rsa.RSACore.rsa:([BLjava/security/interfaces/RSAPrivateKey;Z)[B
astore 1
start local 1 20: aload 0
getfield com.sun.crypto.provider.RSACipher.padding:Lsun/security/rsa/RSAPadding;
aload 1
invokevirtual sun.security.rsa.RSAPadding.unpad:([B)[B
astore 5
21: aload 0
iconst_0
putfield com.sun.crypto.provider.RSACipher.bufOfs:I
22: aload 5
areturn
end local 3 end local 1 23: StackMap locals:
StackMap stack:
new java.lang.AssertionError
dup
ldc "Internal error"
invokespecial java.lang.AssertionError.<init>:(Ljava/lang/Object;)V
athrow
24: StackMap locals:
StackMap stack: java.lang.Throwable
astore 4
25: aload 0
iconst_0
putfield com.sun.crypto.provider.RSACipher.bufOfs:I
26: aload 4
athrow
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 27 0 this Lcom/sun/crypto/provider/RSACipher;
6 9 1 data [B
11 14 1 data [B
15 18 1 data [B
20 23 1 data [B
10 14 2 verifyBuffer [B
19 23 3 decryptBuffer [B
Exception table:
from to target type
4 7 24 any
9 12 24 any
14 16 24 any
18 21 24 any
23 24 24 any
Exceptions:
throws javax.crypto.BadPaddingException, javax.crypto.IllegalBlockSizeException
protected byte[] engineUpdate(byte[], int, int);
descriptor: ([BII)[B
flags: (0x0004) ACC_PROTECTED
Code:
stack=4, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
aload 1
iload 2
iload 3
invokevirtual com.sun.crypto.provider.RSACipher.update:([BII)V
1: getstatic com.sun.crypto.provider.RSACipher.B0:[B
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/sun/crypto/provider/RSACipher;
0 2 1 in [B
0 2 2 inOfs I
0 2 3 inLen I
MethodParameters:
Name Flags
in
inOfs
inLen
protected int engineUpdate(byte[], int, int, byte[], int);
descriptor: ([BII[BI)I
flags: (0x0004) ACC_PROTECTED
Code:
stack=4, 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
aload 1
iload 2
iload 3
invokevirtual com.sun.crypto.provider.RSACipher.update:([BII)V
1: iconst_0
ireturn
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 2 0 this Lcom/sun/crypto/provider/RSACipher;
0 2 1 in [B
0 2 2 inOfs I
0 2 3 inLen I
0 2 4 out [B
0 2 5 outOfs I
MethodParameters:
Name Flags
in
inOfs
inLen
out
outOfs
protected byte[] engineDoFinal(byte[], int, int);
descriptor: ([BII)[B
flags: (0x0004) ACC_PROTECTED
Code:
stack=4, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
aload 1
iload 2
iload 3
invokevirtual com.sun.crypto.provider.RSACipher.update:([BII)V
1: aload 0
invokevirtual com.sun.crypto.provider.RSACipher.doFinal:()[B
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/sun/crypto/provider/RSACipher;
0 2 1 in [B
0 2 2 inOfs I
0 2 3 inLen I
Exceptions:
throws javax.crypto.BadPaddingException, javax.crypto.IllegalBlockSizeException
MethodParameters:
Name Flags
in
inOfs
inLen
protected int engineDoFinal(byte[], int, int, byte[], int);
descriptor: ([BII[BI)I
flags: (0x0004) ACC_PROTECTED
Code:
stack=5, locals=8, args_size=6
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 0: aload 0
getfield com.sun.crypto.provider.RSACipher.outputSize:I
aload 4
arraylength
iload 5
isub
if_icmple 4
1: new javax.crypto.ShortBufferException
dup
2: new java.lang.StringBuilder
dup
ldc "Need "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
getfield com.sun.crypto.provider.RSACipher.outputSize:I
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
ldc " bytes for output"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
3: invokespecial javax.crypto.ShortBufferException.<init>:(Ljava/lang/String;)V
athrow
4: StackMap locals:
StackMap stack:
aload 0
aload 1
iload 2
iload 3
invokevirtual com.sun.crypto.provider.RSACipher.update:([BII)V
5: aload 0
invokevirtual com.sun.crypto.provider.RSACipher.doFinal:()[B
astore 6
start local 6 6: aload 6
arraylength
istore 7
start local 7 7: aload 6
iconst_0
aload 4
iload 5
iload 7
invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
8: iload 7
ireturn
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 9 0 this Lcom/sun/crypto/provider/RSACipher;
0 9 1 in [B
0 9 2 inOfs I
0 9 3 inLen I
0 9 4 out [B
0 9 5 outOfs I
6 9 6 result [B
7 9 7 n I
Exceptions:
throws javax.crypto.ShortBufferException, javax.crypto.BadPaddingException, javax.crypto.IllegalBlockSizeException
MethodParameters:
Name Flags
in
inOfs
inLen
out
outOfs
protected byte[] engineWrap(java.security.Key);
descriptor: (Ljava/security/Key;)[B
flags: (0x0004) ACC_PROTECTED
Code:
stack=4, locals=4, args_size=2
start local 0 start local 1 0: aload 1
invokeinterface java.security.Key.getEncoded:()[B
astore 2
start local 2 1: aload 2
ifnull 2
aload 2
arraylength
ifne 3
2: StackMap locals: byte[]
StackMap stack:
new java.security.InvalidKeyException
dup
ldc "Could not obtain encoded key"
invokespecial java.security.InvalidKeyException.<init>:(Ljava/lang/String;)V
athrow
3: StackMap locals:
StackMap stack:
aload 2
arraylength
aload 0
getfield com.sun.crypto.provider.RSACipher.buffer:[B
arraylength
if_icmple 5
4: new java.security.InvalidKeyException
dup
ldc "Key is too long for wrapping"
invokespecial java.security.InvalidKeyException.<init>:(Ljava/lang/String;)V
athrow
5: StackMap locals:
StackMap stack:
aload 0
aload 2
iconst_0
aload 2
arraylength
invokevirtual com.sun.crypto.provider.RSACipher.update:([BII)V
6: aload 0
invokevirtual com.sun.crypto.provider.RSACipher.doFinal:()[B
7: areturn
8: StackMap locals:
StackMap stack: javax.crypto.BadPaddingException
astore 3
start local 3 9: new java.security.InvalidKeyException
dup
ldc "Wrapping failed"
aload 3
invokespecial java.security.InvalidKeyException.<init>:(Ljava/lang/String;Ljava/lang/Throwable;)V
athrow
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lcom/sun/crypto/provider/RSACipher;
0 10 1 key Ljava/security/Key;
1 10 2 encoded [B
9 10 3 e Ljavax/crypto/BadPaddingException;
Exception table:
from to target type
6 7 8 Class javax.crypto.BadPaddingException
Exceptions:
throws java.security.InvalidKeyException, javax.crypto.IllegalBlockSizeException
MethodParameters:
Name Flags
key
protected java.security.Key engineUnwrap(byte[], java.lang.String, int);
descriptor: ([BLjava/lang/String;I)Ljava/security/Key;
flags: (0x0004) ACC_PROTECTED
Code:
stack=5, locals=8, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 1
arraylength
aload 0
getfield com.sun.crypto.provider.RSACipher.buffer:[B
arraylength
if_icmple 2
1: new java.security.InvalidKeyException
dup
ldc "Key is too long for unwrapping"
invokespecial java.security.InvalidKeyException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
aload 2
ldc "TlsRsaPremasterSecret"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
3: istore 4
start local 4 4: aconst_null
astore 5
start local 5 5: aconst_null
astore 6
start local 6 6: aload 0
aload 1
iconst_0
aload 1
arraylength
invokevirtual com.sun.crypto.provider.RSACipher.update:([BII)V
7: aload 0
invokevirtual com.sun.crypto.provider.RSACipher.doFinal:()[B
astore 6
8: goto 16
StackMap locals: com.sun.crypto.provider.RSACipher byte[] java.lang.String int int java.lang.Exception byte[]
StackMap stack: javax.crypto.BadPaddingException
9: astore 7
start local 7 10: iload 4
ifeq 13
11: aload 7
astore 5
12: goto 16
13: StackMap locals: javax.crypto.BadPaddingException
StackMap stack:
new java.security.InvalidKeyException
dup
ldc "Unwrapping failed"
aload 7
invokespecial java.security.InvalidKeyException.<init>:(Ljava/lang/String;Ljava/lang/Throwable;)V
athrow
end local 7 14: StackMap locals: com.sun.crypto.provider.RSACipher byte[] java.lang.String int int java.lang.Exception byte[]
StackMap stack: javax.crypto.IllegalBlockSizeException
astore 7
start local 7 15: new java.security.InvalidKeyException
dup
ldc "Unwrapping failed"
aload 7
invokespecial java.security.InvalidKeyException.<init>:(Ljava/lang/String;Ljava/lang/Throwable;)V
athrow
end local 7 16: StackMap locals:
StackMap stack:
iload 4
ifeq 26
17: aload 0
getfield com.sun.crypto.provider.RSACipher.spec:Ljava/security/spec/AlgorithmParameterSpec;
instanceof sun.security.internal.spec.TlsRsaPremasterSecretParameterSpec
ifne 21
18: new java.lang.IllegalStateException
dup
19: ldc "No TlsRsaPremasterSecretParameterSpec specified"
20: invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
athrow
21: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.crypto.provider.RSACipher.spec:Ljava/security/spec/AlgorithmParameterSpec;
checkcast sun.security.internal.spec.TlsRsaPremasterSecretParameterSpec
invokevirtual sun.security.internal.spec.TlsRsaPremasterSecretParameterSpec.getClientVersion:()I
22: aload 0
getfield com.sun.crypto.provider.RSACipher.spec:Ljava/security/spec/AlgorithmParameterSpec;
checkcast sun.security.internal.spec.TlsRsaPremasterSecretParameterSpec
invokevirtual sun.security.internal.spec.TlsRsaPremasterSecretParameterSpec.getServerVersion:()I
23: aload 0
getfield com.sun.crypto.provider.RSACipher.random:Ljava/security/SecureRandom;
aload 6
aload 5
ifnull 24
iconst_1
goto 25
StackMap locals: com.sun.crypto.provider.RSACipher byte[] java.lang.String int int java.lang.Exception byte[]
StackMap stack: int int java.security.SecureRandom byte[]
24: iconst_0
25: StackMap locals: com.sun.crypto.provider.RSACipher byte[] java.lang.String int int java.lang.Exception byte[]
StackMap stack: int int java.security.SecureRandom byte[] int
invokestatic sun.security.util.KeyUtil.checkTlsPreMasterSecretKey:(IILjava/security/SecureRandom;[BZ)[B
astore 6
26: StackMap locals:
StackMap stack:
aload 6
aload 2
iload 3
invokestatic com.sun.crypto.provider.ConstructKeys.constructKey:([BLjava/lang/String;I)Ljava/security/Key;
areturn
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 27 0 this Lcom/sun/crypto/provider/RSACipher;
0 27 1 wrappedKey [B
0 27 2 algorithm Ljava/lang/String;
0 27 3 type I
4 27 4 isTlsRsaPremasterSecret Z
5 27 5 failover Ljava/lang/Exception;
6 27 6 encoded [B
10 14 7 e Ljavax/crypto/BadPaddingException;
15 16 7 e Ljavax/crypto/IllegalBlockSizeException;
Exception table:
from to target type
7 8 9 Class javax.crypto.BadPaddingException
7 8 14 Class javax.crypto.IllegalBlockSizeException
Exceptions:
throws java.security.InvalidKeyException, java.security.NoSuchAlgorithmException
MethodParameters:
Name Flags
wrappedKey
algorithm
type
protected int engineGetKeySize(java.security.Key);
descriptor: (Ljava/security/Key;)I
flags: (0x0004) ACC_PROTECTED
Code:
stack=1, locals=3, args_size=2
start local 0 start local 1 0: aload 1
invokestatic sun.security.rsa.RSAKeyFactory.toRSAKey:(Ljava/security/Key;)Ljava/security/interfaces/RSAKey;
astore 2
start local 2 1: aload 2
invokeinterface java.security.interfaces.RSAKey.getModulus:()Ljava/math/BigInteger;
invokevirtual java.math.BigInteger.bitLength:()I
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/sun/crypto/provider/RSACipher;
0 2 1 key Ljava/security/Key;
1 2 2 rsaKey Ljava/security/interfaces/RSAKey;
Exceptions:
throws java.security.InvalidKeyException
MethodParameters:
Name Flags
key
}
SourceFile: "RSACipher.java"
InnerClasses:
public Service = java.security.Provider$Service of java.security.Provider
public final PSpecified = javax.crypto.spec.PSource$PSpecified of javax.crypto.spec.PSource