This online tutorial demonstrates the usage of the DidiSoft OraRSA+OraSMIME (ORA_RSA and ORA_SMIME) PL/SQL package.
Intended audience: PL/SQL developers, Oracle DBA’s
Introduction
ORA_RSA is a PL/SQL package providing functions for performing RSA asymmetric cryptography within the Oracle (c) Database product version 11 and above. The package supports RSA keys in a wide variety of common formats, including .cer/.crt, PEM and DER-encoded keys, .pfx/.p12 (PKCS12) password protected formats.
ORA_SMIME is an additional package that extends UTL_SMTP with support for S/MIME (Secure/Multipurpose Internet Mail Extensions) signed end encrypted emails.
Table of contents
ORA_RSA – low level RSA cryptography
ORA_SMIME – S/MIME signed and encrypted emails
- Sending Emails from PL/SQL
- S/MIME signed email with UTL_SMTP
- S/MIME encrypted email with UTL_SMTP
- Decrypting S/MIME
CMS (Cryptography message syntax)
X.509 certificates
JWT (JSON Web token)
Exception handling
Appendix A. Exception handling