aboutsummaryrefslogtreecommitdiff
path: root/csta/user-information.go
blob: f96038364243543997242956034aba11271d49a2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
package csta

// 1.3.12.0.285.200

import "github.com/dim13/asn1"

var (
	CSTA     = asn1.ObjectIdentifier([]int{1, 3, 12, 0, 218})
	OID      = asn1.ObjectIdentifier([]int{1, 3, 12, 0, 285, 200})
	Version5 = asn1.BitString{Bytes: []byte{0x08, 0x00}, BitLength: 16}
)

type ACSEUserInformationForCSTA struct {
	NewDefinition struct { // 0 implicit
		CSTAVersion CSTAVersion
	}
}

type CSTAVersion int

const (
	VersionOne         CSTAVersion = 1 << iota // ECMA-180
	VersionTwo                                 // ECMA-218
	VersionThree                               // ECMA-285, 1st Edition
	VersionFour                                // ISO/IEC 18952
	VersionFive                                // ECMA-285, 2nd Edition
	VersionSix                                 // ECMA-323
	VersionSeven                               // ECMA-323, 2nd Edition
	VersionEight                               // ECMA-323, 3rd Edition
	VersionNine                                // ECMA-323, 4th Edition, Tag option
	VersionTen                                 // ECMA-323, 4th Edition, short Tag option
	VersionEleven                              // ECMA-323, 4th Edition, dynamic transformation option
	VersionTwelve                              // ECMA-323, 5th Edition, Tag option
	VersionThirteen                            // ECMA-323, 5th Edition, short option
	VersionFourteen                            // ECMA-323, 5th Edition, dynamic transformation option
	VersionFifteen                             // ECMA-285, 3rd Edition
	VersionSixteen                             // ECMA-323, 6th Edition, Tag option
	VersionSeventeen                           // ECMA-323, 6th Edition, short Tag option
	VersionEighteen                            // ECMA-323, 6th Edition, dynamic transformatin option
	VersionNineteen                            // ECMA-285, 4th Edition
	VersionTwenty                              // Reserved for future use
	VersionTwentyone                           // Reserved for future use
	VersionTwentytwo                           // Reserved for future use
	VersionTwentythree                         // Reserved for future use
	VersionTwentyfour                          // Reserved for future use
)