Package net.messagevortex.asn1
Class DecryptPayloadOperation
java.lang.Object
net.messagevortex.asn1.AbstractBlock
net.messagevortex.asn1.Operation
net.messagevortex.asn1.AbstractCryptPayloadOperation
net.messagevortex.asn1.DecryptPayloadOperation
- All Implemented Interfaces:
Serializable,Block,Dumpable
- See Also:
-
Field Summary
FieldsFields inherited from class net.messagevortex.asn1.AbstractBlock
CRLF -
Constructor Summary
ConstructorsConstructorDescriptionDecryptPayloadOperation(int sourceBlock, int targetBlock, SymmetricKey key) Constructor to create an decrypt operation. -
Method Summary
Modifier and TypeMethodDescriptiongetNewInstance(org.bouncycastle.asn1.ASN1Encodable object) Gets an instance of the object.Methods inherited from class net.messagevortex.asn1.AbstractCryptPayloadOperation
dumpValueNotation, parse, toAsn1ObjectMethods inherited from class net.messagevortex.asn1.Operation
getTagNumber, setTagNumberMethods inherited from class net.messagevortex.asn1.AbstractBlock
fromBase64, fromHex, parse, prepareDump, toBase64, toBitString, toBytes, toDer, toHex
-
Field Details
-
serialVersionUID
public static final long serialVersionUID- See Also:
-
-
Constructor Details
-
DecryptPayloadOperation
public DecryptPayloadOperation(int sourceBlock, int targetBlock, SymmetricKey key) throws IOException Constructor to create an decrypt operation.
- Parameters:
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 decryption- Throws:
IOException- if key generation fails when creating a new key
-
-
Method Details
-
getNewInstance
Description copied from class:OperationGets an instance of the object.
- Specified by:
getNewInstancein classAbstractCryptPayloadOperation- Parameters:
object- the object to be parsed- Returns:
- the parsed operation object
- Throws:
IOException- if parsing fails
-