Skip to main content

Module rsa_encoding

Module rsa_encoding 

Source
Expand description

RSA container codecs for the existing sad-rsa key types.

Only serialization lives here; RSA operations, validation and blinding stay in sad-rsa. Adapted from sadco-io/sad-rsa 0.10.2, src/encoding.rs, licensed MIT OR Apache-2.0, copyright its original contributors.

Traits§

RsaPrivateKeyEncoding
PKCS#1 and PKCS#8 codecs without enabling the RSA dependency’s codecs.
RsaPublicKeyEncoding
PKCS#1 and SubjectPublicKeyInfo codecs for the existing RSA public key.