8#include "PreSharedKeyRecipientInfo.h"
11PreSharedKeyRecipientInfo_constraint(
const asn_TYPE_descriptor_t *td,
const void *sptr,
12 asn_app_constraint_failed_f *ctfailcb,
void *app_key) {
13 const HashedId8_t *st = (
const HashedId8_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__);
40#if !defined(ASN_DISABLE_OER_SUPPORT)
41static asn_oer_constraints_t asn_OER_type_PreSharedKeyRecipientInfo_constr_1 CC_NOTUSED = {
45#if !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT)
46asn_per_constraints_t asn_PER_type_PreSharedKeyRecipientInfo_constr_1 CC_NOTUSED = {
47 { APC_UNCONSTRAINED, -1, -1, 0, 0 },
48 { APC_CONSTRAINED, 0, 0, 8, 8 } ,
52static const ber_tlv_tag_t asn_DEF_PreSharedKeyRecipientInfo_tags_1[] = {
53 (ASN_TAG_CLASS_UNIVERSAL | (4 << 2))
55asn_TYPE_descriptor_t asn_DEF_PreSharedKeyRecipientInfo = {
56 "PreSharedKeyRecipientInfo",
57 "PreSharedKeyRecipientInfo",
59 asn_DEF_PreSharedKeyRecipientInfo_tags_1,
60 sizeof(asn_DEF_PreSharedKeyRecipientInfo_tags_1)
61 /
sizeof(asn_DEF_PreSharedKeyRecipientInfo_tags_1[0]),
62 asn_DEF_PreSharedKeyRecipientInfo_tags_1,
63 sizeof(asn_DEF_PreSharedKeyRecipientInfo_tags_1)
64 /
sizeof(asn_DEF_PreSharedKeyRecipientInfo_tags_1[0]),
66#if !defined(ASN_DISABLE_OER_SUPPORT)
67 &asn_OER_type_PreSharedKeyRecipientInfo_constr_1,
69#if !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT)
70 &asn_PER_type_PreSharedKeyRecipientInfo_constr_1,
72 PreSharedKeyRecipientInfo_constraint
75 &asn_SPC_OCTET_STRING_specs