diff options
author | Björn Gustavsson <[email protected]> | 2012-12-04 12:51:11 +0100 |
---|---|---|
committer | Björn Gustavsson <[email protected]> | 2012-12-06 14:22:37 +0100 |
commit | 9f83121db1cea3f9b3a8f87435b1767285556ab6 (patch) | |
tree | 84e1e2d7165c4e0df1c3ef99b58584876bf0112d /lib/asn1/test/testConstraints.erl | |
parent | e55031640646c7439aff619dcf78bfa76e725109 (diff) | |
download | otp-9f83121db1cea3f9b3a8f87435b1767285556ab6.tar.gz otp-9f83121db1cea3f9b3a8f87435b1767285556ab6.tar.bz2 otp-9f83121db1cea3f9b3a8f87435b1767285556ab6.zip |
Implement encoding of fragmented OCTET STRINGs
Decoding of a fragmented OCTET STRING with the size constrained to a
single value is implemented, but encoding is not implemented, and
decoding is not tested in any test case.
There is no urgent need to support encoding of fragmented OCTET STRINGs,
but not being able to encode such values complicates testing of decoding.
For example, eif we add the following type to PrimStrings.asn1 in the test
suite:
FixedOs65536 ::= OCTET STRING (SIZE (65536))
then asn1ct:test('PrimStrings') will fail because this value cannot
be encoded.
Diffstat (limited to 'lib/asn1/test/testConstraints.erl')
0 files changed, 0 insertions, 0 deletions