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
|
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})
Version1 = asn1.BitString{Bytes: []byte{0x80, 0x00}, BitLength: 16} // ECMA-180
Version2 = asn1.BitString{Bytes: []byte{0x40, 0x00}, BitLength: 16} // ECMA-218
Version3 = asn1.BitString{Bytes: []byte{0x20, 0x00}, BitLength: 16} // ECMA-285, 1st Edition
Version4 = asn1.BitString{Bytes: []byte{0x10, 0x00}, BitLength: 16} // ISO/IEC 18952
Version5 = asn1.BitString{Bytes: []byte{0x08, 0x00}, BitLength: 16} // ECMA-285, 2nd Edition
Version6 = asn1.BitString{Bytes: []byte{0x04, 0x00}, BitLength: 16} // ECMA-323
Version7 = asn1.BitString{Bytes: []byte{0x02, 0x00}, BitLength: 16} // ECMA-323, 2nd Edition
Version8 = asn1.BitString{Bytes: []byte{0x01, 0x00}, BitLength: 16} // ECMA-323, 3rd Edition
Version9 = asn1.BitString{Bytes: []byte{0x00, 0x80}, BitLength: 16} // ECMA-323, 4th Edition, Tag option
Version10 = asn1.BitString{Bytes: []byte{0x00, 0x40}, BitLength: 16} // ECMA-323, 4th Edition, short Tag option
Version11 = asn1.BitString{Bytes: []byte{0x00, 0x20}, BitLength: 16} // ECMA-323, 4th Edition, dynamic transformation option
Version12 = asn1.BitString{Bytes: []byte{0x00, 0x10}, BitLength: 16} // ECMA-323, 5th Edition, Tag option
Version13 = asn1.BitString{Bytes: []byte{0x00, 0x08}, BitLength: 16} // ECMA-323, 5th Edition, short option
Version14 = asn1.BitString{Bytes: []byte{0x00, 0x04}, BitLength: 16} // ECMA-323, 5th Edition, dynamic transformation option
Version15 = asn1.BitString{Bytes: []byte{0x00, 0x02}, BitLength: 16} // ECMA-285, 3rd Edition
Version16 = asn1.BitString{Bytes: []byte{0x00, 0x01}, BitLength: 16} // ECMA-323, 6th Edition, Tag option
Version17 = asn1.BitString{Bytes: []byte{0x00, 0x00, 0x80}, BitLength: 24} // ECMA-323, 6th Edition, short Tag option
Version18 = asn1.BitString{Bytes: []byte{0x00, 0x00, 0x40}, BitLength: 24} // ECMA-323, 6th Edition, dynamic transformatin option
Version19 = asn1.BitString{Bytes: []byte{0x00, 0x00, 0x20}, BitLength: 24} // ECMA-285, 4th Edition
Version20 = asn1.BitString{Bytes: []byte{0x00, 0x00, 0x10}, BitLength: 24} // Reserved for future use
Version21 = asn1.BitString{Bytes: []byte{0x00, 0x00, 0x08}, BitLength: 24} // Reserved for future use
Version22 = asn1.BitString{Bytes: []byte{0x00, 0x00, 0x04}, BitLength: 24} // Reserved for future use
Version23 = asn1.BitString{Bytes: []byte{0x00, 0x00, 0x02}, BitLength: 24} // Reserved for future use
Version24 = asn1.BitString{Bytes: []byte{0x00, 0x00, 0x01}, BitLength: 24} // Reserved for future use
)
type ACSEUserInformationForCSTA struct {
NewDefinition `asn1:"tag:0"`
}
type NewDefinition struct {
CSTAVersion asn1.BitString
}
|