Skip to content

Latest commit

 

History

History
70 lines (57 loc) · 3.36 KB

nn-certenroll-icertpropertyarchivedkeyhash.md

File metadata and controls

70 lines (57 loc) · 3.36 KB
UID title description helpviewer_keywords old-location tech.root ms.assetid ms.date ms.keywords req.header req.include-header req.target-type req.target-min-winverclnt req.target-min-winversvr req.kmdf-ver req.umdf-ver req.ddi-compliance req.unicode-ansi req.idl req.max-support req.namespace req.assembly req.type-library req.lib req.dll req.irql targetos req.typenames req.redist ms.custom f1_keywords dev_langs topic_type api_type api_location api_name
NN:certenroll.ICertPropertyArchivedKeyHash
ICertPropertyArchivedKeyHash (certenroll.h)
Represents a SHA-1 hash of an encrypted private key submitted to a certification authority for archival.
ICertPropertyArchivedKeyHash
ICertPropertyArchivedKeyHash interface [Security]
ICertPropertyArchivedKeyHash interface [Security]
described
certenroll/ICertPropertyArchivedKeyHash
security.icertpropertyarchivedkeyhash
security\icertpropertyarchivedkeyhash.htm
security
06696346-b9d1-4229-991e-539862cff3c9
12/05/2018
ICertPropertyArchivedKeyHash, ICertPropertyArchivedKeyHash interface [Security], ICertPropertyArchivedKeyHash interface [Security],described, certenroll/ICertPropertyArchivedKeyHash, security.icertpropertyarchivedkeyhash
certenroll.h
Windows
Windows Vista [desktop apps only]
Windows Server 2008 [desktop apps only]
CertEnroll.dll
Windows
19H1
ICertPropertyArchivedKeyHash
certenroll/ICertPropertyArchivedKeyHash
c++
APIRef
kbSyntax
COM
CertEnroll.dll
ICertPropertyArchivedKeyHash

ICertPropertyArchivedKeyHash interface

-description

The ICertPropertyArchivedKeyHash interface represents a SHA-1 hash of an encrypted private key submitted to a certification authority for archival.

To archive a private key, a client first encrypts the key by using the public key from a CA exchange certificate. The client then places the encrypted private key into a PKCS #7 EnvelopedData structure and hashes the structure by using a SHA-1 hash algorithm. The resulting hash is used to initialize an ICertPropertyArchivedKeyHash object and is included in a CMC certificate request. The property value is typically associated with the certificate after the certificate response is received from the CA and before the response is placed in a store.

This property is initialized by the enrollment process and associated with the dummy certificate that is temporarily copied to the request store. If the CA denies the certificate request, the dummy certificate in the request store and all properties associated with it are deleted. If the CA issues the certificate and it is installed in the certificate store, this property is associated with the new certificate in the personal store and the dummy certificate is deleted.

Note  The CERTENROLL_PROPERTYID value is XCN_CERT_ARCHIVED_KEY_HASH_PROP_IDD.

 

-inheritance

The ICertPropertyArchivedKeyHash interface inherits from ICertProperty. ICertPropertyArchivedKeyHash also has these types of members:

-see-also

CertEnroll Interfaces

ICertProperty