IX509ExtensionSubjectKeyIdentifier::get_SubjectKeyIdentifier method (certenroll.h)

The SubjectKeyIdentifier property retrieves a byte array that contains the key identifier. The byte array is represented by a Unicode-encoded string.

This property is read-only.

Syntax

HRESULT get_SubjectKeyIdentifier(
  EncodingType Encoding,
  BSTR         *pValue
);

Parameters

Encoding

pValue

Return value

None

Remarks

Call the InitializeDecode method or the InitializeEncode method to initialize the IX509ExtensionSubjectKeyIdentifier object. You can also call the Critical property to specify and retrieve a Boolean value that identifies whether the extension is critical, and you can call the ObjectId property to retrieve the object identifier (OID) associated with the extension.

Requirements

Requirement Value
Minimum supported client Windows Vista [desktop apps only]
Minimum supported server Windows Server 2008 [desktop apps only]
Target Platform Windows
Header certenroll.h
DLL CertEnroll.dll

See also

IX509ExtensionSubjectKeyIdentifier