[]
Gets the certificate (private key removed) that was used to sign this workbook.
Use this property to read the public certificate stored in the signature metadata returned by Details. The returned certificate does not include the private key material.
X509Certificate2 SignatureCertificate { get; }
ReadOnly Property SignatureCertificate As X509Certificate2
workbook.Open(GetSignedWorkbookStream());
ISignature signature = workbook.Signatures[0];
IReadOnlySignatureDetails details = signature.Details;
X509Certificate certificate = details.SignatureCertificate;