Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

CertificateStatus.EKU method

[CAPICOM is a 32-bit only component that is available for use in the following operating systems: Windows Server 2008, Windows Vista, and Windows XP. Instead, use the X509ChainStatus Structure in the System.Security.Cryptography.X509Certificates namespace.]

The EKU method returns the EKU object used to build the Chain object.

Syntax


CertificateStatus.EKU()

Parameters

This method has no parameters.

Return value

This method returns an EKU object that indicates the extended key usage setting of the certificate. The EKU setting establishes a certificate's valid use. Only a single EKU object can be set for each certificate.

Remarks

The CertificateStatus.ApplicationPolicies method provides the same functionality as this method but allows many settings to be specified instead of only one. If the OIDs collection returned by the ApplicationPolicies method contains one or more OID objects, the EKU object returned by this method is ignored. Use the ApplicationPolicies method instead of this method.

Requirements

End of client support

Windows Vista

End of server support

Windows Server 2008

Redistributable

CAPICOM 2.0 or later on Windows Server 2003 and Windows XP

DLL

Capicom.dll

See also

CertificateStatus
Cryptography Objects
EKU

 

 

Community Additions

ADD
Show:
© 2015 Microsoft