Class IndefiniteLengthConverter

java.lang.Object
org.verapdf.pdfa.parsers.pkcs7.IndefiniteLengthConverter

public class IndefiniteLengthConverter extends Object
  • Field Details

  • Constructor Details

    • IndefiniteLengthConverter

      public IndefiniteLengthConverter()
  • Method Details

    • isIndefinite

      public static boolean isIndefinite(int lenByte)
    • isLongForm

      public static boolean isLongForm(int lenByte)
    • convertStream

      public static byte[] convertStream(InputStream in, byte lengthByte, byte tag) throws IOException
      Throws:
      IOException
    • convertBytes

      public byte[] convertBytes(byte[] indefiniteData) throws IOException
      Throws:
      IOException
    • getLenBytes

      protected static byte[] getLenBytes(int len)