Commit 2264fdb6 authored by Yann Garcia's avatar Yann Garcia
Browse files

Big fixed in ASN.1 codec indication

parent f9e136a4
Loading
Loading
Loading
Loading
+7 −7
Original line number Diff line number Diff line
@@ -14,10 +14,10 @@ module LibItsSecurity_EncdecDeclarations {
     * @return The encode message in OER format
     */
    external function fx_enc_CertificateBase(in Ieee1609Dot2.CertificateBase p) return bitstring
      with {extension "prototype(convert) encode(PER)"}
      with {extension "prototype(convert) encode(OER)"}
    
    external function fx_dec_CertificateBase(inout bitstring b, out Ieee1609Dot2.CertificateBase p) return integer
        with {extension "prototype(sliding) decode(PER)"}
        with {extension "prototype(sliding) decode(OER)"}
    
    /**
     * @desc Encoding function for Ieee1609Dot2.ToBeSignedCertificate
@@ -25,7 +25,7 @@ module LibItsSecurity_EncdecDeclarations {
     * @return The encode message in OER format
     */
    external function fx_enc_ToBeSignedCertificate(in Ieee1609Dot2.ToBeSignedCertificate p) return bitstring
        with {extension "prototype(convert) encode(PER)"}
        with {extension "prototype(convert) encode(OER)"}
    
    /**
     * @desc Encoding function for Ieee1609Dot2.Ieee1609Dot2Data
@@ -33,16 +33,16 @@ module LibItsSecurity_EncdecDeclarations {
     * @return The encode message in OER format
     */
    external function fx_enc_Ieee1609Dot2Data(in Ieee1609Dot2.Ieee1609Dot2Data p) return bitstring
    with {extension "prototype(convert) encode(PER)"}
    with {extension "prototype(convert) encode(OER)"}

    external function fx_dec_Ieee1609Dot2Data(inout bitstring p_data, out Ieee1609Dot2.Ieee1609Dot2Data p_ieee1609Dot2Data) return integer
        with {extension "prototype(sliding) decode(PER)"}
        with {extension "prototype(sliding) decode(OER)"}
    
    external function fx_enc_Ieee1609Dot2ToBeSignedData(in Ieee1609Dot2.ToBeSignedData p) return bitstring
    with {extension "prototype(convert) encode(PER)"}
    with {extension "prototype(convert) encode(OER)"}

    external function fx_dec_Ieee1609Dot2ToBeSignedData(inout bitstring p_data, out Ieee1609Dot2.ToBeSignedData p_toBeSignedData) return integer
        with {extension "prototype(sliding) decode(PER)"}
        with {extension "prototype(sliding) decode(OER)"}
    
    external function fx_enc_SspCAM (LibItsSecurity_TypesAndValues.SspCAM p_ssp) return bitstring
        with {extension "prototype(convert) encode(LibItsSecurity)"}