Class SplitPayloadOperation

All Implemented Interfaces:
Serializable, Block, Dumpable

public class SplitPayloadOperation extends Operation implements Serializable
Splits a payload block in two blocks.
See Also:
  • Field Details

  • Constructor Details

    • SplitPayloadOperation

      public SplitPayloadOperation(org.bouncycastle.asn1.ASN1Encodable object) throws IOException
      Throws:
      IOException
  • Method Details

    • parse

      protected final void parse(org.bouncycastle.asn1.ASN1Encodable to) throws IOException
      Specified by:
      parse in class AbstractBlock
      Throws:
      IOException
    • dumpValueNotation

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

      public org.bouncycastle.asn1.ASN1Object toAsn1Object(DumpType dumpType) throws IOException
      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
      Throws:
      IOException - if dumping of the object fails due to an illegal internal state of the object
    • getNewInstance

      public Operation getNewInstance(org.bouncycastle.asn1.ASN1Encodable object) throws IOException
      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
      Throws:
      IOException - if parsing fails