proposal: encoding/asn1: allow setting params on elements of slices #39027
encoding/asn1 currently provides a number of struct field tags to manipulate how fields are parsed/encoded, notably setting the time type, string type, or marking slices or structs as a SET rather than a SEQUENCE.
Unfortunately it is impossible to set these fields on elements of a slice. This makes it impossible to encode certain things like
The only real workaround for this is manually encoding/parsing each element of a slice with
Ideally there would be a way to set parameters for each member of the slice. Probably the simplest solution to this problem would be adding a new struct tag,
to be encoded as a
The text was updated successfully, but these errors were encountered: