Loading ePassport/ttcn/ePassport_Functions.ttcn +8 −2 Original line number Diff line number Diff line Loading @@ -29,14 +29,20 @@ */ external function fx_setEncrypKeyFor3DES( in octetstring p_masterKey); external function fx_verifyCertificate( in octetstring p_psoData ) return boolean; /** * @desc This method verifies if a candidate certificate is trusted by a root CA * @param p_candidate The candidate certificate to verify * @param p_trusted The root CA to use for trusted operation * @return true if the candidate certificate is verified successfully, false otherwise */ external function fx_verifyCertificate( in octetstring p_candidate, in octetstring p_trusted ) return boolean; /** * @desc This method verifies a digitally signed message based on DSA or RSA cryptographic algorithms * @param p_message The original message to verify * @param p_signedMessage The signed message to verify * @param p_key The Document Signer Public Key (KPuDS) in PEM format * @return true if the message is verified successfuly, false otherwise * @return true if the message is verified successfully, false otherwise */ external function fx_verifySignature(in octetstring p_message, in octetstring p_signedMessage, in octetstring p_key) return boolean; Loading Loading
ePassport/ttcn/ePassport_Functions.ttcn +8 −2 Original line number Diff line number Diff line Loading @@ -29,14 +29,20 @@ */ external function fx_setEncrypKeyFor3DES( in octetstring p_masterKey); external function fx_verifyCertificate( in octetstring p_psoData ) return boolean; /** * @desc This method verifies if a candidate certificate is trusted by a root CA * @param p_candidate The candidate certificate to verify * @param p_trusted The root CA to use for trusted operation * @return true if the candidate certificate is verified successfully, false otherwise */ external function fx_verifyCertificate( in octetstring p_candidate, in octetstring p_trusted ) return boolean; /** * @desc This method verifies a digitally signed message based on DSA or RSA cryptographic algorithms * @param p_message The original message to verify * @param p_signedMessage The signed message to verify * @param p_key The Document Signer Public Key (KPuDS) in PEM format * @return true if the message is verified successfuly, false otherwise * @return true if the message is verified successfully, false otherwise */ external function fx_verifySignature(in octetstring p_message, in octetstring p_signedMessage, in octetstring p_key) return boolean; Loading