SetaPDF_Signer_Asn1_Signed Abstract class for signed ASN.1 strucutres.
File: /SetaPDF v2/Signer/Asn1/Signed.php
Class hierarchy
Summary
Static Properties
$usePhpseclibForRsaPss
Flag defining whether usage of phpseclib or default OpenSSL methods for RSA_PSS validation.
$verifyCallback
static public null|callable SetaPDF_Signer_Asn1_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.
getSignedData()
abstract public SetaPDF_Signer_Asn1_Signed::getSignedData (
void
): SetaPDF_Core_Reader_FilePath|stringGet the signed data.
verify()
public SetaPDF_Signer_Asn1_Signed::verify (
SetaPDF_Signer_X509_Certificate $signerCertificate
): boolVerify the signed object.
Parameters
- $signerCertificate : SetaPDF_Signer_X509_Certificate
Exceptions
Throws SetaPDF_Signer_Asn1_Exception
Throws SetaPDF_Signer_Exception