5 #ifndef DECODESECURITY_H 6 #define DECODESECURITY_H 13 #define NSECURE_FIELDS 255 21 int nbX(uchar v, quint64 *ret);
261 #endif // DECODESECURITY_H quint64 decode_HashedId3(uchar *field, HashedId3_t *hash)
decode_HashedId3 Decode an HashedId3.
quint64 decode_IdentifiedRegion(uchar *field, IdentifiedRegion_t *id)
decode_IdentifiedRegion Decode a IdentifiedRegion.
quint64 decode_PublicKey(uchar *field, PublicKey_t *key)
decode_PublicKey Decode a PublicKey.
quint64 decode_INT32(uchar *field, INT32_t *int32)
decode_INT32 Decode an Int32.
int nbX(uchar v, quint64 *ret)
nbX Count the number of bytes used by the IntX.
quint64 decode_Time32(uchar *field, Time32_t *time)
decode_Time32 Decode a Time32.
quint64 decode_Opaque(uchar *field, Opaque_t *opaque, int length=0)
decode_Opaque Decode an Opaque.
static Certificate_t certificate[NSECURE_FIELDS]
quint64 decode_Time64(uchar *field, Time64_t *time)
decode_Time64 Decode a Time64.
quint64 decode_RectangularRegion(uchar *field, RectangularRegion_t *region)
decode_RectangularRegion Decode a RectangularRegion.
quint64 decode_HashedId(uchar *field, OCTET_STRING_t *hash, int length)
decode_HashedId Decode an HashedId.
static RecipientInfo_t recipient[NSECURE_FIELDS]
quint64 decode_SubjectInfo(uchar *field, SubjectInfo_t *info)
decode_SubjectInfo Decode a SubjectInfo.
quint64 decode_Time64WithStandardDeviation(uchar *field, Time64WithStandardDeviation_t *time)
decode_Time64WithStandardDeviation Decode a Time64WithStandardDeviation.
SecuredHeader_t decode_SecuredHeader(uchar *field)
decode_SecuredHeader Decode a SecuredHeader.
quint64 extractINTX(uchar *packet, int *n)
extractINTX Decode an IntX.
quint64 decode_ItsAidSsp(uchar *field, ItsAidSsp_t *ssp)
decode_ItsAidSsp Decode an ItsAidSsp.
quint64 decode_PolygonalRegion(uchar *field, PolygonalRegion_t *polygon)
decode_PolygonalRegion Decode a PolygonalRegion.
quint64 decode_EccPoint(uchar *field, EccPoint_t *point)
decode_EccPoint Decode an EccPoint.
quint64 decode_Signature(uchar *field, Signature_t *signature)
decode_Signature Decode a Signature.
quint64 decode_RecipientInfo(uchar *field, RecipientInfo_t *recipient)
decode_RecipientInfo Decode a RecipientInfo.
quint64 decode_ValidityRestriction(uchar *field, ValidityRestriction_t *validityRestriction)
decode_ValidityRestriction Decode a ValidityRestriction.
quint64 decode_SubjectAssurance(uchar *field, SubjectAssurance_t *subject)
decode_SubjectAssurance Decode a SubjectAssurance.
quint64 decode_SignerInfo(uchar *field, SignerInfo_t *signerInfo)
decode_SignerInfo Decode a SignerInfo.
quint64 decode_UINT16(uchar *field, UINT16_t *uint16)
decode_UINT16 Decode an UINT16.
quint64 decode_TwoDLocation(uchar *field, TwoDLocation_t *location)
decode_TwoDLocation Decode a TwoDLocation.
quint64 decode_SubjectAttribute(uchar *field, SubjectAttribute_t *subject)
decode_SubjectAttribute Decode a SubjectAttribute.
quint64 decode_EciesEncryptedKey(uchar *field, EciesEncryptedKey_t *ecies)
decode_EciesEncryptedKey Decode an EciesEncryptedKey.
quint64 decode_Certificate(uchar *field, Certificate_t *certificate)
decode_Certificate Decode a Certificate.
quint64 decode_CircularRegion(uchar *field, CircularRegion_t *region)
decode_CircularRegion Decode a CircularRegion.
SecureTrailer_t decode_SecureTrailer(uchar *field)
decode_SecureTrailer Decode a SecureTrailer.
quint64 decode_EncryptionParameters(uchar *field, EncryptionParameters_t *encParams)
decode_EncryptionParameters Decode an EncryptionParameters.
quint64 decode_HashedId8(uchar *field, HashedId8_t *hash)
decode_HashedId8 Decode an HashedId8.
static ValidityRestriction_t validityRestriction[NSECURE_FIELDS]
quint64 decode_Duration(uchar *field, Duration_t *duration)
decode_Duration Decode a Duration.
static ItsAidSsp_t ssp[NSECURE_FIELDS]
quint64 decode_GeographicRegion(uchar *field, GeographicRegion_t *region)
decode_GeographicRegion Decode a GeographicRegion.
quint64 decode_EcdsaSignature(uchar *field, EcdsaSignature_t *ecdsa)
decode_EcdsaSignature Decode a EcdsaSignature.
quint64 decode_ThreeDLocation(uchar *field, ThreeDLocation_t *location)
decode_ThreeDLocation Decode a ThreeDLocation.