diff --git a/phpseclib/Crypt/RSA/PKCS1.php b/phpseclib/Crypt/RSA/PKCS1.php index e5d6e1d6..23828c26 100644 --- a/phpseclib/Crypt/RSA/PKCS1.php +++ b/phpseclib/Crypt/RSA/PKCS1.php @@ -6,8 +6,9 @@ * * Used by File/X509.php * - * Has the following header: + * Processes keys with the following headers: * + * -----BEGIN RSA PRIVATE KEY----- * -----BEGIN RSA PUBLIC KEY----- * * Analogous to ssh-keygen's pem format (as specified by -m) diff --git a/phpseclib/Crypt/RSA/PKCS8.php b/phpseclib/Crypt/RSA/PKCS8.php index 787c89a5..26ffdaef 100644 --- a/phpseclib/Crypt/RSA/PKCS8.php +++ b/phpseclib/Crypt/RSA/PKCS8.php @@ -6,8 +6,10 @@ * * Used by PHP's openssl_public_encrypt() and openssl's rsautl (when -pubin is set) * - * Has the following header: + * 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