abstract class com.sun.crypto.provider.PBKDF2Core extends javax.crypto.SecretKeyFactorySpi
minor version: 0
major version: 59
flags: flags: (0x0420) ACC_SUPER, ACC_ABSTRACT
this_class: com.sun.crypto.provider.PBKDF2Core
super_class: javax.crypto.SecretKeyFactorySpi
{
private final java.lang.String prfAlgo;
descriptor: Ljava/lang/String;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
void <init>(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0000)
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial javax.crypto.SecretKeyFactorySpi.<init>:()V
1: aload 0
aload 1
putfield com.sun.crypto.provider.PBKDF2Core.prfAlgo:Ljava/lang/String;
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/sun/crypto/provider/PBKDF2Core;
0 3 1 prfAlgo Ljava/lang/String;
MethodParameters:
Name Flags
prfAlgo
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
aload 0
getfield com.sun.crypto.provider.PBKDF2Core.prfAlgo:Ljava/lang/String;
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/PBKDF2Core;
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/PBKDF2Core;
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;
new java.lang.StringBuilder
dup
ldc "PBKDF2With"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
getfield com.sun.crypto.provider.PBKDF2Core.prfAlgo:Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
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
aload 0
getfield com.sun.crypto.provider.PBKDF2Core.prfAlgo:Ljava/lang/String;
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.PBKDF2Core 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/PBKDF2Core;
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: "PBKDF2Core.java"
NestMembers:
com.sun.crypto.provider.PBKDF2Core$HmacSHA1 com.sun.crypto.provider.PBKDF2Core$HmacSHA224 com.sun.crypto.provider.PBKDF2Core$HmacSHA256 com.sun.crypto.provider.PBKDF2Core$HmacSHA384 com.sun.crypto.provider.PBKDF2Core$HmacSHA512
InnerClasses:
public final HmacSHA1 = com.sun.crypto.provider.PBKDF2Core$HmacSHA1 of com.sun.crypto.provider.PBKDF2Core
public final HmacSHA224 = com.sun.crypto.provider.PBKDF2Core$HmacSHA224 of com.sun.crypto.provider.PBKDF2Core
public final HmacSHA256 = com.sun.crypto.provider.PBKDF2Core$HmacSHA256 of com.sun.crypto.provider.PBKDF2Core
public final HmacSHA384 = com.sun.crypto.provider.PBKDF2Core$HmacSHA384 of com.sun.crypto.provider.PBKDF2Core
public final HmacSHA512 = com.sun.crypto.provider.PBKDF2Core$HmacSHA512 of com.sun.crypto.provider.PBKDF2Core