8#include "AuthorizationValidationResponse.h"
11memb_requestHash_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_confirmedSubjectAttributes_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_requestHash_constr_2 CC_NOTUSED = {
60#if !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT)
61static asn_per_constraints_t asn_PER_memb_requestHash_constr_2 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_confirmedSubjectAttributes_constr_4 CC_NOTUSED = {
72#if !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT)
73static asn_per_constraints_t asn_PER_memb_confirmedSubjectAttributes_constr_4 CC_NOTUSED = {
74 { APC_UNCONSTRAINED, -1, -1, 0, 0 },
75 { APC_UNCONSTRAINED, -1, -1, 0, 0 },
79#if !defined(ASN_DISABLE_OER_SUPPORT)
80static asn_oer_constraints_t asn_OER_type_AuthorizationValidationResponse_constr_1 CC_NOTUSED = {
84#if !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT)
85asn_per_constraints_t asn_PER_type_AuthorizationValidationResponse_constr_1 CC_NOTUSED = {
86 { APC_UNCONSTRAINED, -1, -1, 0, 0 },
87 { APC_UNCONSTRAINED, -1, -1, 0, 0 },
91asn_TYPE_member_t asn_MBR_AuthorizationValidationResponse_1[] = {
93 (ASN_TAG_CLASS_CONTEXT | (0 << 2)),
95 &asn_DEF_OCTET_STRING,
98#if !defined(ASN_DISABLE_OER_SUPPORT)
99 &asn_OER_memb_requestHash_constr_2,
101#if !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT)
102 &asn_PER_memb_requestHash_constr_2,
104 memb_requestHash_constraint_1
110 (ASN_TAG_CLASS_CONTEXT | (1 << 2)),
112 &asn_DEF_AuthorizationValidationResponseCode,
115#if !defined(ASN_DISABLE_OER_SUPPORT)
118#if !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT)
127 (ASN_TAG_CLASS_CONTEXT | (2 << 2)),
129 &asn_DEF_CertificateSubjectAttributes,
132#if !defined(ASN_DISABLE_OER_SUPPORT)
133 &asn_OER_memb_confirmedSubjectAttributes_constr_4,
135#if !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT)
136 &asn_PER_memb_confirmedSubjectAttributes_constr_4,
138 memb_confirmedSubjectAttributes_constraint_1
141 "confirmedSubjectAttributes"
144static const int asn_MAP_AuthorizationValidationResponse_oms_1[] = { 2 };
145static const ber_tlv_tag_t asn_DEF_AuthorizationValidationResponse_tags_1[] = {
146 (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
148static const asn_TYPE_tag2member_t asn_MAP_AuthorizationValidationResponse_tag2el_1[] = {
149 { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 },
150 { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 },
151 { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 }
153asn_SEQUENCE_specifics_t asn_SPC_AuthorizationValidationResponse_specs_1 = {
156 asn_MAP_AuthorizationValidationResponse_tag2el_1,
158 asn_MAP_AuthorizationValidationResponse_oms_1,
162asn_TYPE_descriptor_t asn_DEF_AuthorizationValidationResponse = {
163 "AuthorizationValidationResponse",
164 "AuthorizationValidationResponse",
166 asn_DEF_AuthorizationValidationResponse_tags_1,
167 sizeof(asn_DEF_AuthorizationValidationResponse_tags_1)
168 /
sizeof(asn_DEF_AuthorizationValidationResponse_tags_1[0]),
169 asn_DEF_AuthorizationValidationResponse_tags_1,
170 sizeof(asn_DEF_AuthorizationValidationResponse_tags_1)
171 /
sizeof(asn_DEF_AuthorizationValidationResponse_tags_1[0]),
173#if !defined(ASN_DISABLE_OER_SUPPORT)
174 &asn_OER_type_AuthorizationValidationResponse_constr_1,
176#if !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT)
177 &asn_PER_type_AuthorizationValidationResponse_constr_1,
181 asn_MBR_AuthorizationValidationResponse_1,
183 &asn_SPC_AuthorizationValidationResponse_specs_1