Expand on what is wrong with the IMPLICIT tagging
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15694 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
@@ -2,17 +2,21 @@
|
|||||||
|
|
||||||
CANTHANDLE DEFINITIONS ::= BEGIN
|
CANTHANDLE DEFINITIONS ::= BEGIN
|
||||||
|
|
||||||
-- Don't code the tag [0] as a constructed tag for foo.kaka1,
|
-- Code the tag [1] but not the [ CONTEXT CONS UT_Sequence ] for Kaka2
|
||||||
-- it should be PRIM (and no type field)
|
-- Workaround is to use heim_any, add the wrapping tag and decode type
|
||||||
-- Workaround is to use heim_any and decode type
|
-- Code the tag [2] but it should be primitive since KAKA3 is
|
||||||
|
-- Workaround: use the INTEGER type directly
|
||||||
|
|
||||||
Kaka ::= SEQUENCE {
|
Kaka2 ::= SEQUENCE {
|
||||||
kaka3 [0] INTEGER
|
kaka2-1 [0] INTEGER
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Kaka3 ::= INTEGER
|
||||||
|
|
||||||
Foo ::= SEQUENCE {
|
Foo ::= SEQUENCE {
|
||||||
kaka1 [0] IMPLICIT INTEGER OPTIONAL,
|
kaka1 [0] IMPLICIT INTEGER OPTIONAL,
|
||||||
kaka2 [1] IMPLICIT Kaka OPTIONAL
|
kaka2 [1] IMPLICIT Kaka2 OPTIONAL,
|
||||||
|
kaka3 [2] IMPLICIT Kaka3 OPTIONAL
|
||||||
}
|
}
|
||||||
|
|
||||||
-- Don't code kaka if its 1
|
-- Don't code kaka if its 1
|
||||||
|
Reference in New Issue
Block a user