55 lines
1.6 KiB
C
55 lines
1.6 KiB
C
/*
|
|||
|
|
* Generated by asn1c
|
||
|
|
* From ASN.1 module "IEEE1609dot2BaseTypes"
|
||
|
|
* found in "IEEE1609dot2BaseTypes.asn"
|
||
|
|
* `asn1c -fcompound-names -fincludes-quoted -no-gen-example -fprefix=Vanetza_Security_ -R`
|
||
|
|
*/
|
||
|
|
|
||
|
|
#ifndef _Vanetza_Security_EncryptionKey_H_
|
||
|
|
#define _Vanetza_Security_EncryptionKey_H_
|
||
|
|
|
||
|
|
|
||
|
|
#include "asn_application.h"
|
||
|
|
|
||
|
|
/* Including external dependencies */
|
||
|
|
#include "PublicEncryptionKey.h"
|
||
|
|
#include "SymmetricEncryptionKey.h"
|
||
|
|
#include "constr_CHOICE.h"
|
||
|
|
|
||
|
|
#ifdef __cplusplus
|
||
|
|
extern "C" {
|
||
|
|
#endif
|
||
|
|
|
||
|
|
/* Dependencies */
|
||
|
|
typedef enum Vanetza_Security_EncryptionKey_PR {
|
||
|
|
Vanetza_Security_EncryptionKey_PR_NOTHING, /* No components present */
|
||
|
|
Vanetza_Security_EncryptionKey_PR_public,
|
||
|
|
Vanetza_Security_EncryptionKey_PR_symmetric
|
||
|
|
} Vanetza_Security_EncryptionKey_PR;
|
||
|
|
|
||
|
|
/* Vanetza_Security_EncryptionKey */
|
||
|
|
typedef struct Vanetza_Security_EncryptionKey {
|
||
|
|
Vanetza_Security_EncryptionKey_PR present;
|
||
|
|
union Vanetza_Security_EncryptionKey_u {
|
||
|
|
Vanetza_Security_PublicEncryptionKey_t Public;
|
||
|
|
Vanetza_Security_SymmetricEncryptionKey_t symmetric;
|
||
|
|
} choice;
|
||
|
|
|
||
|
|
/* Context for parsing across buffer boundaries */
|
||
|
|
asn_struct_ctx_t _asn_ctx;
|
||
|
|
} Vanetza_Security_EncryptionKey_t;
|
||
|
|
|
||
|
|
/* Implementation */
|
||
|
|
extern asn_TYPE_descriptor_t asn_DEF_Vanetza_Security_EncryptionKey;
|
||
|
|
extern asn_CHOICE_specifics_t asn_SPC_Vanetza_Security_EncryptionKey_specs_1;
|
||
|
|
extern asn_TYPE_member_t asn_MBR_Vanetza_Security_EncryptionKey_1[2];
|
||
|
|
extern asn_oer_constraints_t asn_OER_type_Vanetza_Security_EncryptionKey_constr_1;
|
||
|
|
extern asn_per_constraints_t asn_PER_type_Vanetza_Security_EncryptionKey_constr_1;
|
||
|
|
|
||
|
|
#ifdef __cplusplus
|
||
|
|
}
|
||
|
|
#endif
|
||
|
|
|
||
|
|
#endif /* _Vanetza_Security_EncryptionKey_H_ */
|
||
|
|
#include "asn_internal.h"
|