public final class com.sun.crypto.provider.PBKDF2HmacSHA1Factory extends javax.crypto.SecretKeyFactorySpi
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: com.sun.crypto.provider.PBKDF2HmacSHA1Factory
super_class: javax.crypto.SecretKeyFactorySpi
{
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial javax.crypto.SecretKeyFactorySpi.<init>:()V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/sun/crypto/provider/PBKDF2HmacSHA1Factory;
protected javax.crypto.SecretKey engineGenerateSecret(java.security.spec.KeySpec);
descriptor: (Ljava/security/spec/KeySpec;)Ljavax/crypto/SecretKey;
flags: (0x0004) ACC_PROTECTED
Code:
stack=4, locals=3, args_size=2
start local 0 start local 1 0: aload 1
instanceof javax.crypto.spec.PBEKeySpec
ifne 2
1: new java.security.spec.InvalidKeySpecException
dup
ldc "Invalid key spec"
invokespecial java.security.spec.InvalidKeySpecException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
aload 1
checkcast javax.crypto.spec.PBEKeySpec
astore 2
start local 2 3: new com.sun.crypto.provider.PBKDF2KeyImpl
dup
aload 2
ldc "HmacSHA1"
invokespecial com.sun.crypto.provider.PBKDF2KeyImpl.<init>:(Ljavax/crypto/spec/PBEKeySpec;Ljava/lang/String;)V
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lcom/sun/crypto/provider/PBKDF2HmacSHA1Factory;
0 4 1 keySpec Ljava/security/spec/KeySpec;
3 4 2 ks Ljavax/crypto/spec/PBEKeySpec;
Exceptions:
throws java.security.spec.InvalidKeySpecException
MethodParameters:
Name Flags
keySpec
protected java.security.spec.KeySpec engineGetKeySpec(javax.crypto.SecretKey, java.lang.Class<?>);
descriptor: (Ljavax/crypto/SecretKey;Ljava/lang/Class;)Ljava/security/spec/KeySpec;
flags: (0x0004) ACC_PROTECTED
Code:
stack=7, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 1
instanceof javax.crypto.interfaces.PBEKey
ifeq 10
1: aload 2
ifnull 9
2: ldc Ljavax/crypto/spec/PBEKeySpec;
aload 2
invokevirtual java.lang.Class.isAssignableFrom:(Ljava/lang/Class;)Z
ifeq 9
3: aload 1
checkcast javax.crypto.interfaces.PBEKey
4: astore 3
start local 3 5: new javax.crypto.spec.PBEKeySpec
dup
6: aload 3
invokeinterface javax.crypto.interfaces.PBEKey.getPassword:()[C
aload 3
invokeinterface javax.crypto.interfaces.PBEKey.getSalt:()[B
7: aload 3
invokeinterface javax.crypto.interfaces.PBEKey.getIterationCount:()I
aload 3
invokeinterface javax.crypto.interfaces.PBEKey.getEncoded:()[B
arraylength
bipush 8
imul
8: invokespecial javax.crypto.spec.PBEKeySpec.<init>:([C[BII)V
areturn
end local 3 9: StackMap locals:
StackMap stack:
new java.security.spec.InvalidKeySpecException
dup
ldc "Invalid key spec"
invokespecial java.security.spec.InvalidKeySpecException.<init>:(Ljava/lang/String;)V
athrow
10: StackMap locals:
StackMap stack:
new java.security.spec.InvalidKeySpecException
dup
ldc "Invalid key format/algorithm"
invokespecial java.security.spec.InvalidKeySpecException.<init>:(Ljava/lang/String;)V
athrow
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Lcom/sun/crypto/provider/PBKDF2HmacSHA1Factory;
0 11 1 key Ljavax/crypto/SecretKey;
0 11 2 keySpecCl Ljava/lang/Class<*>;
5 9 3 pKey Ljavax/crypto/interfaces/PBEKey;
Exceptions:
throws java.security.spec.InvalidKeySpecException
Signature: (Ljavax/crypto/SecretKey;Ljava/lang/Class<*>;)Ljava/security/spec/KeySpec;
MethodParameters:
Name Flags
key
keySpecCl
protected javax.crypto.SecretKey engineTranslateKey(javax.crypto.SecretKey);
descriptor: (Ljavax/crypto/SecretKey;)Ljavax/crypto/SecretKey;
flags: (0x0004) ACC_PROTECTED
Code:
stack=7, locals=5, args_size=2
start local 0 start local 1 0: aload 1
ifnull 22
1: aload 1
invokeinterface javax.crypto.SecretKey.getAlgorithm:()Ljava/lang/String;
ldc "PBKDF2WithHmacSHA1"
invokevirtual java.lang.String.equalsIgnoreCase:(Ljava/lang/String;)Z
ifeq 22
2: aload 1
invokeinterface javax.crypto.SecretKey.getFormat:()Ljava/lang/String;
ldc "RAW"
invokevirtual java.lang.String.equalsIgnoreCase:(Ljava/lang/String;)Z
ifeq 22
3: aload 1
instanceof com.sun.crypto.provider.PBKDF2KeyImpl
ifeq 5
4: aload 1
areturn
5: StackMap locals:
StackMap stack:
aload 1
instanceof javax.crypto.interfaces.PBEKey
ifeq 22
6: aload 1
checkcast javax.crypto.interfaces.PBEKey
7: astore 2
start local 2 8: new javax.crypto.spec.PBEKeySpec
dup
aload 2
invokeinterface javax.crypto.interfaces.PBEKey.getPassword:()[C
9: aload 2
invokeinterface javax.crypto.interfaces.PBEKey.getSalt:()[B
10: aload 2
invokeinterface javax.crypto.interfaces.PBEKey.getIterationCount:()I
11: aload 2
invokeinterface javax.crypto.interfaces.PBEKey.getEncoded:()[B
arraylength
bipush 8
imul
12: invokespecial javax.crypto.spec.PBEKeySpec.<init>:([C[BII)V
13: astore 3
start local 3 14: new com.sun.crypto.provider.PBKDF2KeyImpl
dup
aload 3
ldc "HmacSHA1"
invokespecial com.sun.crypto.provider.PBKDF2KeyImpl.<init>:(Ljavax/crypto/spec/PBEKeySpec;Ljava/lang/String;)V
15: areturn
end local 3 16: StackMap locals: com.sun.crypto.provider.PBKDF2HmacSHA1Factory javax.crypto.SecretKey javax.crypto.interfaces.PBEKey
StackMap stack: java.security.spec.InvalidKeySpecException
astore 3
start local 3 17: new java.security.InvalidKeyException
dup
18: ldc "Invalid key component(s)"
19: invokespecial java.security.InvalidKeyException.<init>:(Ljava/lang/String;)V
astore 4
start local 4 20: aload 4
aload 3
invokevirtual java.security.InvalidKeyException.initCause:(Ljava/lang/Throwable;)Ljava/lang/Throwable;
pop
21: aload 4
athrow
end local 4 end local 3 end local 2 22: StackMap locals:
StackMap stack:
new java.security.InvalidKeyException
dup
ldc "Invalid key format/algorithm"
invokespecial java.security.InvalidKeyException.<init>:(Ljava/lang/String;)V
athrow
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 23 0 this Lcom/sun/crypto/provider/PBKDF2HmacSHA1Factory;
0 23 1 key Ljavax/crypto/SecretKey;
8 22 2 pKey Ljavax/crypto/interfaces/PBEKey;
14 16 3 spec Ljavax/crypto/spec/PBEKeySpec;
17 22 3 re Ljava/security/spec/InvalidKeySpecException;
20 22 4 ike Ljava/security/InvalidKeyException;
Exception table:
from to target type
8 15 16 Class java.security.spec.InvalidKeySpecException
Exceptions:
throws java.security.InvalidKeyException
MethodParameters:
Name Flags
key
}
SourceFile: "PBKDF2HmacSHA1Factory.java"