public class org.bouncycastle.operator.jcajce.JceSymmetricKeyUnwrapper extends org.bouncycastle.operator.SymmetricKeyUnwrapper
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.bouncycastle.operator.jcajce.JceSymmetricKeyUnwrapper
super_class: org.bouncycastle.operator.SymmetricKeyUnwrapper
{
private org.bouncycastle.operator.jcajce.OperatorHelper helper;
descriptor: Lorg/bouncycastle/operator/jcajce/OperatorHelper;
flags: (0x0002) ACC_PRIVATE
private javax.crypto.SecretKey secretKey;
descriptor: Ljavax/crypto/SecretKey;
flags: (0x0002) ACC_PRIVATE
public void <init>(org.bouncycastle.asn1.x509.AlgorithmIdentifier, javax.crypto.SecretKey);
descriptor: (Lorg/bouncycastle/asn1/x509/AlgorithmIdentifier;Ljavax/crypto/SecretKey;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
invokespecial org.bouncycastle.operator.SymmetricKeyUnwrapper.<init>:(Lorg/bouncycastle/asn1/x509/AlgorithmIdentifier;)V
1: aload 0
new org.bouncycastle.operator.jcajce.OperatorHelper
dup
new org.bouncycastle.jcajce.util.DefaultJcaJceHelper
dup
invokespecial org.bouncycastle.jcajce.util.DefaultJcaJceHelper.<init>:()V
invokespecial org.bouncycastle.operator.jcajce.OperatorHelper.<init>:(Lorg/bouncycastle/jcajce/util/JcaJceHelper;)V
putfield org.bouncycastle.operator.jcajce.JceSymmetricKeyUnwrapper.helper:Lorg/bouncycastle/operator/jcajce/OperatorHelper;
2: aload 0
aload 2
putfield org.bouncycastle.operator.jcajce.JceSymmetricKeyUnwrapper.secretKey:Ljavax/crypto/SecretKey;
3: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/bouncycastle/operator/jcajce/JceSymmetricKeyUnwrapper;
0 4 1 algorithmIdentifier Lorg/bouncycastle/asn1/x509/AlgorithmIdentifier;
0 4 2 secretKey Ljavax/crypto/SecretKey;
MethodParameters:
Name Flags
algorithmIdentifier
secretKey
public org.bouncycastle.operator.jcajce.JceSymmetricKeyUnwrapper setProvider(java.security.Provider);
descriptor: (Ljava/security/Provider;)Lorg/bouncycastle/operator/jcajce/JceSymmetricKeyUnwrapper;
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=2, args_size=2
start local 0 start local 1 0: aload 0
new org.bouncycastle.operator.jcajce.OperatorHelper
dup
new org.bouncycastle.jcajce.util.ProviderJcaJceHelper
dup
aload 1
invokespecial org.bouncycastle.jcajce.util.ProviderJcaJceHelper.<init>:(Ljava/security/Provider;)V
invokespecial org.bouncycastle.operator.jcajce.OperatorHelper.<init>:(Lorg/bouncycastle/jcajce/util/JcaJceHelper;)V
putfield org.bouncycastle.operator.jcajce.JceSymmetricKeyUnwrapper.helper:Lorg/bouncycastle/operator/jcajce/OperatorHelper;
1: aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/bouncycastle/operator/jcajce/JceSymmetricKeyUnwrapper;
0 2 1 provider Ljava/security/Provider;
MethodParameters:
Name Flags
provider
public org.bouncycastle.operator.jcajce.JceSymmetricKeyUnwrapper setProvider(java.lang.String);
descriptor: (Ljava/lang/String;)Lorg/bouncycastle/operator/jcajce/JceSymmetricKeyUnwrapper;
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=2, args_size=2
start local 0 start local 1 0: aload 0
new org.bouncycastle.operator.jcajce.OperatorHelper
dup
new org.bouncycastle.jcajce.util.NamedJcaJceHelper
dup
aload 1
invokespecial org.bouncycastle.jcajce.util.NamedJcaJceHelper.<init>:(Ljava/lang/String;)V
invokespecial org.bouncycastle.operator.jcajce.OperatorHelper.<init>:(Lorg/bouncycastle/jcajce/util/JcaJceHelper;)V
putfield org.bouncycastle.operator.jcajce.JceSymmetricKeyUnwrapper.helper:Lorg/bouncycastle/operator/jcajce/OperatorHelper;
1: aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/bouncycastle/operator/jcajce/JceSymmetricKeyUnwrapper;
0 2 1 providerName Ljava/lang/String;
MethodParameters:
Name Flags
providerName
public org.bouncycastle.operator.GenericKey generateUnwrappedKey(org.bouncycastle.asn1.x509.AlgorithmIdentifier, byte[]);
descriptor: (Lorg/bouncycastle/asn1/x509/AlgorithmIdentifier;[B)Lorg/bouncycastle/operator/GenericKey;
flags: (0x0001) ACC_PUBLIC
Code:
stack=7, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield org.bouncycastle.operator.jcajce.JceSymmetricKeyUnwrapper.helper:Lorg/bouncycastle/operator/jcajce/OperatorHelper;
aload 0
invokevirtual org.bouncycastle.operator.jcajce.JceSymmetricKeyUnwrapper.getAlgorithmIdentifier:()Lorg/bouncycastle/asn1/x509/AlgorithmIdentifier;
invokevirtual org.bouncycastle.asn1.x509.AlgorithmIdentifier.getAlgorithm:()Lorg/bouncycastle/asn1/ASN1ObjectIdentifier;
invokevirtual org.bouncycastle.operator.jcajce.OperatorHelper.createSymmetricWrapper:(Lorg/bouncycastle/asn1/ASN1ObjectIdentifier;)Ljavax/crypto/Cipher;
astore 3
start local 3 1: aload 3
iconst_4
aload 0
getfield org.bouncycastle.operator.jcajce.JceSymmetricKeyUnwrapper.secretKey:Ljavax/crypto/SecretKey;
invokevirtual javax.crypto.Cipher.init:(ILjava/security/Key;)V
2: new org.bouncycastle.operator.jcajce.JceGenericKey
dup
aload 1
aload 3
aload 2
aload 0
getfield org.bouncycastle.operator.jcajce.JceSymmetricKeyUnwrapper.helper:Lorg/bouncycastle/operator/jcajce/OperatorHelper;
aload 1
invokevirtual org.bouncycastle.asn1.x509.AlgorithmIdentifier.getAlgorithm:()Lorg/bouncycastle/asn1/ASN1ObjectIdentifier;
invokevirtual org.bouncycastle.operator.jcajce.OperatorHelper.getKeyAlgorithmName:(Lorg/bouncycastle/asn1/ASN1ObjectIdentifier;)Ljava/lang/String;
iconst_3
invokevirtual javax.crypto.Cipher.unwrap:([BLjava/lang/String;I)Ljava/security/Key;
invokespecial org.bouncycastle.operator.jcajce.JceGenericKey.<init>:(Lorg/bouncycastle/asn1/x509/AlgorithmIdentifier;Ljava/security/Key;)V
3: areturn
end local 3 4: StackMap locals:
StackMap stack: java.security.InvalidKeyException
astore 3
start local 3 5: new org.bouncycastle.operator.OperatorException
dup
ldc "key invalid in message."
aload 3
invokespecial org.bouncycastle.operator.OperatorException.<init>:(Ljava/lang/String;Ljava/lang/Throwable;)V
athrow
end local 3 6: StackMap locals:
StackMap stack: java.security.NoSuchAlgorithmException
astore 3
start local 3 7: new org.bouncycastle.operator.OperatorException
dup
ldc "can't find algorithm."
aload 3
invokespecial org.bouncycastle.operator.OperatorException.<init>:(Ljava/lang/String;Ljava/lang/Throwable;)V
athrow
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lorg/bouncycastle/operator/jcajce/JceSymmetricKeyUnwrapper;
0 8 1 encryptedKeyAlgorithm Lorg/bouncycastle/asn1/x509/AlgorithmIdentifier;
0 8 2 encryptedKey [B
1 4 3 keyCipher Ljavax/crypto/Cipher;
5 6 3 e Ljava/security/InvalidKeyException;
7 8 3 e Ljava/security/NoSuchAlgorithmException;
Exception table:
from to target type
0 3 4 Class java.security.InvalidKeyException
0 3 6 Class java.security.NoSuchAlgorithmException
Exceptions:
throws org.bouncycastle.operator.OperatorException
MethodParameters:
Name Flags
encryptedKeyAlgorithm
encryptedKey
}
SourceFile: "JceSymmetricKeyUnwrapper.java"