Expand description
ASN.1 SET OF support.
ยงOrdering Notes
Some DER serializer implementations fail to properly sort elements of a SET OF. This is
technically non-canonical, but occurs frequently enough that most DER decoders tolerate it.
When decoding with EncodingRules::Der, this implementation sorts the elements of SET OF at
decode-time to ensure reserializations are canonical.
Modulesยง
- allocating ๐
Structsยง
- SetOf
Iter - Iterator over the elements of an [
SetOf]. - SetOf
Ref - ASN.1
SET OFwith a reference to an array. - SetOf
RefIter - Iterator over the elements of an
SetOfRef. - SetOf
Vec - ASN.1
SET OFbacked by aVec.
Enumsยง
- Inner
Iter ๐Ref - Inner
Ref ๐
Functionsยง
- check_
der_ ๐ordering - Ensure set elements are lexicographically ordered using
DerOrd. - der_
sort ๐ - Sort a mut slice according to its
DerOrd, returning any errors which might occur during the comparison.