8#include "SharedAtRequest.h"
11memb_keyTag_constraint_1(
const asn_TYPE_descriptor_t *td,
const void *sptr,
12 asn_app_constraint_failed_f *ctfailcb,
void *app_key) {
13 const OCTET_STRING_t *st = (
const OCTET_STRING_t *)sptr;
17 ASN__CTFAIL(app_key, td, sptr,
18 "%s: value not given (%s:%d)",
19 td->name, __FILE__, __LINE__);
29 ASN__CTFAIL(app_key, td, sptr,
30 "%s: constraint failed (%s:%d)",
31 td->name, __FILE__, __LINE__);
37memb_requestedSubjectAttributes_constraint_1(
const asn_TYPE_descriptor_t *td,
const void *sptr,
38 asn_app_constraint_failed_f *ctfailcb,
void *app_key) {
41 ASN__CTFAIL(app_key, td, sptr,
42 "%s: value not given (%s:%d)",
43 td->name, __FILE__, __LINE__);
52 return td->encoding_constraints.general_constraints(td, sptr, ctfailcb, app_key);
55#if !defined(ASN_DISABLE_OER_SUPPORT)
56static asn_oer_constraints_t asn_OER_memb_keyTag_constr_3 CC_NOTUSED = {
60#if !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT)
61static asn_per_constraints_t asn_PER_memb_keyTag_constr_3 CC_NOTUSED = {
62 { APC_UNCONSTRAINED, -1, -1, 0, 0 },
63 { APC_CONSTRAINED, 0, 0, 16, 16 } ,
67#if !defined(ASN_DISABLE_OER_SUPPORT)
68static asn_oer_constraints_t asn_OER_memb_requestedSubjectAttributes_constr_5 CC_NOTUSED = {
72#if !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT)
73static asn_per_constraints_t asn_PER_memb_requestedSubjectAttributes_constr_5 CC_NOTUSED = {
74 { APC_UNCONSTRAINED, -1, -1, 0, 0 },
75 { APC_UNCONSTRAINED, -1, -1, 0, 0 },
79asn_TYPE_member_t asn_MBR_SharedAtRequest_1[] = {
81 (ASN_TAG_CLASS_CONTEXT | (0 << 2)),
86#if !defined(ASN_DISABLE_OER_SUPPORT)
89#if !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT)
98 (ASN_TAG_CLASS_CONTEXT | (1 << 2)),
100 &asn_DEF_OCTET_STRING,
103#if !defined(ASN_DISABLE_OER_SUPPORT)
104 &asn_OER_memb_keyTag_constr_3,
106#if !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT)
107 &asn_PER_memb_keyTag_constr_3,
109 memb_keyTag_constraint_1
115 (ASN_TAG_CLASS_CONTEXT | (2 << 2)),
117 &asn_DEF_CertificateFormat,
120#if !defined(ASN_DISABLE_OER_SUPPORT)
123#if !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT)
131 { ATF_NOFLAGS, 0, offsetof(
struct SharedAtRequest, requestedSubjectAttributes),
132 (ASN_TAG_CLASS_CONTEXT | (3 << 2)),
134 &asn_DEF_CertificateSubjectAttributes,
137#if !defined(ASN_DISABLE_OER_SUPPORT)
138 &asn_OER_memb_requestedSubjectAttributes_constr_5,
140#if !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT)
141 &asn_PER_memb_requestedSubjectAttributes_constr_5,
143 memb_requestedSubjectAttributes_constraint_1
146 "requestedSubjectAttributes"
149static const ber_tlv_tag_t asn_DEF_SharedAtRequest_tags_1[] = {
150 (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
152static const asn_TYPE_tag2member_t asn_MAP_SharedAtRequest_tag2el_1[] = {
153 { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 },
154 { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 },
155 { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 },
156 { (ASN_TAG_CLASS_CONTEXT | (3 << 2)), 3, 0, 0 }
158asn_SEQUENCE_specifics_t asn_SPC_SharedAtRequest_specs_1 = {
161 asn_MAP_SharedAtRequest_tag2el_1,
166asn_TYPE_descriptor_t asn_DEF_SharedAtRequest = {
170 asn_DEF_SharedAtRequest_tags_1,
171 sizeof(asn_DEF_SharedAtRequest_tags_1)
172 /
sizeof(asn_DEF_SharedAtRequest_tags_1[0]),
173 asn_DEF_SharedAtRequest_tags_1,
174 sizeof(asn_DEF_SharedAtRequest_tags_1)
175 /
sizeof(asn_DEF_SharedAtRequest_tags_1[0]),
177#if !defined(ASN_DISABLE_OER_SUPPORT)
180#if !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT)
185 asn_MBR_SharedAtRequest_1,
187 &asn_SPC_SharedAtRequest_specs_1