win32crypt.CryptGetKeyIdentifierProperty

object = CryptGetKeyIdentifierProperty(KeyIdentifier, PropId , Flags , ComputerName )

Retrieves a property from a certificate by its key indentifier

Parameters

KeyIdentifier : string

Hash that identifies a certificate key

PropId=CERT_KEY_PROV_INFO_PROP_ID : int

Property identifier, one of the CERT_*_PROP_ID values

Flags=0 : int

Use CRYPT_KEYID_MACHINE_FLAG for machine keyset. (CRYPT_KEYID_ALLOC_FLAG is always added to Flags)

ComputerName=None : PyUnicode

Name of remote computer, use None for local machine

Comments

CERT_KEY_PROV_INFO_PROP_ID is only property currently supported