aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDimitri Sokolyuk <demon@dim13.org>2015-10-15 20:21:39 +0200
committerDimitri Sokolyuk <demon@dim13.org>2015-10-15 20:21:39 +0200
commitde40727f10119d487e48c07cc27ed81298736a6a (patch)
treed67901ce007d717a04a47b599156872943b52edb
parentaebf74f11639b3606685799d7d4074fc89df3407 (diff)
Add more versions
-rw-r--r--csta/user-information.go29
1 files changed, 26 insertions, 3 deletions
diff --git a/csta/user-information.go b/csta/user-information.go
index f960383..b3c0c62 100644
--- a/csta/user-information.go
+++ b/csta/user-information.go
@@ -5,9 +5,32 @@ package csta
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}
+ 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}, BitLength: 8}
+ Version2 = asn1.BitString{Bytes: []byte{0x40}, BitLength: 8}
+ Version3 = asn1.BitString{Bytes: []byte{0x20}, BitLength: 8}
+ Version4 = asn1.BitString{Bytes: []byte{0x10}, BitLength: 8}
+ Version5 = asn1.BitString{Bytes: []byte{0x08}, BitLength: 8}
+ Version6 = asn1.BitString{Bytes: []byte{0x04}, BitLength: 8}
+ Version7 = asn1.BitString{Bytes: []byte{0x02}, BitLength: 8}
+ Version8 = asn1.BitString{Bytes: []byte{0x01}, BitLength: 8}
+ Version9 = asn1.BitString{Bytes: []byte{0x00, 0x80}, BitLength: 16}
+ Version10 = asn1.BitString{Bytes: []byte{0x00, 0x40}, BitLength: 16}
+ Version11 = asn1.BitString{Bytes: []byte{0x00, 0x20}, BitLength: 16}
+ Version12 = asn1.BitString{Bytes: []byte{0x00, 0x10}, BitLength: 16}
+ Version13 = asn1.BitString{Bytes: []byte{0x00, 0x08}, BitLength: 16}
+ Version14 = asn1.BitString{Bytes: []byte{0x00, 0x04}, BitLength: 16}
+ Version15 = asn1.BitString{Bytes: []byte{0x00, 0x02}, BitLength: 16}
+ Version16 = asn1.BitString{Bytes: []byte{0x00, 0x01}, BitLength: 16}
+ Version17 = asn1.BitString{Bytes: []byte{0x00, 0x00, 0x80}, BitLength: 24}
+ Version18 = asn1.BitString{Bytes: []byte{0x00, 0x00, 0x40}, BitLength: 24}
+ Version19 = asn1.BitString{Bytes: []byte{0x00, 0x00, 0x20}, BitLength: 24}
+ Version20 = asn1.BitString{Bytes: []byte{0x00, 0x00, 0x10}, BitLength: 24}
+ Version21 = asn1.BitString{Bytes: []byte{0x00, 0x00, 0x08}, BitLength: 24}
+ Version22 = asn1.BitString{Bytes: []byte{0x00, 0x00, 0x04}, BitLength: 24}
+ Version23 = asn1.BitString{Bytes: []byte{0x00, 0x00, 0x02}, BitLength: 24}
+ Version24 = asn1.BitString{Bytes: []byte{0x00, 0x00, 0x01}, BitLength: 24}
)
type ACSEUserInformationForCSTA struct {