Documentation

SignatureVerificationResult : string
in package

Table of Contents

Cases

DigestMismatch  = 'DIGEST_MISMATCH'
The digest in the signature does not match the SHA-256 digest of the invoice.
FileReadError  = 'FILE_READ_ERROR'
One or both invoice/signature files could not be read.
InvalidCanonicalData  = 'INVALID_CANONICAL_DATA'
SignedInfo could not be imported into DOM or canonicalized.
InvalidCertificateBlock  = 'INVALID_CERTIFICATE_BLOCK'
The embedded certificate is empty or cannot be loaded as a public key.
InvalidSignatureNamespace  = 'INVALID_SIGNATURE_NAMESPACE'
The signature XML does not use the expected XML Digital Signature namespace.
InvalidSignatureValue  = 'INVALID_SIGNATURE_VALUE'
The SignatureValue is not valid base64 data.
InvalidSignatureXml  = 'INVALID_SIGNATURE_XML'
The signature content is not valid XML or does not have a Signature root element.
MissingSignatureData  = 'MISSING_SIGNATURE_DATA'
Required SignedInfo, SignatureValue, or X509Certificate data is missing.
NotSupported  = 'NOT_SUPPORTED'
One or more required PHP extensions are not available.
SignatureMatchWithUnacceptedCertificate  = 'SIGNATURE_MATCH_WITH_UNACCEPTED_CERTIFICATE'
The signature matches, but its certificate is not in the accepted list.
SignatureMismatch  = 'SIGNATURE_MISMATCH'
The cryptographic signature does not validate against the canonicalized SignedInfo.
Success  = 'SUCCESS'
Verification completed successfully.

Cases

On this page

Search results