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
Requirement | Value |
---|---|
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 |
|
See also
피드백
https://aka.ms/ContentUserFeedback
출시 예정: 2024년 내내 콘텐츠에 대한 피드백 메커니즘으로 GitHub 문제를 단계적으로 폐지하고 이를 새로운 피드백 시스템으로 바꿀 예정입니다. 자세한 내용은 다음을 참조하세요.다음에 대한 사용자 의견 제출 및 보기