ICertPropertyArchivedKeyHash::get_ArchivedKeyHash method (certenroll.h)

The ArchivedKeyHash property retrieves a SHA-1 hash of the private key.

This property is read-only.

Syntax

HRESULT get_ArchivedKeyHash(
  EncodingType Encoding,
  BSTR         *pValue
);

Parameters

Encoding

pValue

Return value

None

Remarks

Call the Initialize method to specify the hash.

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

ArchivePrivateKey

ICertPropertyArchivedKeyHash

KeyArchivalCertificate