|
| __construct ($pem) |
| Constructs a verifier from the supplied PEM-encoded certificate.
|
|
| verify ($data, $signature) |
| Verifies the signature on data.
|
|
◆ __construct()
Google_Verifier_Pem::__construct |
( |
| $pem | ) |
|
Constructs a verifier from the supplied PEM-encoded certificate.
$pem: a PEM encoded certificate (not a file).
- Parameters
-
- Exceptions
-
◆ verify()
Google_Verifier_Pem::verify |
( |
| $data, |
|
|
| $signature ) |
Verifies the signature on data.
Returns true if the signature is valid, false otherwise.
- Parameters
-
- Exceptions
-
- Return values
-
Reimplemented from Google_Verifier_Abstract.
The documentation for this class was generated from the following file:
- lib/google/src/Google/Verifier/Pem.php