Table of contents
TOC
Collapse the table of content
Expand the table of content

SignatureInfo.GetCertificateDetail Method (Office)

office 365 dev account|Last Updated: 6/12/2017
|
1 Contributor

Displays a specified detail related to a digital certificate.

Syntax

expression. GetCertificateDetail( certdet )

expression An expression that returns a SignatureInfo object.

Parameters

NameRequired/OptionalData TypeDescription
certdetRequiredCertificateDetailAn 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.GetCertificationDetail(certdetExpirationDate) 

End Sub 

See also

Concepts

SignatureInfo Object

Other resources

SignatureInfo Object Members

© 2018 Microsoft