I want to read a text file (.txt) into a byte array and add a digital signature to the specified byte array. Then I want to verify this digital signature in my WCF service.
How can I do that? Is it possible to add a digital signature to a text file before converting it to an array of bytes?
Maybe it will be easier to use a pdf file or?
source
share