setasign\SetaPDF2\Signer\Asn1
Signed Abstract class for signed ASN.1 structures.
File: /SetaPDF v2/Signer/Asn1/Signed.php
Old class name (alias):
\SetaPDF_Signer_Asn1_Signed
Class hierarchy
Summary
Static Properties
$usePhpseclibForRsaPss
Flag defining whether usage of phpseclib or default OpenSSL methods for RSA_PSS validation.
$verifyCallback
static public ?callable Signed::$verifyCallback
A callable that can be used to implement individual verification logic.
Properties
Methods
getSignatureAlgorithm()
Get the signature algorithm and parameter.
Return Values
The first value holds the OID of the algorithm. The second value is the ASN.1 structure of the parameters.
verify()
Verify the signed object.
Parameters
- $signerCertificate : \SetaPDF_Signer_X509_Certificate
Exceptions
Throws Exception