text: /*
   * Copyright (c) 2016 PrivatBank IT <acsk@privatbank.ua>. All rights reserved.
   * Redistribution and modifications are permitted subject to BSD license.
   */
  
  #include "SecretBag.h"
  
  #include "asn_internal.h"
  
  #undef FILE_MARKER
  #define FILE_MARKER "pkix/struct/SecretBag.c"
  
  static asn_TYPE_member_t asn_MBR_SecretBag_1[] = {
      {
          ATF_NOFLAGS, 0, offsetof(struct SecretBag, secretTypeId),
          (ASN_TAG_CLASS_UNIVERSAL | (6 << 2)),
          0,
          &OBJECT_IDENTIFIER_desc,
          0,    /* Defer constraints checking to the member type */
          0,    /* PER is not compiled, use -gen-PER */
          0,
          "secretTypeId"
      },
      {
          ATF_NOFLAGS, 0, offsetof(struct SecretBag, secretValue),
          (ASN_TAG_CLASS_CONTEXT | (0 << 2)),
          +1,    /* EXPLICIT tag at current level */
          &ANY_desc,
          0,    /* Defer constraints checking to the member type */
          0,    /* PER is not compiled, use -gen-PER */
          0,
          "secretValue"
      },
  };
  static const ber_tlv_tag_t SecretBag_desc_tags_1[] = {
      (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
  };
  static const asn_TYPE_tag2member_t asn_MAP_SecretBag_tag2el_1[] = {
      { (ASN_TAG_CLASS_UNIVERSAL | (6 << 2)), 0, 0, 0 }, /* secretTypeId */
      { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 1, 0, 0 } /* secretValue */
  };
  static asn_SEQUENCE_specifics_t asn_SPC_SecretBag_specs_1 = {
      sizeof(struct SecretBag),
      offsetof(struct SecretBag, _asn_ctx),
      asn_MAP_SecretBag_tag2el_1,
      2,    /* Count of tags in the map */
      0, 0, 0,    /* Optional elements (not needed) */
      -1,    /* Start extensions */
      -1    /* Stop extensions */
  };
  asn_TYPE_descriptor_t SecretBag_desc = {
      "SecretBag",
      "SecretBag",
      SEQUENCE_free,
      SEQUENCE_print,
      SEQUENCE_constraint,
      SEQUENCE_decode_ber,
      SEQUENCE_encode_der,
      SEQUENCE_decode_xer,
      SEQUENCE_encode_xer,
      0, 0,    /* No PER support, use "-gen-PER" to enable */
      0,    /* Use generic outmost tag fetcher */
      SecretBag_desc_tags_1,
      sizeof(SecretBag_desc_tags_1)
      / sizeof(SecretBag_desc_tags_1[0]), /* 1 */
      SecretBag_desc_tags_1,    /* Same as above */
      sizeof(SecretBag_desc_tags_1)
      / sizeof(SecretBag_desc_tags_1[0]), /* 1 */
      0,    /* No PER visible constraints */
      asn_MBR_SecretBag_1,
      2,    /* Elements count */
      &asn_SPC_SecretBag_specs_1    /* Additional specs */
  };
  
  asn_TYPE_descriptor_t *get_SecretBag_desc(void)
  {
      return &SecretBag_desc;
  }
  