ICEnroll4::IncludeSubjectKeyID property

[This property is no longer available for use as of Windows Server 2008 and Windows Vista.]

The IncludeSubjectKeyID property determines whether the subject key ID extension is added to the certificate request that is generated. The object identifier (OID) for the subject key ID extension is "2.5.29.14", which is the defined value of the szOID_SUBJECT_KEY_IDENTIFIER constant in Wincrypt.h. This property was first defined in the ICEnroll4 interface.

This property is read/write.

Syntax


HRESULT put_IncludeSubjectKeyID(
  [in]   BOOL fInclude
);

HRESULT get_IncludeSubjectKeyID(
  [out]  BOOL *pfInclude
);

Property value

A Long value that determines whether the certificate request contains a subject key identifier extension. If this value is one, the certificate request is generated with a subject key identifier extension. If this value is zero, then the certificate request is not generated with a subject key identifier extension. The default value is one.

Error codes

If the property access methods get_IncludeSubjectKeyID and put_IncludeSubjectKeyID succeed, they return S_OK.

Any other HRESULT value indicates that the call failed.

Requirements

Minimum supported client

Windows XP [desktop apps only]

Minimum supported server

Windows Server 2003 [desktop apps only]

End of client support

Windows XP

End of server support

Windows Server 2003

Header

Xenroll.h

Library

Uuid.lib

DLL

Xenroll.dll

IID

IID_ICEnroll4 is defined as c1f1188a-2eb5-4a80-841b-7e729a356d90

See also

ICEnroll4
CEnroll

 

 

Community Additions

ADD
Show:
© 2014 Microsoft