public class DecryptPayloadOperation extends AbstractCryptPayloadOperation implements Serializable
Modifier and Type | Field and Description |
---|---|
static long |
serialVersionUID |
CRLF
Constructor and Description |
---|
DecryptPayloadOperation(int sourceBlock,
int targetBlock,
SymmetricKey key)
Constructor to create an decrypt operation.
|
Modifier and Type | Method and Description |
---|---|
Operation |
getNewInstance(org.bouncycastle.asn1.ASN1Encodable object)
Gets an instance of the object.
|
dumpValueNotation, parse, toAsn1Object
getTagNumber, setTagNumber
fromBase64, fromHex, parse, prepareDump, toBase64, toBitString, toBytes, toDer, toHex
public static final long serialVersionUID
public DecryptPayloadOperation(int sourceBlock, int targetBlock, SymmetricKey key) throws IOException
Constructor to create an decrypt operation.
sourceBlock
- the ID of the source block in the workspacetargetBlock
- the ID of the target block in the workspacekey
- the key to be used for decryptionIOException
- if key generation fails when creating a new keypublic Operation getNewInstance(org.bouncycastle.asn1.ASN1Encodable object) throws IOException
Operation
Gets an instance of the object.
getNewInstance
in class AbstractCryptPayloadOperation
object
- the object to be parsedIOException
- if parsing failsCopyright © 2023. All rights reserved.