fullsailor / pkcs7

Implements a subset of PKCS#7/Crytpographic Message Syntax (rfc2315, rfc5652)
MIT License
123 stars 201 forks source link

Make getHashForOID handle more algorithms #42

Open misberner opened 5 years ago

misberner commented 5 years ago

Specifically, SHA256 and every registered signature algorithms.

Shortcoming of the original version encountered when trying to parse PKCS7 data obtained via the Microsoft Azure VM Instance Metadata service (https://docs.microsoft.com/en-us/azure/virtual-machines/windows/instance-metadata-service)

janisz commented 1 year ago

@fullsailor will you merge it?