IX509CertificateRequestCmc::get_EncryptedKeyHash method (certenroll.h)

The EncryptedKeyHash property retrieves a hash of the private key to be archived. The hash is contained in an encoded byte array.

This property is read-only.

Syntax

HRESULT get_EncryptedKeyHash(
  EncodingType Encoding,
  BSTR         *pValue
);

Parameters

Encoding

pValue

Return value

None

Remarks

For more information about archiving private keys, see the ArchivePrivateKey and KeyArchivalCertificate properties.

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

IX509CertificateRequestCmc