[openssl-users] PKCS7 and RSA_verify

ch ch at coderhacks.com
Thu Sep 28 09:28:51 UTC 2017


Hi!

I thought the difference between PEM and DER is NOT ONLY a different 
encoding of the string?
base64 vs. binary

So to understand that clear please let me ask:
If I convert a PEM-signature from base64 to binary then it is DER?

Thanks
Chris

On 2017-09-28 11:23, Wouter Verhelst wrote:
> On 28-09-17 01:19, ch wrote> If the pkcs-signature is binary encoded it
> is not working for verifiying
>> a SMIME-message in my experience with
>> smime or cms-smime on the console. I tried to convert the binary ones to
>> base64 but that does not everytime the trick.
> What you call "base64" is commonly known as "PEM" :-)
>
> You can get it to parse binary, but to do so you need to specify
> "-inform der".
>



More information about the openssl-users mailing list