SignatureInfo.GetCertificateDetail method (Office)

Displays a specified detail related to a digital certificate.



expression An expression that returns a SignatureInfo object.


Name Required/Optional Data type Description
certdet Required CertificateDetail An enumerated value specifying which certificate detail to display.

Return value



The following example gets the expiration date of the digital certificate.

Sub GetCertDetails() 
Dim objSignatureInfo As SignatureInfo 
Dim varDetail As Variant 
strDetail = objSignatureInfo.GetCertificateDetail(certdetExpirationDate) 
End Sub 

See also

Support and feedback

Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.