66 lines
2.3 KiB
C
66 lines
2.3 KiB
C
/*
|
|||
|
|
* Generated by asn1c
|
||
|
|
* From ASN.1 module "Ieee1609Dot2BaseTypes"
|
||
|
|
* found in "Ieee1609Dot2BaseTypes.asn"
|
||
|
|
* `asn1c -fcompound-names -fincludes-quoted -no-gen-example -fprefix=Vanetza_Security2_ -R`
|
||
|
|
*/
|
||
|
|
|
||
|
|
#ifndef _Vanetza_Security2_PublicVerificationKey_H_
|
||
|
|
#define _Vanetza_Security2_PublicVerificationKey_H_
|
||
|
|
|
||
|
|
|
||
|
|
#include "asn_application.h"
|
||
|
|
|
||
|
|
/* Including external dependencies */
|
||
|
|
#include "EccP256CurvePoint.h"
|
||
|
|
#include "EccP384CurvePoint.h"
|
||
|
|
#include "constr_CHOICE.h"
|
||
|
|
|
||
|
|
#ifdef __cplusplus
|
||
|
|
extern "C" {
|
||
|
|
#endif
|
||
|
|
|
||
|
|
/* Dependencies */
|
||
|
|
typedef enum Vanetza_Security2_PublicVerificationKey_PR {
|
||
|
|
Vanetza_Security2_PublicVerificationKey_PR_NOTHING, /* No components present */
|
||
|
|
Vanetza_Security2_PublicVerificationKey_PR_ecdsaNistP256,
|
||
|
|
Vanetza_Security2_PublicVerificationKey_PR_ecdsaBrainpoolP256r1,
|
||
|
|
/* Extensions may appear below */
|
||
|
|
Vanetza_Security2_PublicVerificationKey_PR_ecdsaBrainpoolP384r1,
|
||
|
|
Vanetza_Security2_PublicVerificationKey_PR_ecdsaNistP384,
|
||
|
|
Vanetza_Security2_PublicVerificationKey_PR_ecsigSm2
|
||
|
|
} Vanetza_Security2_PublicVerificationKey_PR;
|
||
|
|
|
||
|
|
/* Vanetza_Security2_PublicVerificationKey */
|
||
|
|
typedef struct Vanetza_Security2_PublicVerificationKey {
|
||
|
|
Vanetza_Security2_PublicVerificationKey_PR present;
|
||
|
|
union Vanetza_Security2_PublicVerificationKey_u {
|
||
|
|
Vanetza_Security2_EccP256CurvePoint_t ecdsaNistP256;
|
||
|
|
Vanetza_Security2_EccP256CurvePoint_t ecdsaBrainpoolP256r1;
|
||
|
|
/*
|
||
|
|
* This type is extensible,
|
||
|
|
* possible extensions are below.
|
||
|
|
*/
|
||
|
|
Vanetza_Security2_EccP384CurvePoint_t ecdsaBrainpoolP384r1;
|
||
|
|
Vanetza_Security2_EccP384CurvePoint_t ecdsaNistP384;
|
||
|
|
Vanetza_Security2_EccP256CurvePoint_t ecsigSm2;
|
||
|
|
} choice;
|
||
|
|
|
||
|
|
/* Context for parsing across buffer boundaries */
|
||
|
|
asn_struct_ctx_t _asn_ctx;
|
||
|
|
} Vanetza_Security2_PublicVerificationKey_t;
|
||
|
|
|
||
|
|
/* Implementation */
|
||
|
|
extern asn_TYPE_descriptor_t asn_DEF_Vanetza_Security2_PublicVerificationKey;
|
||
|
|
extern asn_CHOICE_specifics_t asn_SPC_Vanetza_Security2_PublicVerificationKey_specs_1;
|
||
|
|
extern asn_TYPE_member_t asn_MBR_Vanetza_Security2_PublicVerificationKey_1[5];
|
||
|
|
extern asn_oer_constraints_t asn_OER_type_Vanetza_Security2_PublicVerificationKey_constr_1;
|
||
|
|
extern asn_per_constraints_t asn_PER_type_Vanetza_Security2_PublicVerificationKey_constr_1;
|
||
|
|
|
||
|
|
#ifdef __cplusplus
|
||
|
|
}
|
||
|
|
#endif
|
||
|
|
|
||
|
|
#endif /* _Vanetza_Security2_PublicVerificationKey_H_ */
|
||
|
|
#include "asn_internal.h"
|