Package net.messagevortex.asn1
Class MergePayloadOperation
java.lang.Object
net.messagevortex.asn1.AbstractBlock
net.messagevortex.asn1.Operation
net.messagevortex.asn1.MergePayloadOperation
- All Implemented Interfaces:
Serializable,Block,Dumpable
Represents a merge payload operation.
This operation joins two payloads to one new payload with size first.length+second.length.
- See Also:
-
Field Summary
FieldsFields inherited from class net.messagevortex.asn1.AbstractBlock
CRLF -
Constructor Summary
ConstructorsConstructorDescriptionMergePayloadOperation(org.bouncycastle.asn1.ASN1Encodable object) Create object from ASN.1 code. -
Method Summary
Modifier and TypeMethodDescriptiondumpValueNotation(String prefix, DumpType dumptype) getNewInstance(org.bouncycastle.asn1.ASN1Encodable object) Gets an instance of the object.protected final voidparse(org.bouncycastle.asn1.ASN1Encodable to) org.bouncycastle.asn1.ASN1ObjecttoAsn1Object(DumpType dumpType) Dumps an ASN.1 representation of the object.Methods 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
-
MergePayloadOperation
public MergePayloadOperation(org.bouncycastle.asn1.ASN1Encodable object) Create object from ASN.1 code.
- Parameters:
object- the ASN.1 code
-
-
Method Details
-
parse
protected final void parse(org.bouncycastle.asn1.ASN1Encodable to) - Specified by:
parsein classAbstractBlock
-
dumpValueNotation
- Specified by:
dumpValueNotationin interfaceBlock
-
toAsn1Object
Description copied from interface:DumpableDumps an ASN.1 representation of the object.
- Specified by:
toAsn1Objectin interfaceDumpable- Parameters:
dumpType- the dump type to be used- Returns:
- the ASN.1 string representation of the object
-
getNewInstance
Description copied from class:OperationGets an instance of the object.
- Specified by:
getNewInstancein classOperation- Parameters:
object- the object to be parsed- Returns:
- the parsed operation object
-