aboutsummaryrefslogtreecommitdiff
path: root/rose/rose.go
diff options
context:
space:
mode:
Diffstat (limited to 'rose/rose.go')
-rw-r--r--rose/rose.go11
1 files changed, 4 insertions, 7 deletions
diff --git a/rose/rose.go b/rose/rose.go
index 3ceffd3..f5cafbb 100644
--- a/rose/rose.go
+++ b/rose/rose.go
@@ -4,17 +4,14 @@ 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
+ Payload struct {
+ asn1.RawContent
+ }
}
// ReturnResult it Context-specific Constructed 2
@@ -22,7 +19,7 @@ type ReturnResult struct {
asn1.Tag `asn1:"tag:2"`
InvokeId int
Result struct {
+ asn1.RawContent
Opcode int
- Payload
}
}