Description

Marshal returns the ASN.1 encoding of val.

In addition to the struct tags recognised by Unmarshal, the following can be used:

ia5:		causes strings to be marshaled as ASN.1, IA5 strings
omitempty:	causes empty slices to be skipped
printable:	causes strings to be marshaled as ASN.1, PrintableString strings.
utf8:		causes strings to be marshaled as ASN.1, UTF8 strings