Loading ttcn/Pki/LibItsPki_EncdecDeclarations.ttcn 0 → 100644 +22 −0 Original line number Diff line number Diff line 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 */ external function fx_enc_CertificateBase(in EtsiTs102941TypesEnrolment.InnerEcRequest p) return bitstring with {extension "prototype(convert) encode(PER)"} external function fx_dec_CertificateBase(inout bitstring b, out EtsiTs102941TypesEnrolment.InnerEcRequest p) return integer with {extension "prototype(sliding) decode(PER)"} } // End of module LibItsPki_EncdecDeclarations ttcn/Security/LibItsSecurity_Functions.ttcn +1 −1 Original line number Diff line number Diff line Loading @@ -2505,7 +2505,7 @@ module LibItsSecurity_Functions { * @return true on success, false otherwise */ external function fx_loadCertificates(in charstring p_rootDirectory, in charstring p_configId) return boolean; external function fx_store_certificate(in charstring p_cert_id, in octetstring p_cert, in octetstring p_private_key, in octetstring p_public_key_x, in octetstring p_public_key_y, in octetstring p_public_key_compressed, in integer p_public_key_compressed_mode, in octetstring p_hashid8, in octetstring p_issuer, in template (omit) octetstring p_private_enc_key, in template (omit) octetstring p_public_enc_key_x, in template (omit) octetstring p_public_enc_key_y) return boolean; external function fx_store_certificate(in charstring p_cert_id, in octetstring p_cert, in octetstring p_private_key, in octetstring p_public_key_x, in octetstring p_public_key_y, in octetstring p_public_key_compressed, in integer p_public_key_compressed_mode, in octetstring p_hashid8, in octetstring p_issuer, in template (omit) octetstring p_private_enc_key, in template (omit) octetstring p_public_enc_key_x, in template (omit) octetstring p_public_enc_key_y, in template (omit) octetstring p_public_enc_compressed_key, in template (omit) integer p_public_enc_key_compressed_mode) return boolean; /** * @desc Unload from memory cache the certificates Loading Loading
ttcn/Pki/LibItsPki_EncdecDeclarations.ttcn 0 → 100644 +22 −0 Original line number Diff line number Diff line 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 */ external function fx_enc_CertificateBase(in EtsiTs102941TypesEnrolment.InnerEcRequest p) return bitstring with {extension "prototype(convert) encode(PER)"} external function fx_dec_CertificateBase(inout bitstring b, out EtsiTs102941TypesEnrolment.InnerEcRequest p) return integer with {extension "prototype(sliding) decode(PER)"} } // End of module LibItsPki_EncdecDeclarations
ttcn/Security/LibItsSecurity_Functions.ttcn +1 −1 Original line number Diff line number Diff line Loading @@ -2505,7 +2505,7 @@ module LibItsSecurity_Functions { * @return true on success, false otherwise */ external function fx_loadCertificates(in charstring p_rootDirectory, in charstring p_configId) return boolean; external function fx_store_certificate(in charstring p_cert_id, in octetstring p_cert, in octetstring p_private_key, in octetstring p_public_key_x, in octetstring p_public_key_y, in octetstring p_public_key_compressed, in integer p_public_key_compressed_mode, in octetstring p_hashid8, in octetstring p_issuer, in template (omit) octetstring p_private_enc_key, in template (omit) octetstring p_public_enc_key_x, in template (omit) octetstring p_public_enc_key_y) return boolean; external function fx_store_certificate(in charstring p_cert_id, in octetstring p_cert, in octetstring p_private_key, in octetstring p_public_key_x, in octetstring p_public_key_y, in octetstring p_public_key_compressed, in integer p_public_key_compressed_mode, in octetstring p_hashid8, in octetstring p_issuer, in template (omit) octetstring p_private_enc_key, in template (omit) octetstring p_public_enc_key_x, in template (omit) octetstring p_public_enc_key_y, in template (omit) octetstring p_public_enc_compressed_key, in template (omit) integer p_public_enc_key_compressed_mode) return boolean; /** * @desc Unload from memory cache the certificates Loading