다음을 통해 공유


CertificateQuery.EnhancedKeyUsages 속성

정의

검색할 향상된 키 사용 확장에 대한 OID(개체 식별자) 컬렉션을 가져옵니다.

public:
 property IVector<Platform::String ^> ^ EnhancedKeyUsages { IVector<Platform::String ^> ^ get(); };
IVector<winrt::hstring> EnhancedKeyUsages();
public IList<string> EnhancedKeyUsages { get; }
var iVector = certificateQuery.enhancedKeyUsages;
Public ReadOnly Property EnhancedKeyUsages As IList(Of String)

속성 값

IVector<String>

IList<String>

IVector<Platform::String>

IVector<winrt::hstring>

검색할 향상된 키 사용 확장에 대한 OID(개체 식별자) 컬렉션입니다.

예제

var query = new Windows.Security.Cryptography.Certificates.CertificateQuery();
query.issuerName = "Consoto Bank Issuing CA";
var enhancedKeyUsages = query.enhancedKeyUsages;
enhancedKeyUsage[0] = "1.3.6.1.5.5.7.3.2"; // client auth
var certificates;
Windows.Security.Cryptography.Certificates.
    CertificateStores.findAllAsync(query).done(function(queriedCertificates)
{
    certificates = queriedCertificates;
}, 
function(e) 
{
    WinJS.log("FindAllAsync failed, error:" + e.number + e.message);
});

적용 대상