PKCS8.php
PKCS#8 Formatted RSA Key Handler
PHP version 5
Used by PHP's openssl_public_encrypt() and openssl's rsautl (when -pubin is set)
Processes keys with the following headers:
-----BEGIN ENCRYPTED PRIVATE KEY----- -----BEGIN PRIVATE KEY----- -----BEGIN PUBLIC KEY-----
Analogous to ssh-keygen's pkcs8 format (as specified by -m). Although PKCS8 is specific to private keys it's basically creating a DER-encoded wrapper for keys. This just extends that same concept to public keys (much like ssh-keygen)
Tags
Table of Contents
Classes
- PKCS8
- PKCS#8 Formatted RSA Key Handler