LibItsPki_EncdecDeclarations.ttcn 904 Bytes
Newer Older
module LibItsPki_EncdecDeclarations {
    
    // LibIts
    import from EtsiTs102941BaseTypes language "ASN.1:1997" all;
    import from EtsiTs102941TypesEnrolment language "ASN.1:1997" all;
    import from EtsiTs103097Module language "ASN.1:1997" all;
  
    import from LibItsSecurity_TypesAndValues all;
    
    /**
     * @desc Encoding function for EtsiTs103097Certificate certificate
     * @param p The certificate to encode
     * @return The encode message in OER format
     */
garciay's avatar
garciay committed
    external function fx_enc_InnerEcRequest(in EtsiTs102941TypesEnrolment.InnerEcRequest p) return bitstring
      with {extension "prototype(convert) encode(PER)"}
    
garciay's avatar
garciay committed
    external function fx_dec_InnerEcRequest(inout bitstring b, out EtsiTs102941TypesEnrolment.InnerEcRequest p) return integer
        with {extension "prototype(sliding) decode(PER)"}
    
    
} // End of module LibItsPki_EncdecDeclarations