OraRSA tutorial

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

Setup ORA_RSA and ORA_SMIME

ORA_RSA – low level RSA cryptography

ORA_SMIME – S/MIME signed and encrypted emails

CMS (Cryptography message syntax)

Exception handling

Appendix A. Exception handling