abstract class com.sun.crypto.provider.PBES2Parameters extends java.security.AlgorithmParametersSpi
minor version: 0
major version: 59
flags: flags: (0x0420) ACC_SUPER, ACC_ABSTRACT
this_class: com.sun.crypto.provider.PBES2Parameters
super_class: java.security.AlgorithmParametersSpi
{
private static sun.security.util.ObjectIdentifier pkcs5PBKDF2_OID;
descriptor: Lsun/security/util/ObjectIdentifier;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
private static sun.security.util.ObjectIdentifier pkcs5PBES2_OID;
descriptor: Lsun/security/util/ObjectIdentifier;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
private static sun.security.util.ObjectIdentifier aes128CBC_OID;
descriptor: Lsun/security/util/ObjectIdentifier;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
private static sun.security.util.ObjectIdentifier aes192CBC_OID;
descriptor: Lsun/security/util/ObjectIdentifier;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
private static sun.security.util.ObjectIdentifier aes256CBC_OID;
descriptor: Lsun/security/util/ObjectIdentifier;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
private java.lang.String pbes2AlgorithmName;
descriptor: Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
private byte[] salt;
descriptor: [B
flags: (0x0002) ACC_PRIVATE
private int iCount;
descriptor: I
flags: (0x0002) ACC_PRIVATE
private java.security.spec.AlgorithmParameterSpec cipherParam;
descriptor: Ljava/security/spec/AlgorithmParameterSpec;
flags: (0x0002) ACC_PRIVATE
private sun.security.util.ObjectIdentifier kdfAlgo_OID;
descriptor: Lsun/security/util/ObjectIdentifier;
flags: (0x0002) ACC_PRIVATE
private sun.security.util.ObjectIdentifier cipherAlgo_OID;
descriptor: Lsun/security/util/ObjectIdentifier;
flags: (0x0002) ACC_PRIVATE
private int keysize;
descriptor: I
flags: (0x0002) ACC_PRIVATE
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: getstatic sun.security.util.KnownOIDs.PBKDF2WithHmacSHA1:Lsun/security/util/KnownOIDs;
invokestatic sun.security.util.ObjectIdentifier.of:(Lsun/security/util/KnownOIDs;)Lsun/security/util/ObjectIdentifier;
1: putstatic com.sun.crypto.provider.PBES2Parameters.pkcs5PBKDF2_OID:Lsun/security/util/ObjectIdentifier;
2: getstatic sun.security.util.KnownOIDs.PBES2:Lsun/security/util/KnownOIDs;
invokestatic sun.security.util.ObjectIdentifier.of:(Lsun/security/util/KnownOIDs;)Lsun/security/util/ObjectIdentifier;
3: putstatic com.sun.crypto.provider.PBES2Parameters.pkcs5PBES2_OID:Lsun/security/util/ObjectIdentifier;
4: getstatic sun.security.util.KnownOIDs.AES_128$CBC$NoPadding:Lsun/security/util/KnownOIDs;
invokestatic sun.security.util.ObjectIdentifier.of:(Lsun/security/util/KnownOIDs;)Lsun/security/util/ObjectIdentifier;
5: putstatic com.sun.crypto.provider.PBES2Parameters.aes128CBC_OID:Lsun/security/util/ObjectIdentifier;
6: getstatic sun.security.util.KnownOIDs.AES_192$CBC$NoPadding:Lsun/security/util/KnownOIDs;
invokestatic sun.security.util.ObjectIdentifier.of:(Lsun/security/util/KnownOIDs;)Lsun/security/util/ObjectIdentifier;
7: putstatic com.sun.crypto.provider.PBES2Parameters.aes192CBC_OID:Lsun/security/util/ObjectIdentifier;
8: getstatic sun.security.util.KnownOIDs.AES_256$CBC$NoPadding:Lsun/security/util/KnownOIDs;
invokestatic sun.security.util.ObjectIdentifier.of:(Lsun/security/util/KnownOIDs;)Lsun/security/util/ObjectIdentifier;
9: putstatic com.sun.crypto.provider.PBES2Parameters.aes256CBC_OID:Lsun/security/util/ObjectIdentifier;
10: return
LocalVariableTable:
Start End Slot Name Signature
void <init>();
descriptor: ()V
flags: (0x0000)
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.security.AlgorithmParametersSpi.<init>:()V
1: aload 0
aconst_null
putfield com.sun.crypto.provider.PBES2Parameters.pbes2AlgorithmName:Ljava/lang/String;
2: aload 0
aconst_null
putfield com.sun.crypto.provider.PBES2Parameters.salt:[B
3: aload 0
iconst_0
putfield com.sun.crypto.provider.PBES2Parameters.iCount:I
4: aload 0
aconst_null
putfield com.sun.crypto.provider.PBES2Parameters.cipherParam:Ljava/security/spec/AlgorithmParameterSpec;
5: aload 0
6: getstatic sun.security.util.KnownOIDs.HmacSHA1:Lsun/security/util/KnownOIDs;
invokestatic sun.security.util.ObjectIdentifier.of:(Lsun/security/util/KnownOIDs;)Lsun/security/util/ObjectIdentifier;
putfield com.sun.crypto.provider.PBES2Parameters.kdfAlgo_OID:Lsun/security/util/ObjectIdentifier;
7: aload 0
aconst_null
putfield com.sun.crypto.provider.PBES2Parameters.cipherAlgo_OID:Lsun/security/util/ObjectIdentifier;
8: aload 0
iconst_m1
putfield com.sun.crypto.provider.PBES2Parameters.keysize:I
9: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lcom/sun/crypto/provider/PBES2Parameters;
void <init>(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0000)
Code:
stack=5, locals=7, args_size=2
start local 0 start local 1 0: aload 0
invokespecial java.security.AlgorithmParametersSpi.<init>:()V
1: aload 0
aconst_null
putfield com.sun.crypto.provider.PBES2Parameters.pbes2AlgorithmName:Ljava/lang/String;
2: aload 0
aconst_null
putfield com.sun.crypto.provider.PBES2Parameters.salt:[B
3: aload 0
iconst_0
putfield com.sun.crypto.provider.PBES2Parameters.iCount:I
4: aload 0
aconst_null
putfield com.sun.crypto.provider.PBES2Parameters.cipherParam:Ljava/security/spec/AlgorithmParameterSpec;
5: aload 0
6: getstatic sun.security.util.KnownOIDs.HmacSHA1:Lsun/security/util/KnownOIDs;
invokestatic sun.security.util.ObjectIdentifier.of:(Lsun/security/util/KnownOIDs;)Lsun/security/util/ObjectIdentifier;
putfield com.sun.crypto.provider.PBES2Parameters.kdfAlgo_OID:Lsun/security/util/ObjectIdentifier;
7: aload 0
aconst_null
putfield com.sun.crypto.provider.PBES2Parameters.cipherAlgo_OID:Lsun/security/util/ObjectIdentifier;
8: aload 0
iconst_m1
putfield com.sun.crypto.provider.PBES2Parameters.keysize:I
9: aconst_null
astore 3
start local 3 10: aconst_null
astore 4
start local 4 11: aload 0
aload 1
putfield com.sun.crypto.provider.PBES2Parameters.pbes2AlgorithmName:Ljava/lang/String;
12: aload 1
ldc "PBEWith"
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifeq 32
13: aload 1
ldc "And"
bipush 8
invokevirtual java.lang.String.indexOf:(Ljava/lang/String;I)I
dup
istore 2
start local 2 14: ifle 32
15: aload 1
bipush 7
iload 2
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
astore 3
16: aload 1
iload 2
iconst_3
iadd
invokevirtual java.lang.String.substring:(I)Ljava/lang/String;
astore 4
17: aload 4
bipush 95
invokevirtual java.lang.String.indexOf:(I)I
dup
istore 5
start local 5 18: ifle 35
19: aload 4
bipush 47
iload 5
iconst_1
iadd
invokevirtual java.lang.String.indexOf:(II)I
dup
istore 6
start local 6 20: ifle 27
21: aload 0
22: aload 4
iload 5
iconst_1
iadd
23: iload 6
24: invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
invokestatic java.lang.Integer.parseInt:(Ljava/lang/String;)I
25: putfield com.sun.crypto.provider.PBES2Parameters.keysize:I
26: goto 30
27: StackMap locals: com.sun.crypto.provider.PBES2Parameters java.lang.String int java.lang.String java.lang.String int int
StackMap stack:
aload 0
28: aload 4
iload 5
iconst_1
iadd
invokevirtual java.lang.String.substring:(I)Ljava/lang/String;
invokestatic java.lang.Integer.parseInt:(Ljava/lang/String;)I
29: putfield com.sun.crypto.provider.PBES2Parameters.keysize:I
30: StackMap locals:
StackMap stack:
aload 4
iconst_0
iload 5
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
astore 4
end local 6 end local 5 31: goto 35
end local 2 32: StackMap locals: com.sun.crypto.provider.PBES2Parameters java.lang.String top java.lang.String java.lang.String
StackMap stack:
new java.security.NoSuchAlgorithmException
dup
new java.lang.StringBuilder
dup
ldc "No crypto implementation for "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
33: aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
34: invokespecial java.security.NoSuchAlgorithmException.<init>:(Ljava/lang/String;)V
athrow
start local 2 35: StackMap locals: com.sun.crypto.provider.PBES2Parameters java.lang.String int java.lang.String java.lang.String
StackMap stack:
aload 3
dup
astore 5
invokevirtual java.lang.String.hashCode:()I
lookupswitch { // 5
954016943: 36
954017038: 37
954018090: 38
954019793: 39
1752946092: 40
default: 43
}
StackMap locals: java.lang.String
StackMap stack:
36: aload 5
ldc "HmacSHA224"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 41
goto 43
StackMap locals:
StackMap stack:
37: aload 5
ldc "HmacSHA256"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 41
goto 43
StackMap locals:
StackMap stack:
38: aload 5
ldc "HmacSHA384"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 41
goto 43
StackMap locals:
StackMap stack:
39: aload 5
ldc "HmacSHA512"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 41
goto 43
StackMap locals:
StackMap stack:
40: aload 5
ldc "HmacSHA1"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 41
goto 43
41: StackMap locals:
StackMap stack:
aload 0
aload 3
invokestatic sun.security.util.KnownOIDs.findMatch:(Ljava/lang/String;)Lsun/security/util/KnownOIDs;
invokestatic sun.security.util.ObjectIdentifier.of:(Lsun/security/util/KnownOIDs;)Lsun/security/util/ObjectIdentifier;
putfield com.sun.crypto.provider.PBES2Parameters.kdfAlgo_OID:Lsun/security/util/ObjectIdentifier;
42: goto 46
43: StackMap locals:
StackMap stack:
new java.security.NoSuchAlgorithmException
dup
44: new java.lang.StringBuilder
dup
ldc "No crypto implementation for "
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;
45: invokespecial java.security.NoSuchAlgorithmException.<init>:(Ljava/lang/String;)V
athrow
46: StackMap locals:
StackMap stack:
aload 4
ldc "AES"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 59
47: aload 0
aload 0
getfield com.sun.crypto.provider.PBES2Parameters.keysize:I
putfield com.sun.crypto.provider.PBES2Parameters.keysize:I
48: aload 0
getfield com.sun.crypto.provider.PBES2Parameters.keysize:I
lookupswitch { // 2
128: 49
256: 51
default: 53
}
49: StackMap locals:
StackMap stack:
aload 0
getstatic com.sun.crypto.provider.PBES2Parameters.aes128CBC_OID:Lsun/security/util/ObjectIdentifier;
putfield com.sun.crypto.provider.PBES2Parameters.cipherAlgo_OID:Lsun/security/util/ObjectIdentifier;
50: goto 62
51: StackMap locals:
StackMap stack:
aload 0
getstatic com.sun.crypto.provider.PBES2Parameters.aes256CBC_OID:Lsun/security/util/ObjectIdentifier;
putfield com.sun.crypto.provider.PBES2Parameters.cipherAlgo_OID:Lsun/security/util/ObjectIdentifier;
52: goto 62
53: StackMap locals:
StackMap stack:
new java.security.NoSuchAlgorithmException
dup
54: new java.lang.StringBuilder
dup
ldc "No Cipher implementation for "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
getfield com.sun.crypto.provider.PBES2Parameters.keysize:I
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
ldc "-bit "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
55: aload 4
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
56: invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
57: invokespecial java.security.NoSuchAlgorithmException.<init>:(Ljava/lang/String;)V
athrow
58: StackMap locals:
StackMap stack:
goto 62
59: StackMap locals:
StackMap stack:
new java.security.NoSuchAlgorithmException
dup
new java.lang.StringBuilder
dup
ldc "No Cipher implementation for "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
60: aload 4
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
61: invokespecial java.security.NoSuchAlgorithmException.<init>:(Ljava/lang/String;)V
athrow
62: 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 63 0 this Lcom/sun/crypto/provider/PBES2Parameters;
0 63 1 pbes2AlgorithmName Ljava/lang/String;
14 32 2 and I
35 63 2 and I
10 63 3 kdfAlgo Ljava/lang/String;
11 63 4 cipherAlgo Ljava/lang/String;
18 31 5 underscore I
20 31 6 slash I
Exceptions:
throws java.security.NoSuchAlgorithmException
MethodParameters:
Name Flags
pbes2AlgorithmName
protected void engineInit(java.security.spec.AlgorithmParameterSpec);
descriptor: (Ljava/security/spec/AlgorithmParameterSpec;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 1
instanceof javax.crypto.spec.PBEParameterSpec
ifne 4
1: new java.security.spec.InvalidParameterSpecException
dup
2: ldc "Inappropriate parameter specification"
3: invokespecial java.security.spec.InvalidParameterSpecException.<init>:(Ljava/lang/String;)V
athrow
4: StackMap locals:
StackMap stack:
aload 0
aload 1
checkcast javax.crypto.spec.PBEParameterSpec
invokevirtual javax.crypto.spec.PBEParameterSpec.getSalt:()[B
invokevirtual byte[].clone:()Ljava/lang/Object;
checkcast byte[]
putfield com.sun.crypto.provider.PBES2Parameters.salt:[B
5: aload 0
aload 1
checkcast javax.crypto.spec.PBEParameterSpec
invokevirtual javax.crypto.spec.PBEParameterSpec.getIterationCount:()I
putfield com.sun.crypto.provider.PBES2Parameters.iCount:I
6: aload 0
aload 1
checkcast javax.crypto.spec.PBEParameterSpec
invokevirtual javax.crypto.spec.PBEParameterSpec.getParameterSpec:()Ljava/security/spec/AlgorithmParameterSpec;
putfield com.sun.crypto.provider.PBES2Parameters.cipherParam:Ljava/security/spec/AlgorithmParameterSpec;
7: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lcom/sun/crypto/provider/PBES2Parameters;
0 8 1 paramSpec Ljava/security/spec/AlgorithmParameterSpec;
Exceptions:
throws java.security.spec.InvalidParameterSpecException
MethodParameters:
Name Flags
paramSpec
protected void engineInit(byte[]);
descriptor: ([B)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=3, locals=6, args_size=2
start local 0 start local 1 0: aconst_null
astore 2
start local 2 1: aconst_null
astore 3
start local 3 2: new sun.security.util.DerValue
dup
aload 1
invokespecial sun.security.util.DerValue.<init>:([B)V
astore 4
start local 4 3: aload 4
getfield sun.security.util.DerValue.tag:B
bipush 48
if_icmpeq 5
4: new java.io.IOException
dup
ldc "PBE parameter parsing error: not an ASN.1 SEQUENCE tag"
invokespecial java.io.IOException.<init>:(Ljava/lang/String;)V
athrow
5: StackMap locals: java.lang.String java.lang.String sun.security.util.DerValue
StackMap stack:
aload 4
getfield sun.security.util.DerValue.data:Lsun/security/util/DerInputStream;
invokevirtual sun.security.util.DerInputStream.getDerValue:()Lsun/security/util/DerValue;
astore 5
start local 5 6: aload 5
invokevirtual sun.security.util.DerValue.getTag:()B
bipush 6
if_icmpne 9
7: aload 4
getfield sun.security.util.DerValue.data:Lsun/security/util/DerInputStream;
invokevirtual sun.security.util.DerInputStream.getDerValue:()Lsun/security/util/DerValue;
astore 4
8: aload 4
getfield sun.security.util.DerValue.data:Lsun/security/util/DerInputStream;
invokevirtual sun.security.util.DerInputStream.getDerValue:()Lsun/security/util/DerValue;
astore 5
9: StackMap locals: sun.security.util.DerValue
StackMap stack:
aload 0
aload 5
invokevirtual com.sun.crypto.provider.PBES2Parameters.parseKDF:(Lsun/security/util/DerValue;)Ljava/lang/String;
astore 2
10: aload 4
getfield sun.security.util.DerValue.tag:B
bipush 48
if_icmpeq 12
11: new java.io.IOException
dup
ldc "PBE parameter parsing error: not an ASN.1 SEQUENCE tag"
invokespecial java.io.IOException.<init>:(Ljava/lang/String;)V
athrow
12: StackMap locals:
StackMap stack:
aload 0
aload 4
getfield sun.security.util.DerValue.data:Lsun/security/util/DerInputStream;
invokevirtual sun.security.util.DerInputStream.getDerValue:()Lsun/security/util/DerValue;
invokevirtual com.sun.crypto.provider.PBES2Parameters.parseES:(Lsun/security/util/DerValue;)Ljava/lang/String;
astore 3
13: aload 0
new java.lang.StringBuilder
dup
invokespecial java.lang.StringBuilder.<init>:()V
ldc "PBEWith"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
14: aload 2
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc "And"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 3
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
15: putfield com.sun.crypto.provider.PBES2Parameters.pbes2AlgorithmName:Ljava/lang/String;
16: 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 17 0 this Lcom/sun/crypto/provider/PBES2Parameters;
0 17 1 encoded [B
1 17 2 kdfAlgo Ljava/lang/String;
2 17 3 cipherAlgo Ljava/lang/String;
3 17 4 pBES2_params Lsun/security/util/DerValue;
6 17 5 kdf Lsun/security/util/DerValue;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
encoded
private java.lang.String parseKDF(sun.security.util.DerValue);
descriptor: (Lsun/security/util/DerValue;)Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=8, args_size=2
start local 0 start local 1 0: getstatic com.sun.crypto.provider.PBES2Parameters.pkcs5PBKDF2_OID:Lsun/security/util/ObjectIdentifier;
aload 1
getfield sun.security.util.DerValue.data:Lsun/security/util/DerInputStream;
invokevirtual sun.security.util.DerInputStream.getOID:()Lsun/security/util/ObjectIdentifier;
invokevirtual sun.security.util.ObjectIdentifier.equals:(Ljava/lang/Object;)Z
ifne 2
1: new java.io.IOException
dup
ldc "PBE parameter parsing error: expecting the object identifier for PBKDF2"
invokespecial java.io.IOException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
aload 1
getfield sun.security.util.DerValue.tag:B
bipush 48
if_icmpeq 4
3: new java.io.IOException
dup
ldc "PBE parameter parsing error: not an ASN.1 SEQUENCE tag"
invokespecial java.io.IOException.<init>:(Ljava/lang/String;)V
athrow
4: StackMap locals:
StackMap stack:
aload 1
getfield sun.security.util.DerValue.data:Lsun/security/util/DerInputStream;
invokevirtual sun.security.util.DerInputStream.getDerValue:()Lsun/security/util/DerValue;
astore 2
start local 2 5: aload 2
getfield sun.security.util.DerValue.tag:B
bipush 48
if_icmpeq 7
6: new java.io.IOException
dup
ldc "PBE parameter parsing error: not an ASN.1 SEQUENCE tag"
invokespecial java.io.IOException.<init>:(Ljava/lang/String;)V
athrow
7: StackMap locals: sun.security.util.DerValue
StackMap stack:
aload 2
getfield sun.security.util.DerValue.data:Lsun/security/util/DerInputStream;
invokevirtual sun.security.util.DerInputStream.getDerValue:()Lsun/security/util/DerValue;
astore 3
start local 3 8: aload 3
getfield sun.security.util.DerValue.tag:B
iconst_4
if_icmpne 11
9: aload 0
aload 3
invokevirtual sun.security.util.DerValue.getOctetString:()[B
putfield com.sun.crypto.provider.PBES2Parameters.salt:[B
10: goto 12
11: StackMap locals: sun.security.util.DerValue
StackMap stack:
new java.io.IOException
dup
ldc "PBE parameter parsing error: not an ASN.1 OCTET STRING tag"
invokespecial java.io.IOException.<init>:(Ljava/lang/String;)V
athrow
12: StackMap locals:
StackMap stack:
aload 0
aload 2
getfield sun.security.util.DerValue.data:Lsun/security/util/DerInputStream;
invokevirtual sun.security.util.DerInputStream.getInteger:()I
putfield com.sun.crypto.provider.PBES2Parameters.iCount:I
13: aconst_null
astore 4
start local 4 14: aload 2
getfield sun.security.util.DerValue.data:Lsun/security/util/DerInputStream;
invokevirtual sun.security.util.DerInputStream.available:()I
ifle 20
15: aload 2
getfield sun.security.util.DerValue.data:Lsun/security/util/DerInputStream;
invokevirtual sun.security.util.DerInputStream.getDerValue:()Lsun/security/util/DerValue;
astore 5
start local 5 16: aload 5
getfield sun.security.util.DerValue.tag:B
iconst_2
if_icmpne 19
17: aload 0
aload 5
invokevirtual sun.security.util.DerValue.getInteger:()I
bipush 8
imul
putfield com.sun.crypto.provider.PBES2Parameters.keysize:I
18: goto 20
19: StackMap locals: sun.security.util.DerValue sun.security.util.DerValue
StackMap stack:
aload 5
astore 4
end local 5 20: StackMap locals:
StackMap stack:
ldc "HmacSHA1"
astore 5
start local 5 21: aload 4
ifnonnull 24
22: aload 2
getfield sun.security.util.DerValue.data:Lsun/security/util/DerInputStream;
invokevirtual sun.security.util.DerInputStream.available:()I
ifle 24
23: aload 2
getfield sun.security.util.DerValue.data:Lsun/security/util/DerInputStream;
invokevirtual sun.security.util.DerInputStream.getDerValue:()Lsun/security/util/DerValue;
astore 4
24: StackMap locals: java.lang.String
StackMap stack:
aload 4
ifnull 38
25: aload 0
aload 4
getfield sun.security.util.DerValue.data:Lsun/security/util/DerInputStream;
invokevirtual sun.security.util.DerInputStream.getOID:()Lsun/security/util/ObjectIdentifier;
putfield com.sun.crypto.provider.PBES2Parameters.kdfAlgo_OID:Lsun/security/util/ObjectIdentifier;
26: aload 0
getfield com.sun.crypto.provider.PBES2Parameters.kdfAlgo_OID:Lsun/security/util/ObjectIdentifier;
invokevirtual sun.security.util.ObjectIdentifier.toString:()Ljava/lang/String;
invokestatic sun.security.util.KnownOIDs.findMatch:(Ljava/lang/String;)Lsun/security/util/KnownOIDs;
astore 6
start local 6 27: aload 6
ifnull 32
aload 6
invokevirtual sun.security.util.KnownOIDs.stdName:()Ljava/lang/String;
ldc "HmacSHA1"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 33
28: aload 6
invokevirtual sun.security.util.KnownOIDs.stdName:()Ljava/lang/String;
ldc "HmacSHA224"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 33
29: aload 6
invokevirtual sun.security.util.KnownOIDs.stdName:()Ljava/lang/String;
ldc "HmacSHA256"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 33
30: aload 6
invokevirtual sun.security.util.KnownOIDs.stdName:()Ljava/lang/String;
ldc "HmacSHA384"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 33
31: aload 6
invokevirtual sun.security.util.KnownOIDs.stdName:()Ljava/lang/String;
ldc "HmacSHA512"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 33
32: StackMap locals: sun.security.util.KnownOIDs
StackMap stack:
new java.io.IOException
dup
ldc "PBE parameter parsing error: expecting the object identifier for a HmacSHA key derivation function"
invokespecial java.io.IOException.<init>:(Ljava/lang/String;)V
athrow
33: StackMap locals:
StackMap stack:
aload 6
invokevirtual sun.security.util.KnownOIDs.stdName:()Ljava/lang/String;
astore 5
34: aload 4
getfield sun.security.util.DerValue.data:Lsun/security/util/DerInputStream;
invokevirtual sun.security.util.DerInputStream.available:()I
ifeq 38
35: aload 4
getfield sun.security.util.DerValue.data:Lsun/security/util/DerInputStream;
invokevirtual sun.security.util.DerInputStream.getDerValue:()Lsun/security/util/DerValue;
astore 7
start local 7 36: aload 7
getfield sun.security.util.DerValue.tag:B
iconst_5
if_icmpeq 38
37: new java.io.IOException
dup
ldc "PBE parameter parsing error: not an ASN.1 NULL tag"
invokespecial java.io.IOException.<init>:(Ljava/lang/String;)V
athrow
end local 7 end local 6 38: StackMap locals:
StackMap stack:
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 39 0 this Lcom/sun/crypto/provider/PBES2Parameters;
0 39 1 keyDerivationFunc Lsun/security/util/DerValue;
5 39 2 pBKDF2_params Lsun/security/util/DerValue;
8 39 3 specified Lsun/security/util/DerValue;
14 39 4 prf Lsun/security/util/DerValue;
16 20 5 keyLength Lsun/security/util/DerValue;
21 39 5 kdfAlgo Ljava/lang/String;
27 38 6 o Lsun/security/util/KnownOIDs;
36 38 7 parameter Lsun/security/util/DerValue;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
keyDerivationFunc
private java.lang.String parseES(sun.security.util.DerValue);
descriptor: (Lsun/security/util/DerValue;)Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=3, args_size=2
start local 0 start local 1 0: aconst_null
astore 2
start local 2 1: aload 0
aload 1
getfield sun.security.util.DerValue.data:Lsun/security/util/DerInputStream;
invokevirtual sun.security.util.DerInputStream.getOID:()Lsun/security/util/ObjectIdentifier;
putfield com.sun.crypto.provider.PBES2Parameters.cipherAlgo_OID:Lsun/security/util/ObjectIdentifier;
2: getstatic com.sun.crypto.provider.PBES2Parameters.aes128CBC_OID:Lsun/security/util/ObjectIdentifier;
aload 0
getfield com.sun.crypto.provider.PBES2Parameters.cipherAlgo_OID:Lsun/security/util/ObjectIdentifier;
invokevirtual sun.security.util.ObjectIdentifier.equals:(Ljava/lang/Object;)Z
ifeq 9
3: ldc "AES_128"
astore 2
4: aload 0
5: new javax.crypto.spec.IvParameterSpec
dup
aload 1
getfield sun.security.util.DerValue.data:Lsun/security/util/DerInputStream;
invokevirtual sun.security.util.DerInputStream.getOctetString:()[B
invokespecial javax.crypto.spec.IvParameterSpec.<init>:([B)V
6: putfield com.sun.crypto.provider.PBES2Parameters.cipherParam:Ljava/security/spec/AlgorithmParameterSpec;
7: aload 0
sipush 128
putfield com.sun.crypto.provider.PBES2Parameters.keysize:I
8: goto 17
StackMap locals: java.lang.String
StackMap stack:
9: getstatic com.sun.crypto.provider.PBES2Parameters.aes256CBC_OID:Lsun/security/util/ObjectIdentifier;
aload 0
getfield com.sun.crypto.provider.PBES2Parameters.cipherAlgo_OID:Lsun/security/util/ObjectIdentifier;
invokevirtual sun.security.util.ObjectIdentifier.equals:(Ljava/lang/Object;)Z
ifeq 16
10: ldc "AES_256"
astore 2
11: aload 0
12: new javax.crypto.spec.IvParameterSpec
dup
aload 1
getfield sun.security.util.DerValue.data:Lsun/security/util/DerInputStream;
invokevirtual sun.security.util.DerInputStream.getOctetString:()[B
invokespecial javax.crypto.spec.IvParameterSpec.<init>:([B)V
13: putfield com.sun.crypto.provider.PBES2Parameters.cipherParam:Ljava/security/spec/AlgorithmParameterSpec;
14: aload 0
sipush 256
putfield com.sun.crypto.provider.PBES2Parameters.keysize:I
15: goto 17
16: StackMap locals:
StackMap stack:
new java.io.IOException
dup
ldc "PBE parameter parsing error: expecting the object identifier for AES cipher"
invokespecial java.io.IOException.<init>:(Ljava/lang/String;)V
athrow
17: StackMap locals:
StackMap stack:
aload 2
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 18 0 this Lcom/sun/crypto/provider/PBES2Parameters;
0 18 1 encryptionScheme Lsun/security/util/DerValue;
1 18 2 cipherAlgo Ljava/lang/String;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
encryptionScheme
protected void engineInit(byte[], java.lang.String);
descriptor: ([BLjava/lang/String;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
invokevirtual com.sun.crypto.provider.PBES2Parameters.engineInit:([B)V
1: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/sun/crypto/provider/PBES2Parameters;
0 2 1 encoded [B
0 2 2 decodingMethod Ljava/lang/String;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
encoded
decodingMethod
protected <T extends java.security.spec.AlgorithmParameterSpec> T engineGetParameterSpec(java.lang.Class<T>);
descriptor: (Ljava/lang/Class;)Ljava/security/spec/AlgorithmParameterSpec;
flags: (0x0004) ACC_PROTECTED
Code:
stack=6, locals=2, args_size=2
start local 0 start local 1 0: ldc Ljavax/crypto/spec/PBEParameterSpec;
aload 1
invokevirtual java.lang.Class.isAssignableFrom:(Ljava/lang/Class;)Z
ifeq 4
1: aload 1
2: new javax.crypto.spec.PBEParameterSpec
dup
aload 0
getfield com.sun.crypto.provider.PBES2Parameters.salt:[B
aload 0
getfield com.sun.crypto.provider.PBES2Parameters.iCount:I
aload 0
getfield com.sun.crypto.provider.PBES2Parameters.cipherParam:Ljava/security/spec/AlgorithmParameterSpec;
invokespecial javax.crypto.spec.PBEParameterSpec.<init>:([BILjava/security/spec/AlgorithmParameterSpec;)V
3: invokevirtual java.lang.Class.cast:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.security.spec.AlgorithmParameterSpec
areturn
4: StackMap locals:
StackMap stack:
new java.security.spec.InvalidParameterSpecException
dup
5: ldc "Inappropriate parameter specification"
6: invokespecial java.security.spec.InvalidParameterSpecException.<init>:(Ljava/lang/String;)V
athrow
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lcom/sun/crypto/provider/PBES2Parameters;
0 7 1 paramSpec Ljava/lang/Class<TT;>;
Exceptions:
throws java.security.spec.InvalidParameterSpecException
Signature: <T::Ljava/security/spec/AlgorithmParameterSpec;>(Ljava/lang/Class<TT;>;)TT;
MethodParameters:
Name Flags
paramSpec
protected byte[] engineGetEncoded();
descriptor: ()[B
flags: (0x0004) ACC_PROTECTED
Code:
stack=3, locals=7, args_size=1
start local 0 0: new sun.security.util.DerOutputStream
dup
invokespecial sun.security.util.DerOutputStream.<init>:()V
astore 1
start local 1 1: new sun.security.util.DerOutputStream
dup
invokespecial sun.security.util.DerOutputStream.<init>:()V
astore 2
start local 2 2: new sun.security.util.DerOutputStream
dup
invokespecial sun.security.util.DerOutputStream.<init>:()V
astore 3
start local 3 3: aload 3
getstatic com.sun.crypto.provider.PBES2Parameters.pkcs5PBKDF2_OID:Lsun/security/util/ObjectIdentifier;
invokevirtual sun.security.util.DerOutputStream.putOID:(Lsun/security/util/ObjectIdentifier;)V
4: new sun.security.util.DerOutputStream
dup
invokespecial sun.security.util.DerOutputStream.<init>:()V
astore 4
start local 4 5: aload 4
aload 0
getfield com.sun.crypto.provider.PBES2Parameters.salt:[B
invokevirtual sun.security.util.DerOutputStream.putOctetString:([B)V
6: aload 4
aload 0
getfield com.sun.crypto.provider.PBES2Parameters.iCount:I
invokevirtual sun.security.util.DerOutputStream.putInteger:(I)V
7: aload 0
getfield com.sun.crypto.provider.PBES2Parameters.keysize:I
ifle 9
8: aload 4
aload 0
getfield com.sun.crypto.provider.PBES2Parameters.keysize:I
bipush 8
idiv
invokevirtual sun.security.util.DerOutputStream.putInteger:(I)V
9: StackMap locals: com.sun.crypto.provider.PBES2Parameters sun.security.util.DerOutputStream sun.security.util.DerOutputStream sun.security.util.DerOutputStream sun.security.util.DerOutputStream
StackMap stack:
new sun.security.util.DerOutputStream
dup
invokespecial sun.security.util.DerOutputStream.<init>:()V
astore 5
start local 5 10: aload 5
aload 0
getfield com.sun.crypto.provider.PBES2Parameters.kdfAlgo_OID:Lsun/security/util/ObjectIdentifier;
invokevirtual sun.security.util.DerOutputStream.putOID:(Lsun/security/util/ObjectIdentifier;)V
11: aload 5
invokevirtual sun.security.util.DerOutputStream.putNull:()V
12: aload 4
bipush 48
aload 5
invokevirtual sun.security.util.DerOutputStream.write:(BLsun/security/util/DerOutputStream;)V
13: aload 3
bipush 48
aload 4
invokevirtual sun.security.util.DerOutputStream.write:(BLsun/security/util/DerOutputStream;)V
14: aload 2
bipush 48
aload 3
invokevirtual sun.security.util.DerOutputStream.write:(BLsun/security/util/DerOutputStream;)V
15: new sun.security.util.DerOutputStream
dup
invokespecial sun.security.util.DerOutputStream.<init>:()V
astore 6
start local 6 16: aload 6
aload 0
getfield com.sun.crypto.provider.PBES2Parameters.cipherAlgo_OID:Lsun/security/util/ObjectIdentifier;
invokevirtual sun.security.util.DerOutputStream.putOID:(Lsun/security/util/ObjectIdentifier;)V
17: aload 0
getfield com.sun.crypto.provider.PBES2Parameters.cipherParam:Ljava/security/spec/AlgorithmParameterSpec;
ifnull 22
aload 0
getfield com.sun.crypto.provider.PBES2Parameters.cipherParam:Ljava/security/spec/AlgorithmParameterSpec;
instanceof javax.crypto.spec.IvParameterSpec
ifeq 22
18: aload 6
19: aload 0
getfield com.sun.crypto.provider.PBES2Parameters.cipherParam:Ljava/security/spec/AlgorithmParameterSpec;
checkcast javax.crypto.spec.IvParameterSpec
invokevirtual javax.crypto.spec.IvParameterSpec.getIV:()[B
20: invokevirtual sun.security.util.DerOutputStream.putOctetString:([B)V
21: goto 23
22: StackMap locals: sun.security.util.DerOutputStream sun.security.util.DerOutputStream
StackMap stack:
new java.io.IOException
dup
ldc "Wrong parameter type: IV expected"
invokespecial java.io.IOException.<init>:(Ljava/lang/String;)V
athrow
23: StackMap locals:
StackMap stack:
aload 2
bipush 48
aload 6
invokevirtual sun.security.util.DerOutputStream.write:(BLsun/security/util/DerOutputStream;)V
24: aload 1
bipush 48
aload 2
invokevirtual sun.security.util.DerOutputStream.write:(BLsun/security/util/DerOutputStream;)V
25: aload 1
invokevirtual sun.security.util.DerOutputStream.toByteArray:()[B
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 26 0 this Lcom/sun/crypto/provider/PBES2Parameters;
1 26 1 out Lsun/security/util/DerOutputStream;
2 26 2 pBES2_params Lsun/security/util/DerOutputStream;
3 26 3 keyDerivationFunc Lsun/security/util/DerOutputStream;
5 26 4 pBKDF2_params Lsun/security/util/DerOutputStream;
10 26 5 prf Lsun/security/util/DerOutputStream;
16 26 6 encryptionScheme Lsun/security/util/DerOutputStream;
Exceptions:
throws java.io.IOException
protected byte[] engineGetEncoded(java.lang.String);
descriptor: (Ljava/lang/String;)[B
flags: (0x0004) ACC_PROTECTED
Code:
stack=1, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual com.sun.crypto.provider.PBES2Parameters.engineGetEncoded:()[B
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/crypto/provider/PBES2Parameters;
0 1 1 encodingMethod Ljava/lang/String;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
encodingMethod
protected java.lang.String engineToString();
descriptor: ()Ljava/lang/String;
flags: (0x0004) ACC_PROTECTED
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.sun.crypto.provider.PBES2Parameters.pbes2AlgorithmName:Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/crypto/provider/PBES2Parameters;
}
SourceFile: "PBES2Parameters.java"
NestMembers:
com.sun.crypto.provider.PBES2Parameters$General com.sun.crypto.provider.PBES2Parameters$HmacSHA1AndAES_128 com.sun.crypto.provider.PBES2Parameters$HmacSHA1AndAES_256 com.sun.crypto.provider.PBES2Parameters$HmacSHA224AndAES_128 com.sun.crypto.provider.PBES2Parameters$HmacSHA224AndAES_256 com.sun.crypto.provider.PBES2Parameters$HmacSHA256AndAES_128 com.sun.crypto.provider.PBES2Parameters$HmacSHA256AndAES_256 com.sun.crypto.provider.PBES2Parameters$HmacSHA384AndAES_128 com.sun.crypto.provider.PBES2Parameters$HmacSHA384AndAES_256 com.sun.crypto.provider.PBES2Parameters$HmacSHA512AndAES_128 com.sun.crypto.provider.PBES2Parameters$HmacSHA512AndAES_256
InnerClasses:
public final General = com.sun.crypto.provider.PBES2Parameters$General of com.sun.crypto.provider.PBES2Parameters
public final HmacSHA1AndAES_128 = com.sun.crypto.provider.PBES2Parameters$HmacSHA1AndAES_128 of com.sun.crypto.provider.PBES2Parameters
public final HmacSHA1AndAES_256 = com.sun.crypto.provider.PBES2Parameters$HmacSHA1AndAES_256 of com.sun.crypto.provider.PBES2Parameters
public final HmacSHA224AndAES_128 = com.sun.crypto.provider.PBES2Parameters$HmacSHA224AndAES_128 of com.sun.crypto.provider.PBES2Parameters
public final HmacSHA224AndAES_256 = com.sun.crypto.provider.PBES2Parameters$HmacSHA224AndAES_256 of com.sun.crypto.provider.PBES2Parameters
public final HmacSHA256AndAES_128 = com.sun.crypto.provider.PBES2Parameters$HmacSHA256AndAES_128 of com.sun.crypto.provider.PBES2Parameters
public final HmacSHA256AndAES_256 = com.sun.crypto.provider.PBES2Parameters$HmacSHA256AndAES_256 of com.sun.crypto.provider.PBES2Parameters
public final HmacSHA384AndAES_128 = com.sun.crypto.provider.PBES2Parameters$HmacSHA384AndAES_128 of com.sun.crypto.provider.PBES2Parameters
public final HmacSHA384AndAES_256 = com.sun.crypto.provider.PBES2Parameters$HmacSHA384AndAES_256 of com.sun.crypto.provider.PBES2Parameters
public final HmacSHA512AndAES_128 = com.sun.crypto.provider.PBES2Parameters$HmacSHA512AndAES_128 of com.sun.crypto.provider.PBES2Parameters
public final HmacSHA512AndAES_256 = com.sun.crypto.provider.PBES2Parameters$HmacSHA512AndAES_256 of com.sun.crypto.provider.PBES2Parameters