General Purpose Functions (Cryptography)

The following general-purpose example functions perform a number of auxiliary tasks in the example programs:

Function Description
ByteToStr Converts an array of bytes into a string of characters.
GetSignerCert Retrieves a certificate from a store that has a key signature extension.
MyHandleError Writes an error message and exits a program.