public final class com.sun.crypto.provider.DESedeKeyFactory 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.DESedeKeyFactory
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/DESedeKeyFactory;
protected javax.crypto.SecretKey engineGenerateSecret(java.security.spec.KeySpec);
descriptor: (Ljava/security/spec/KeySpec;)Ljavax/crypto/SecretKey;
flags: (0x0004) ACC_PROTECTED
Code:
stack=3, locals=4, args_size=2
start local 0 start local 1 0: aconst_null
astore 2
start local 2 1: aload 1
instanceof javax.crypto.spec.DESedeKeySpec
ifeq 5
2: aload 1
checkcast javax.crypto.spec.DESedeKeySpec
astore 3
start local 3 3: new com.sun.crypto.provider.DESedeKey
dup
aload 3
invokevirtual javax.crypto.spec.DESedeKeySpec.getKey:()[B
invokespecial com.sun.crypto.provider.DESedeKey.<init>:([B)V
astore 2
end local 3 4: goto 9
5: StackMap locals: com.sun.crypto.provider.DESedeKey
StackMap stack:
new java.security.spec.InvalidKeySpecException
dup
6: ldc "Inappropriate key specification"
7: invokespecial java.security.spec.InvalidKeySpecException.<init>:(Ljava/lang/String;)V
athrow
8: StackMap locals:
StackMap stack: java.security.InvalidKeyException
pop
9: StackMap locals:
StackMap stack:
aload 2
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lcom/sun/crypto/provider/DESedeKeyFactory;
0 10 1 keySpec Ljava/security/spec/KeySpec;
1 10 2 desEdeKey Lcom/sun/crypto/provider/DESedeKey;
3 4 3 desEdeKeySpec Ljavax/crypto/spec/DESedeKeySpec;
Exception table:
from to target type
1 8 8 Class java.security.InvalidKeyException
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=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 1
instanceof javax.crypto.SecretKey
ifeq 9
1: aload 1
invokeinterface javax.crypto.SecretKey.getAlgorithm:()Ljava/lang/String;
ldc "DESede"
invokevirtual java.lang.String.equalsIgnoreCase:(Ljava/lang/String;)Z
ifeq 9
2: aload 1
invokeinterface javax.crypto.SecretKey.getFormat:()Ljava/lang/String;
ldc "RAW"
invokevirtual java.lang.String.equalsIgnoreCase:(Ljava/lang/String;)Z
ifeq 9
3: ldc Ljavax/crypto/spec/DESedeKeySpec;
aload 2
invokevirtual java.lang.Class.isAssignableFrom:(Ljava/lang/Class;)Z
ifeq 6
4: new javax.crypto.spec.DESedeKeySpec
dup
aload 1
invokeinterface javax.crypto.SecretKey.getEncoded:()[B
invokespecial javax.crypto.spec.DESedeKeySpec.<init>:([B)V
5: areturn
6: StackMap locals:
StackMap stack:
new java.security.spec.InvalidKeySpecException
dup
7: ldc "Inappropriate key specification"
8: invokespecial java.security.spec.InvalidKeySpecException.<init>:(Ljava/lang/String;)V
athrow
9: StackMap locals:
StackMap stack:
new java.security.spec.InvalidKeySpecException
dup
10: ldc "Inappropriate key format/algorithm"
11: invokespecial java.security.spec.InvalidKeySpecException.<init>:(Ljava/lang/String;)V
athrow
12: StackMap locals:
StackMap stack: java.security.InvalidKeyException
pop
13: new java.security.spec.InvalidKeySpecException
dup
ldc "Secret key has wrong size"
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 14 0 this Lcom/sun/crypto/provider/DESedeKeyFactory;
0 14 1 key Ljavax/crypto/SecretKey;
0 14 2 keySpec Ljava/lang/Class;
Exception table:
from to target type
0 5 12 Class java.security.InvalidKeyException
6 12 12 Class java.security.InvalidKeyException
Exceptions:
throws java.security.spec.InvalidKeySpecException
MethodParameters:
Name Flags
key
keySpec
protected javax.crypto.SecretKey engineTranslateKey(javax.crypto.SecretKey);
descriptor: (Ljavax/crypto/SecretKey;)Ljavax/crypto/SecretKey;
flags: (0x0004) ACC_PROTECTED
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: aload 1
ifnull 12
1: aload 1
invokeinterface javax.crypto.SecretKey.getAlgorithm:()Ljava/lang/String;
ldc "DESede"
invokevirtual java.lang.String.equalsIgnoreCase:(Ljava/lang/String;)Z
ifeq 12
2: aload 1
invokeinterface javax.crypto.SecretKey.getFormat:()Ljava/lang/String;
ldc "RAW"
invokevirtual java.lang.String.equalsIgnoreCase:(Ljava/lang/String;)Z
ifeq 12
3: aload 1
instanceof com.sun.crypto.provider.DESedeKey
ifeq 6
4: aload 1
5: areturn
6: StackMap locals:
StackMap stack:
aload 0
aload 1
7: ldc Ljavax/crypto/spec/DESedeKeySpec;
8: invokevirtual com.sun.crypto.provider.DESedeKeyFactory.engineGetKeySpec:(Ljavax/crypto/SecretKey;Ljava/lang/Class;)Ljava/security/spec/KeySpec;
checkcast javax.crypto.spec.DESedeKeySpec
9: astore 2
start local 2 10: aload 0
aload 2
invokevirtual com.sun.crypto.provider.DESedeKeyFactory.engineGenerateSecret:(Ljava/security/spec/KeySpec;)Ljavax/crypto/SecretKey;
11: areturn
end local 2 12: StackMap locals:
StackMap stack:
new java.security.InvalidKeyException
dup
13: ldc "Inappropriate key format/algorithm"
14: invokespecial java.security.InvalidKeyException.<init>:(Ljava/lang/String;)V
athrow
15: StackMap locals:
StackMap stack: java.security.spec.InvalidKeySpecException
pop
16: new java.security.InvalidKeyException
dup
ldc "Cannot translate key"
invokespecial java.security.InvalidKeyException.<init>:(Ljava/lang/String;)V
athrow
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 17 0 this Lcom/sun/crypto/provider/DESedeKeyFactory;
0 17 1 key Ljavax/crypto/SecretKey;
10 12 2 desEdeKeySpec Ljavax/crypto/spec/DESedeKeySpec;
Exception table:
from to target type
0 5 15 Class java.security.spec.InvalidKeySpecException
6 11 15 Class java.security.spec.InvalidKeySpecException
12 15 15 Class java.security.spec.InvalidKeySpecException
Exceptions:
throws java.security.InvalidKeyException
MethodParameters:
Name Flags
key
}
SourceFile: "DESedeKeyFactory.java"