Home | History | Annotate | Download | only in asn1

Lines Matching refs:ASN

5 // Package asn1 implements parsing of DER-encoded ASN.1 data structures,
8 // See also ``A Layman's Guide to a Subset of ASN.1, BER, and DER,''
12 // ASN.1 is a syntax for specifying abstract objects and BER, DER, PER, XER etc
19 // ASN.1 is very complex and this package doesn't attempt to implement
32 // A StructuralError suggests that the ASN.1 data is valid, but the Go type
40 // A SyntaxError suggests that the ASN.1 data is invalid.
129 // BitString is the structure to use when you want an ASN.1 BIT STRING type. A
166 // parseBitString parses an ASN.1 bit string from the given byte slice and returns it.
186 // An ObjectIdentifier represents an ASN.1 OBJECT IDENTIFIER.
335 // parsePrintableString parses a ASN.1 PrintableString from the given byte
348 // isPrintable reports whether the given b is in the ASN.1 PrintableString set.
367 // parseIA5String parses a ASN.1 IA5String (ASCII string) from the given
382 // parseT61String parses a ASN.1 T61String (8-bit clean string) from the given
390 // parseUTF8String parses a ASN.1 UTF8String (raw UTF-8) from the given byte
399 // A RawValue represents an undecoded ASN.1 object.
414 // parseTagAndLength parses an ASN.1 tag and length pair from the given offset
484 // a number of ASN.1 values from the given byte slice and returns them as a
554 // into the array, it will try to parse a suitable ASN.1 value out and store it
678 // Special case for strings: all the ASN.1 string types map to the Go
897 // Unmarshal parses the DER-encoded ASN.1 data structure b
902 // An ASN.1 INTEGER can be written to an int, int32, int64,
907 // An ASN.1 BIT STRING can be written to a BitString.
909 // An ASN.1 OCTET STRING can be written to a []byte.
911 // An ASN.1 OBJECT IDENTIFIER can be written to an
914 // An ASN.1 ENUMERATED can be written to an Enumerated.
916 // An ASN.1 UTCTIME or GENERALIZEDTIME can be written to a time.Time.
918 // An ASN.1 PrintableString or IA5String can be written to a string.
920 // Any of the above ASN.1 values can be written to an interface{}.
924 // An ASN.1 SEQUENCE OF x or SET OF x can be written
927 // An ASN.1 SEQUENCE or SET can be written to a struct
936 // optional marks the field as ASN.1 OPTIONAL
938 // tag:x specifies the ASN.1 tag number; implies ASN.1 CONTEXT SPECIFIC
947 // Other ASN.1 types are not supported; if it encounters them,