Class MergePayloadOperation

All Implemented Interfaces:
Serializable, Block, Dumpable

public class MergePayloadOperation extends Operation implements Serializable

Represents a merge payload operation.

This operation joins two payloads to one new payload with size first.length+second.length.

See Also:
  • Field Details

  • 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:
      parse in class AbstractBlock
    • dumpValueNotation

      public String dumpValueNotation(String prefix, DumpType dumptype)
      Specified by:
      dumpValueNotation in interface Block
    • toAsn1Object

      public org.bouncycastle.asn1.ASN1Object toAsn1Object(DumpType dumpType)
      Description copied from interface: Dumpable

      Dumps an ASN.1 representation of the object.

      Specified by:
      toAsn1Object in interface Dumpable
      Parameters:
      dumpType - the dump type to be used
      Returns:
      the ASN.1 string representation of the object
    • getNewInstance

      public Operation getNewInstance(org.bouncycastle.asn1.ASN1Encodable object)
      Description copied from class: Operation

      Gets an instance of the object.

      Specified by:
      getNewInstance in class Operation
      Parameters:
      object - the object to be parsed
      Returns:
      the parsed operation object