package
0.0.0-20130121074735-1d03baafba06
Repository: https://github.com/icattlecoder/go.git
Documentation: pkg.go.dev

# Functions

Marshal returns the ASN.1 encoding of val.
Unmarshal parses the DER-encoded ASN.1 data structure b and uses the reflect package to fill in an arbitrary value pointed at by val.
UnmarshalWithParams allows field parameters to be specified for the top-level element.

# Structs

BitString is the structure to use when you want an ASN.1 BIT STRING type.
A RawValue represents an undecoded ASN.1 object.
A StructuralError suggests that the ASN.1 data is valid, but the Go type which is receiving it doesn't match.
A SyntaxError suggests that the ASN.1 data is invalid.

# Type aliases

An Enumerated is represented as a plain int.
A Flag accepts any data and is set to true if present.
An ObjectIdentifier represents an ASN.1 OBJECT IDENTIFIER.
RawContent is used to signal that the undecoded, DER data needs to be preserved for a struct.