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

import "github.com/dim13/asn1"

// 2.4.6.0

// Payload contains RawContent
type Payload struct {
	asn1.RawContent
}

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

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