RSA icon indicating copy to clipboard operation
RSA copied to clipboard

Add support for parsing RSA keys out of pkcs8 files with RSA-PSS key

Open lumag opened this issue 3 years ago • 0 comments

EncodePublicKey/DecodePublicKey implementations are limited to plain RSA keys only. Add support for encoding and decoding RSASSA-PSS (and RSAEP-OAEP) keys to/from DER data. Additional notice: ideally the code should be able to use newly Signed/Verifier keys, however this would bring additional complexities and addtional dependencies on digests. So, the first naïve attempt would be to return PublicKey/PaddingScheme pair when decoding the DER.

lumag avatar Aug 19 '22 11:08 lumag