Package org.verapdf.pdfa.parsers.pkcs7
Class IndefiniteLengthConverter
java.lang.Object
org.verapdf.pdfa.parsers.pkcs7.IndefiniteLengthConverter
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbyte[]
convertBytes
(byte[] indefiniteData) static byte[]
convertStream
(InputStream in, byte lengthByte, byte tag) protected static byte[]
getLenBytes
(int len) static boolean
isIndefinite
(int lenByte) static boolean
isLongForm
(int lenByte)
-
Field Details
-
LENGTH_LONG
public static final int LENGTH_LONG- See Also:
-
-
Constructor Details
-
IndefiniteLengthConverter
public IndefiniteLengthConverter()
-
-
Method Details
-
isIndefinite
public static boolean isIndefinite(int lenByte) -
isLongForm
public static boolean isLongForm(int lenByte) -
convertStream
- Throws:
IOException
-
convertBytes
- Throws:
IOException
-
getLenBytes
protected static byte[] getLenBytes(int len)
-