SignatureInfo.GetCertificateDetail method (Office)

Displays a specified detail related to a digital certificate.

Syntax

expression.GetCertificateDetail(certdet)

expression An expression that returns a SignatureInfo object.

Parameters

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

Return value

Variant

Example

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.