IX509CertificateRequestPkcs10::get_ReuseKey method (certenroll.h)

The ReuseKey property retrieves a Boolean value that indicates whether an existing private key was used to sign the request.

This property is read-only.

Syntax

HRESULT get_ReuseKey(
  VARIANT_BOOL *pValue
);

Parameters

pValue

Return value

None

Remarks

If you initialized the request object by calling the InitializeFromCertificate method, you specified a value for the InheritOptions parameter that indicated whether the private key used to sign the request was inherited from the certificate. If you specified InheritPrivateKey for this parameter, the ReuseKey property returns a value of Boolean true.

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

IX509CertificateRequestPkcs10