Erlang -- Introduction

User's Guide
Reference Manual
Release Notes
PDF
Top

public_key
User's Guide
Version 0.16

Expand All
Contract All

Chapters

- Introduction
  - Top of chapter
  - Purpose
  - Prerequisites
  - Performance tips
- Public key records
  - Top of chapter
  - RSA as defined by the PKCS-1 standard and RFC 3447.
  - DSA as defined by Digital Signature Standard (NIST FIPS PUB 186-2)
- Certificate records
  - Top of chapter
  - Common Data Types
  - PKIX Certificates
  - Standard certificate extensions
  - Private Internet Extensions
  - CRL and CRL Extensions Profile
- Using the public_key API
  - Top of chapter
  - General information
  - PEM files
  - RSA public key cryptography
  - Digital signatures
  - SSH files

# 1 Introduction

### 1.1 Purpose

This application provides an API to public key infrastructure from RFC 3280 (X.509 certificates) and public key formats defined by the PKCS-standard.

### 1.2 Prerequisites

It is assumed that the reader is familiar with the Erlang programming language, concepts of OTP and has a basic understanding of the concepts of using public keys.

### 1.3 Performance tips

The public_key decode and encode functions will try to use the nifs which are in the asn1 compilers runtime modules if they can be found. So for the best performance you want to have the asn1 application in the path of your system.