public class org.bouncycastle.operator.bc.BcSymmetricKeyUnwrapper extends org.bouncycastle.operator.SymmetricKeyUnwrapper
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.bouncycastle.operator.bc.BcSymmetricKeyUnwrapper
super_class: org.bouncycastle.operator.SymmetricKeyUnwrapper
{
private java.security.SecureRandom random;
descriptor: Ljava/security/SecureRandom;
flags: (0x0002) ACC_PRIVATE
private org.bouncycastle.crypto.Wrapper wrapper;
descriptor: Lorg/bouncycastle/crypto/Wrapper;
flags: (0x0002) ACC_PRIVATE
private org.bouncycastle.crypto.params.KeyParameter wrappingKey;
descriptor: Lorg/bouncycastle/crypto/params/KeyParameter;
flags: (0x0002) ACC_PRIVATE
public void <init>(org.bouncycastle.asn1.x509.AlgorithmIdentifier, org.bouncycastle.crypto.Wrapper, org.bouncycastle.crypto.params.KeyParameter);
descriptor: (Lorg/bouncycastle/asn1/x509/AlgorithmIdentifier;Lorg/bouncycastle/crypto/Wrapper;Lorg/bouncycastle/crypto/params/KeyParameter;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
aload 1
invokespecial org.bouncycastle.operator.SymmetricKeyUnwrapper.<init>:(Lorg/bouncycastle/asn1/x509/AlgorithmIdentifier;)V
1: aload 0
aload 2
putfield org.bouncycastle.operator.bc.BcSymmetricKeyUnwrapper.wrapper:Lorg/bouncycastle/crypto/Wrapper;
2: aload 0
aload 3
putfield org.bouncycastle.operator.bc.BcSymmetricKeyUnwrapper.wrappingKey:Lorg/bouncycastle/crypto/params/KeyParameter;
3: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/bouncycastle/operator/bc/BcSymmetricKeyUnwrapper;
0 4 1 wrappingAlgorithm Lorg/bouncycastle/asn1/x509/AlgorithmIdentifier;
0 4 2 wrapper Lorg/bouncycastle/crypto/Wrapper;
0 4 3 wrappingKey Lorg/bouncycastle/crypto/params/KeyParameter;
MethodParameters:
Name Flags
wrappingAlgorithm
wrapper
wrappingKey
public org.bouncycastle.operator.bc.BcSymmetricKeyUnwrapper setSecureRandom(java.security.SecureRandom);
descriptor: (Ljava/security/SecureRandom;)Lorg/bouncycastle/operator/bc/BcSymmetricKeyUnwrapper;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
putfield org.bouncycastle.operator.bc.BcSymmetricKeyUnwrapper.random:Ljava/security/SecureRandom;
1: aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/bouncycastle/operator/bc/BcSymmetricKeyUnwrapper;
0 2 1 random Ljava/security/SecureRandom;
MethodParameters:
Name Flags
random
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.bc.BcSymmetricKeyUnwrapper.wrapper:Lorg/bouncycastle/crypto/Wrapper;
iconst_0
aload 0
getfield org.bouncycastle.operator.bc.BcSymmetricKeyUnwrapper.wrappingKey:Lorg/bouncycastle/crypto/params/KeyParameter;
invokeinterface org.bouncycastle.crypto.Wrapper.init:(ZLorg/bouncycastle/crypto/CipherParameters;)V
1: new org.bouncycastle.operator.GenericKey
dup
aload 1
aload 0
getfield org.bouncycastle.operator.bc.BcSymmetricKeyUnwrapper.wrapper:Lorg/bouncycastle/crypto/Wrapper;
aload 2
iconst_0
aload 2
arraylength
invokeinterface org.bouncycastle.crypto.Wrapper.unwrap:([BII)[B
invokespecial org.bouncycastle.operator.GenericKey.<init>:(Lorg/bouncycastle/asn1/x509/AlgorithmIdentifier;[B)V
2: areturn
3: StackMap locals:
StackMap stack: org.bouncycastle.crypto.InvalidCipherTextException
astore 3
start local 3 4: new org.bouncycastle.operator.OperatorException
dup
new java.lang.StringBuilder
dup
ldc "unable to unwrap key: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 3
invokevirtual org.bouncycastle.crypto.InvalidCipherTextException.getMessage:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
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 5 0 this Lorg/bouncycastle/operator/bc/BcSymmetricKeyUnwrapper;
0 5 1 encryptedKeyAlgorithm Lorg/bouncycastle/asn1/x509/AlgorithmIdentifier;
0 5 2 encryptedKey [B
4 5 3 e Lorg/bouncycastle/crypto/InvalidCipherTextException;
Exception table:
from to target type
1 2 3 Class org.bouncycastle.crypto.InvalidCipherTextException
Exceptions:
throws org.bouncycastle.operator.OperatorException
MethodParameters:
Name Flags
encryptedKeyAlgorithm
encryptedKey
}
SourceFile: "BcSymmetricKeyUnwrapper.java"