Skip to main content

Module rsa_oaep

Module rsa_oaep 

Source
Expand description

RSA-OAEP key management algorithm for JWE.

Implements RSA-OAEP (RSA with OAEP using SHA-1).

Note: RSA-OAEP-256 (with SHA-256) is not currently supported because the underlying boring/superboring crates do not expose the API to specify the OAEP hash function.

Structsยง

RsaOaepDecryptionKey
RSA key pair for decryption (RSA-OAEP with SHA-1).
RsaOaepEncryptionKey
RSA public key for encryption (RSA-OAEP with SHA-1).