public final class com.sun.crypto.provider.DESKeyFactory 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.DESKeyFactory
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/DESKeyFactory;
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=3, args_size=2
start local 0 start local 1 0: aload 1
instanceof javax.crypto.spec.DESKeySpec
ifeq 3
1: new com.sun.crypto.provider.DESKey
dup
aload 1
checkcast javax.crypto.spec.DESKeySpec
invokevirtual javax.crypto.spec.DESKeySpec.getKey:()[B
invokespecial com.sun.crypto.provider.DESKey.<init>:([B)V
2: areturn
3: StackMap locals:
StackMap stack:
aload 1
instanceof javax.crypto.spec.SecretKeySpec
ifeq 6
4: new com.sun.crypto.provider.DESKey
dup
aload 1
checkcast javax.crypto.spec.SecretKeySpec
invokevirtual javax.crypto.spec.SecretKeySpec.getEncoded:()[B
invokespecial com.sun.crypto.provider.DESKey.<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: java.security.InvalidKeyException
astore 2
start local 2 10: new java.security.spec.InvalidKeySpecException
dup
aload 2
invokevirtual java.security.InvalidKeyException.getMessage:()Ljava/lang/String;
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/DESKeyFactory;
0 11 1 keySpec Ljava/security/spec/KeySpec;
10 11 2 e Ljava/security/InvalidKeyException;
Exception table:
from to target type
0 2 9 Class java.security.InvalidKeyException
3 5 9 Class java.security.InvalidKeyException
6 9 9 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 10
1: aload 1
invokeinterface javax.crypto.SecretKey.getAlgorithm:()Ljava/lang/String;
ldc "DES"
invokevirtual java.lang.String.equalsIgnoreCase:(Ljava/lang/String;)Z
ifeq 10
2: aload 1
invokeinterface javax.crypto.SecretKey.getFormat:()Ljava/lang/String;
ldc "RAW"
invokevirtual java.lang.String.equalsIgnoreCase:(Ljava/lang/String;)Z
ifeq 10
3: aload 2
ifnull 7
4: ldc Ljavax/crypto/spec/DESKeySpec;
aload 2
invokevirtual java.lang.Class.isAssignableFrom:(Ljava/lang/Class;)Z
ifeq 7
5: new javax.crypto.spec.DESKeySpec
dup
aload 1
invokeinterface javax.crypto.SecretKey.getEncoded:()[B
invokespecial javax.crypto.spec.DESKeySpec.<init>:([B)V
6: areturn
7: StackMap locals:
StackMap stack:
new java.security.spec.InvalidKeySpecException
dup
8: ldc "Inappropriate key specification"
9: invokespecial java.security.spec.InvalidKeySpecException.<init>:(Ljava/lang/String;)V
athrow
10: StackMap locals:
StackMap stack:
new java.security.spec.InvalidKeySpecException
dup
11: ldc "Inappropriate key format/algorithm"
12: invokespecial java.security.spec.InvalidKeySpecException.<init>:(Ljava/lang/String;)V
athrow
13: StackMap locals:
StackMap stack: java.security.InvalidKeyException
pop
14: 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 15 0 this Lcom/sun/crypto/provider/DESKeyFactory;
0 15 1 key Ljavax/crypto/SecretKey;
0 15 2 keySpec Ljava/lang/Class<*>;
Exception table:
from to target type
0 6 13 Class java.security.InvalidKeyException
7 13 13 Class java.security.InvalidKeyException
Exceptions:
throws java.security.spec.InvalidKeySpecException
Signature: (Ljavax/crypto/SecretKey;Ljava/lang/Class<*>;)Ljava/security/spec/KeySpec;
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 10
1: aload 1
invokeinterface javax.crypto.SecretKey.getAlgorithm:()Ljava/lang/String;
ldc "DES"
invokevirtual java.lang.String.equalsIgnoreCase:(Ljava/lang/String;)Z
ifeq 10
2: aload 1
invokeinterface javax.crypto.SecretKey.getFormat:()Ljava/lang/String;
ldc "RAW"
invokevirtual java.lang.String.equalsIgnoreCase:(Ljava/lang/String;)Z
ifeq 10
3: aload 1
instanceof com.sun.crypto.provider.DESKey
ifeq 6
4: aload 1
5: areturn
6: StackMap locals:
StackMap stack:
aload 0
aload 1
ldc Ljavax/crypto/spec/DESKeySpec;
invokevirtual com.sun.crypto.provider.DESKeyFactory.engineGetKeySpec:(Ljavax/crypto/SecretKey;Ljava/lang/Class;)Ljava/security/spec/KeySpec;
checkcast javax.crypto.spec.DESKeySpec
7: astore 2
start local 2 8: aload 0
aload 2
invokevirtual com.sun.crypto.provider.DESKeyFactory.engineGenerateSecret:(Ljava/security/spec/KeySpec;)Ljavax/crypto/SecretKey;
9: areturn
end local 2 10: StackMap locals:
StackMap stack:
new java.security.InvalidKeyException
dup
11: ldc "Inappropriate key format/algorithm"
12: invokespecial java.security.InvalidKeyException.<init>:(Ljava/lang/String;)V
athrow
13: StackMap locals:
StackMap stack: java.security.spec.InvalidKeySpecException
pop
14: 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 15 0 this Lcom/sun/crypto/provider/DESKeyFactory;
0 15 1 key Ljavax/crypto/SecretKey;
8 10 2 desKeySpec Ljavax/crypto/spec/DESKeySpec;
Exception table:
from to target type
0 5 13 Class java.security.spec.InvalidKeySpecException
6 9 13 Class java.security.spec.InvalidKeySpecException
10 13 13 Class java.security.spec.InvalidKeySpecException
Exceptions:
throws java.security.InvalidKeyException
MethodParameters:
Name Flags
key
}
SourceFile: "DESKeyFactory.java"