Skip to content
Snippets Groups Projects
Commit 449f8324 authored by Lev Walkin's avatar Lev Walkin
Browse files

new constraints model

parent e64460f6
No related branches found
No related tags found
No related merge requests found
Showing
with 21 additions and 0 deletions
...@@ -23,6 +23,7 @@ asn1_TYPE_descriptor_t asn1_DEF_BIT_STRING = { ...@@ -23,6 +23,7 @@ asn1_TYPE_descriptor_t asn1_DEF_BIT_STRING = {
/ sizeof(asn1_DEF_BIT_STRING_tags[0]), / sizeof(asn1_DEF_BIT_STRING_tags[0]),
1, /* Single UNIVERSAL tag may be implicitly overriden */ 1, /* Single UNIVERSAL tag may be implicitly overriden */
-1, /* Both ways are fine */ -1, /* Both ways are fine */
0, 0, /* No members */
(void *)-1 /* Special indicator that this is a BIT STRING */ (void *)-1 /* Special indicator that this is a BIT STRING */
}; };
......
...@@ -23,6 +23,7 @@ asn1_TYPE_descriptor_t asn1_DEF_BMPString = { ...@@ -23,6 +23,7 @@ asn1_TYPE_descriptor_t asn1_DEF_BMPString = {
/ sizeof(asn1_DEF_BMPString_tags[0]), / sizeof(asn1_DEF_BMPString_tags[0]),
1, /* Single UNIVERSAL tag may be implicitly overriden */ 1, /* Single UNIVERSAL tag may be implicitly overriden */
-1, /* Both ways are fine */ -1, /* Both ways are fine */
0, 0, /* No members */
0 /* No specifics */ 0 /* No specifics */
}; };
......
...@@ -22,6 +22,7 @@ asn1_TYPE_descriptor_t asn1_DEF_BOOLEAN = { ...@@ -22,6 +22,7 @@ asn1_TYPE_descriptor_t asn1_DEF_BOOLEAN = {
sizeof(asn1_DEF_BOOLEAN_tags)/sizeof(asn1_DEF_BOOLEAN_tags[0]), sizeof(asn1_DEF_BOOLEAN_tags)/sizeof(asn1_DEF_BOOLEAN_tags[0]),
1, /* Single UNIVERSAL tag may be implicitly overriden */ 1, /* Single UNIVERSAL tag may be implicitly overriden */
0, /* Always in primitive form */ 0, /* Always in primitive form */
0, 0, /* No members */
0 /* No specifics */ 0 /* No specifics */
}; };
......
...@@ -22,6 +22,7 @@ asn1_TYPE_descriptor_t asn1_DEF_ENUMERATED = { ...@@ -22,6 +22,7 @@ asn1_TYPE_descriptor_t asn1_DEF_ENUMERATED = {
sizeof(asn1_DEF_ENUMERATED_tags)/sizeof(asn1_DEF_ENUMERATED_tags[0]), sizeof(asn1_DEF_ENUMERATED_tags)/sizeof(asn1_DEF_ENUMERATED_tags[0]),
1, /* Single UNIVERSAL tag may be implicitly overriden */ 1, /* Single UNIVERSAL tag may be implicitly overriden */
0, /* Primitive */ 0, /* Primitive */
0, 0, /* No members */
0 /* No specifics */ 0 /* No specifics */
}; };
...@@ -23,6 +23,7 @@ asn1_TYPE_descriptor_t asn1_DEF_GeneralString = { ...@@ -23,6 +23,7 @@ asn1_TYPE_descriptor_t asn1_DEF_GeneralString = {
/ sizeof(asn1_DEF_GeneralString_tags[0]), / sizeof(asn1_DEF_GeneralString_tags[0]),
1, /* Single UNIVERSAL tag may be implicitly overriden */ 1, /* Single UNIVERSAL tag may be implicitly overriden */
-1, /* Both ways are fine */ -1, /* Both ways are fine */
0, 0, /* No members */
0 /* No specifics */ 0 /* No specifics */
}; };
...@@ -88,6 +88,7 @@ asn1_TYPE_descriptor_t asn1_DEF_GeneralizedTime = { ...@@ -88,6 +88,7 @@ asn1_TYPE_descriptor_t asn1_DEF_GeneralizedTime = {
/ sizeof(asn1_DEF_GeneralizedTime_tags[0]), / sizeof(asn1_DEF_GeneralizedTime_tags[0]),
1, /* Single UNIVERSAL tag may be implicitly overriden */ 1, /* Single UNIVERSAL tag may be implicitly overriden */
-1, /* Both ways are fine */ -1, /* Both ways are fine */
0, 0, /* No members */
0 /* No specifics */ 0 /* No specifics */
}; };
......
...@@ -23,6 +23,7 @@ asn1_TYPE_descriptor_t asn1_DEF_GraphicString = { ...@@ -23,6 +23,7 @@ asn1_TYPE_descriptor_t asn1_DEF_GraphicString = {
/ sizeof(asn1_DEF_GraphicString_tags[0]), / sizeof(asn1_DEF_GraphicString_tags[0]),
1, /* Single UNIVERSAL tag may be implicitly overriden */ 1, /* Single UNIVERSAL tag may be implicitly overriden */
-1, /* Both ways are fine */ -1, /* Both ways are fine */
0, 0, /* No members */
0 /* No specifics */ 0 /* No specifics */
}; };
...@@ -23,6 +23,7 @@ asn1_TYPE_descriptor_t asn1_DEF_IA5String = { ...@@ -23,6 +23,7 @@ asn1_TYPE_descriptor_t asn1_DEF_IA5String = {
/ sizeof(asn1_DEF_IA5String_tags[0]), / sizeof(asn1_DEF_IA5String_tags[0]),
1, /* Single UNIVERSAL tag may be implicitly overriden */ 1, /* Single UNIVERSAL tag may be implicitly overriden */
-1, /* Both ways are fine */ -1, /* Both ways are fine */
0, 0, /* No members */
0 /* No specifics */ 0 /* No specifics */
}; };
......
...@@ -24,6 +24,7 @@ asn1_TYPE_descriptor_t asn1_DEF_INTEGER = { ...@@ -24,6 +24,7 @@ asn1_TYPE_descriptor_t asn1_DEF_INTEGER = {
sizeof(asn1_DEF_INTEGER_tags)/sizeof(asn1_DEF_INTEGER_tags[0]), sizeof(asn1_DEF_INTEGER_tags)/sizeof(asn1_DEF_INTEGER_tags[0]),
1, /* Single UNIVERSAL tag may be implicitly overriden */ 1, /* Single UNIVERSAL tag may be implicitly overriden */
0, /* Always in primitive form */ 0, /* Always in primitive form */
0, 0, /* No members */
0 /* No specifics */ 0 /* No specifics */
}; };
......
...@@ -23,6 +23,7 @@ asn1_TYPE_descriptor_t asn1_DEF_ISO646String = { ...@@ -23,6 +23,7 @@ asn1_TYPE_descriptor_t asn1_DEF_ISO646String = {
/ sizeof(asn1_DEF_ISO646String_tags[0]), / sizeof(asn1_DEF_ISO646String_tags[0]),
1, /* Single UNIVERSAL tag may be implicitly overriden */ 1, /* Single UNIVERSAL tag may be implicitly overriden */
-1, /* Both ways are fine */ -1, /* Both ways are fine */
0, 0, /* No members */
0 /* No specifics */ 0 /* No specifics */
}; };
...@@ -23,6 +23,7 @@ asn1_TYPE_descriptor_t asn1_DEF_NULL = { ...@@ -23,6 +23,7 @@ asn1_TYPE_descriptor_t asn1_DEF_NULL = {
sizeof(asn1_DEF_NULL_tags)/sizeof(asn1_DEF_NULL_tags[0]), sizeof(asn1_DEF_NULL_tags)/sizeof(asn1_DEF_NULL_tags[0]),
1, /* Single UNIVERSAL tag may be implicitly overriden */ 1, /* Single UNIVERSAL tag may be implicitly overriden */
0, /* Always in primitive form */ 0, /* Always in primitive form */
0, 0, /* No members */
0 /* No specifics */ 0 /* No specifics */
}; };
......
...@@ -29,5 +29,7 @@ asn1_TYPE_descriptor_t asn1_DEF_NativeEnumerated = { ...@@ -29,5 +29,7 @@ asn1_TYPE_descriptor_t asn1_DEF_NativeEnumerated = {
sizeof(asn1_DEF_NativeEnumerated_tags)/sizeof(asn1_DEF_NativeEnumerated_tags[0]), sizeof(asn1_DEF_NativeEnumerated_tags)/sizeof(asn1_DEF_NativeEnumerated_tags[0]),
1, /* Single UNIVERSAL tag may be implicitly overriden */ 1, /* Single UNIVERSAL tag may be implicitly overriden */
0, /* Always in primitive form */ 0, /* Always in primitive form */
0, 0, /* No members */
0 /* No specifics */ 0 /* No specifics */
}; };
...@@ -31,6 +31,7 @@ asn1_TYPE_descriptor_t asn1_DEF_NativeInteger = { ...@@ -31,6 +31,7 @@ asn1_TYPE_descriptor_t asn1_DEF_NativeInteger = {
sizeof(asn1_DEF_NativeInteger_tags)/sizeof(asn1_DEF_NativeInteger_tags[0]), sizeof(asn1_DEF_NativeInteger_tags)/sizeof(asn1_DEF_NativeInteger_tags[0]),
1, /* Single UNIVERSAL tag may be implicitly overriden */ 1, /* Single UNIVERSAL tag may be implicitly overriden */
0, /* Always in primitive form */ 0, /* Always in primitive form */
0, 0, /* No members */
0 /* No specifics */ 0 /* No specifics */
}; };
......
...@@ -23,6 +23,7 @@ asn1_TYPE_descriptor_t asn1_DEF_NumericString = { ...@@ -23,6 +23,7 @@ asn1_TYPE_descriptor_t asn1_DEF_NumericString = {
/ sizeof(asn1_DEF_NumericString_tags[0]), / sizeof(asn1_DEF_NumericString_tags[0]),
1, /* Single UNIVERSAL tag may be implicitly overriden */ 1, /* Single UNIVERSAL tag may be implicitly overriden */
-1, /* Both ways are fine */ -1, /* Both ways are fine */
0, 0, /* No members */
0 /* No specifics */ 0 /* No specifics */
}; };
......
...@@ -26,6 +26,7 @@ asn1_TYPE_descriptor_t asn1_DEF_OBJECT_IDENTIFIER = { ...@@ -26,6 +26,7 @@ asn1_TYPE_descriptor_t asn1_DEF_OBJECT_IDENTIFIER = {
/ sizeof(asn1_DEF_OBJECT_IDENTIFIER_tags[0]), / sizeof(asn1_DEF_OBJECT_IDENTIFIER_tags[0]),
1, /* Single UNIVERSAL tag may be implicitly overriden */ 1, /* Single UNIVERSAL tag may be implicitly overriden */
0, /* Always in primitive form */ 0, /* Always in primitive form */
0, 0, /* No members */
0 /* No specifics */ 0 /* No specifics */
}; };
......
...@@ -25,6 +25,7 @@ asn1_TYPE_descriptor_t asn1_DEF_OCTET_STRING = { ...@@ -25,6 +25,7 @@ asn1_TYPE_descriptor_t asn1_DEF_OCTET_STRING = {
/ sizeof(asn1_DEF_OCTET_STRING_tags[0]), / sizeof(asn1_DEF_OCTET_STRING_tags[0]),
1, /* Single UNIVERSAL tag may be implicitly overriden */ 1, /* Single UNIVERSAL tag may be implicitly overriden */
-1, /* Both ways are fine (primitive and constructed) */ -1, /* Both ways are fine (primitive and constructed) */
0, 0, /* No members */
0 /* No specifics */ 0 /* No specifics */
}; };
......
...@@ -23,6 +23,7 @@ asn1_TYPE_descriptor_t asn1_DEF_ObjectDescriptor = { ...@@ -23,6 +23,7 @@ asn1_TYPE_descriptor_t asn1_DEF_ObjectDescriptor = {
/ sizeof(asn1_DEF_ObjectDescriptor_tags[0]), / sizeof(asn1_DEF_ObjectDescriptor_tags[0]),
1, /* Single UNIVERSAL tag may be implicitly overriden */ 1, /* Single UNIVERSAL tag may be implicitly overriden */
-1, /* Both ways are fine */ -1, /* Both ways are fine */
0, 0, /* No members */
0 /* No specifics */ 0 /* No specifics */
}; };
...@@ -23,6 +23,7 @@ asn1_TYPE_descriptor_t asn1_DEF_PrintableString = { ...@@ -23,6 +23,7 @@ asn1_TYPE_descriptor_t asn1_DEF_PrintableString = {
/ sizeof(asn1_DEF_PrintableString_tags[0]), / sizeof(asn1_DEF_PrintableString_tags[0]),
1, /* Single UNIVERSAL tag may be implicitly overriden */ 1, /* Single UNIVERSAL tag may be implicitly overriden */
-1, /* Both ways are fine */ -1, /* Both ways are fine */
0, 0, /* No members */
0 /* No specifics */ 0 /* No specifics */
}; };
......
...@@ -26,6 +26,7 @@ asn1_TYPE_descriptor_t asn1_DEF_RELATIVE_OID = { ...@@ -26,6 +26,7 @@ asn1_TYPE_descriptor_t asn1_DEF_RELATIVE_OID = {
/ sizeof(asn1_DEF_RELATIVE_OID_tags[0]), / sizeof(asn1_DEF_RELATIVE_OID_tags[0]),
1, /* Single UNIVERSAL tag may be implicitly overriden */ 1, /* Single UNIVERSAL tag may be implicitly overriden */
0, /* Always in primitive form */ 0, /* Always in primitive form */
0, 0, /* No members */
0 /* No specifics */ 0 /* No specifics */
}; };
......
...@@ -23,6 +23,7 @@ asn1_TYPE_descriptor_t asn1_DEF_T61String = { ...@@ -23,6 +23,7 @@ asn1_TYPE_descriptor_t asn1_DEF_T61String = {
/ sizeof(asn1_DEF_T61String_tags[0]), / sizeof(asn1_DEF_T61String_tags[0]),
1, /* Single UNIVERSAL tag may be implicitly overriden */ 1, /* Single UNIVERSAL tag may be implicitly overriden */
-1, /* Both ways are fine */ -1, /* Both ways are fine */
0, 0, /* No members */
0 /* No specifics */ 0 /* No specifics */
}; };
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment