RSA: update PKCS1/8 comments

This commit is contained in:
terrafrost 2016-07-28 22:14:37 -05:00
parent c12500cace
commit ec62e5d9f5
2 changed files with 6 additions and 3 deletions

View File

@ -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)

View File

@ -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
@ -206,4 +208,4 @@ class PKCS8 extends PKCS
return $RSAPublicKey;
}
}
}