aboutsummaryrefslogtreecommitdiff
path: root/rose/rose.go
blob: 4500f01ec2e145b2095b5c387ed12d16153ddf6a (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
package rose

import "github.com/dim13/asn1"

// 2.4.6.0

// Invoke is Context-specific Constructed 1
type Invoke struct {
	asn1.Tag `asn1:"tag:1"`
	InvokeId int
	Opcode   int `asn1:"optional"`
	Payload  struct {
		asn1.RawContent
	} `asn1:"optional"`
}

// ReturnResult it Context-specific Constructed 2
type ReturnResult struct {
	asn1.Tag `asn1:"tag:2"`
	InvokeId int
	Result   struct {
		asn1.RawContent `asn1:"optional"`
		Opcode          int `asn1:"optional"`
	}
}