Public Key Infrastucture for R based on the X.509 standard

This package provides tools related to encryption, decryption, signing, management of keys, certificates and public key infrastructure. It also provides tools such as PKI.random to generate cryptographically safe random bytes.

For more information and notes on using various types keys, see the Wiki. The main RForge page is at

CRAN RForge check

To install the CRAN version, use simply


For installation of the latest development version, use

install.packages("PKI", repo="")