aboutsummaryrefslogtreecommitdiff
path: root/CSTA
diff options
context:
space:
mode:
authorDimitri Sokolyuk <demon@dim13.org>2015-06-28 00:11:55 +0200
committerDimitri Sokolyuk <demon@dim13.org>2015-06-28 00:11:55 +0200
commit7d3f0a811c733ac73817f5049562b6ebab2abc28 (patch)
tree76cd5a40e742cc46a26aa127ba3f1ddd3aea9724 /CSTA
parentda303a309a15cf0aa890c638445c1649201dd678 (diff)
Add basic acse definitions
Diffstat (limited to 'CSTA')
-rw-r--r--CSTA/user-information.go40
1 files changed, 40 insertions, 0 deletions
diff --git a/CSTA/user-information.go b/CSTA/user-information.go
new file mode 100644
index 0000000..aa8cd7f
--- /dev/null
+++ b/CSTA/user-information.go
@@ -0,0 +1,40 @@
+package csta
+
+// 1.3.12.0.285.200
+
+var OID = []int{1, 3, 12, 0, 285, 200}
+
+type ACSEUserInformationForCSTA struct {
+ NewDefinition struct { // 0 implicit
+ CSTAVersion CSTAVersion
+ }
+}
+
+type CSTAVersion byte
+
+const (
+ VersionOne CSTAVersion = 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
+)