OCTET STRING Value

ASN.1 values of type OCTET STRING are mapped to Go variables of type []byte. The ASN.1 values may be defined using binary or hexadecimal strings. If a binary string is used and the bit count is not evenly divisible by eight, the last byte is zero-padded on the right with zero bits to form a full byte.

ASN.1 production:

   <name> OCTET STRING ::= '<hstring>'H

Generated code :

   var Asn1v<name> []byte = []byte{<data>}}

where <data> would be a comma-separated list of hexadeciaml byte constants.