Mode of operation: | |
Each of the *.in files is XER-decoded, then converted into DER, | |
then decoded back from DER, then encoded into XER again, | |
and finally compared to the original encoding. | |
Naming conventions: | |
*-B.in - The file is intentionally (B)roken | |
*-D.in - Reconstructing should yield (D)ifferent data | |
*-E.in - CXER reconstruction should yield byte-wise identical data. | |
*-X.in - CXER reconstruction should yield non-identical data. | |
Otherwise, a reconstructed buffer should loosely match the original. |