Commit 6424f714 authored by garciay's avatar garciay
Browse files

Start Security support

parent 09bd3c2e
Loading
Loading
Loading
Loading
+9 −1
Original line number Original line Diff line number Diff line
@@ -9,11 +9,19 @@ module LibItsSecurity_EncdecDeclarations {
    
    
    /**
    /**
     * @desc Encoding function for EtsiTs103097Certificate certificate
     * @desc Encoding function for EtsiTs103097Certificate certificate
     * @param p The certificate to encode
     * @return The encode message in OER format
     * @return The encode message in OER format
     */
     */
    external function fx_enc_CertificateBase(in IEEE1609dot2.CertificateBase p) return bitstring
    external function fx_enc_CertificateBase(in IEEE1609dot2.CertificateBase p) return bitstring
      with {extension "prototype(convert) encode(PER)"}
      with {extension "prototype(convert) encode(PER)"}
    
    
    /**
     * @desc Encoding function for IEEE1609dot2.ToBeSignedCertificate
     * @param p The ToBeSign part of the certificate
     * @return The encode message in OER format
     */
    external function fx_enc_ToBeSignedCertificate(in IEEE1609dot2.ToBeSignedCertificate p) return bitstring
        with {extension "prototype(convert) encode(PER)"}
    
    
    
    
    
    
@@ -41,7 +49,7 @@ module LibItsSecurity_EncdecDeclarations {
    external function fx_enc_Certificate (LibItsSecurity_TypesAndValues.Certificate p) return bitstring
    external function fx_enc_Certificate (LibItsSecurity_TypesAndValues.Certificate p) return bitstring
        with {extension "prototype(convert) encode(LibItsSecurity)"}
        with {extension "prototype(convert) encode(LibItsSecurity)"}
    
    
    external function fx_enc_ToBeSignedCertificate (LibItsSecurity_TypesAndValues.ToBeSignedCertificate p) return bitstring
    external function fx_enc_ToBeSignedCertificate_ (LibItsSecurity_TypesAndValues.ToBeSignedCertificate p) return bitstring
        with {extension "prototype(convert) encode(LibItsSecurity)"}
        with {extension "prototype(convert) encode(LibItsSecurity)"}
        
        
    //decoding functions
    //decoding functions
+5 −0
Original line number Original line Diff line number Diff line
@@ -15,6 +15,11 @@ module LibItsSecurity_Pixits {
    import from LibCommon_BasicTypesAndValues all;
    import from LibCommon_BasicTypesAndValues all;
    import from LibCommon_DataStrings all;
    import from LibCommon_DataStrings all;
    
    
    // LibIts
    //import from IEEE1609dot2BaseTypes language "ASN.1:1997" all;
    //import from IEEE1609dot2 language "ASN.1:1997" all;
    //import from EtsiTs103097Module language "ASN.1:1997" all;
    
    // LibItsSecurity
    // LibItsSecurity
    import from LibItsSecurity_TypesAndValues all;
    import from LibItsSecurity_TypesAndValues all;
    
    
+5 −0
Original line number Original line Diff line number Diff line
@@ -20,6 +20,11 @@ module LibItsSecurity_Templates {
    // LibItsGeoNetworking
    // LibItsGeoNetworking
    import from LibItsGeoNetworking_TypesAndValues all;
    import from LibItsGeoNetworking_TypesAndValues all;
    
    
    // LibIts
    //import from IEEE1609dot2BaseTypes language "ASN.1:1997" all;
    //import from IEEE1609dot2 language "ASN.1:1997" all;
    //import from EtsiTs103097Module language "ASN.1:1997" all;
    
    // LibItsSecurity
    // LibItsSecurity
    import from LibItsSecurity_TypesAndValues all;
    import from LibItsSecurity_TypesAndValues all;
    import from LibItsSecurity_Pixits all;
    import from LibItsSecurity_Pixits all;