Home | History | Annotate | Download | only in asn1

Lines Matching refs:Tag

9 // Tag represents an ASN.1 identifier octet, consisting of a tag number
12 // Methods in the cryptobyte package only support the low-tag-number form, i.e.
14 // encoding the tag number.
15 type Tag uint8
23 func (t Tag) Constructed() Tag { return t | classConstructed }
26 func (t Tag) ContextSpecific() Tag { return t | classContextSpecific }
28 // The following is a list of standard tag and class combinations.
30 BOOLEAN = Tag(1)
31 INTEGER = Tag(2)
32 BIT_STRING = Tag(3)
33 OCTET_STRING = Tag(4)
34 NULL = Tag(5)
35 OBJECT_IDENTIFIER = Tag(6)
36 ENUM = Tag(10)
37 UTF8String = Tag(12)
38 SEQUENCE = Tag(16 | classConstructed)
39 SET = Tag(17 | classConstructed)
40 PrintableString = Tag(19)
41 T61String = Tag(20)
42 IA5String = Tag(22)
43 UTCTime = Tag(23)
44 GeneralizedTime = Tag(24)
45 GeneralString = Tag(27)