CertSetCertificateContextProperty(PropId, Data, Flags)
Sets a property for a certificate
| PropId | Type of input |
| CERT_ARCHIVED_PROP_ID | None causes Archived flag to be cleared, any other causes it to be set no actual data, non-NULL pvData indicates presence of flag |
| CERT_DATE_STAMP_PROP_ID | PyDateTime specifying when cert was added to store |
| CERT_DESCRIPTION_PROP_ID | Unicode string |
| CERT_FRIENDLY_NAME_PROP_ID | Unicode string |
| CERT_PVK_FILE_PROP_ID | Unicode string |
| CERT_AUTO_ENROLL_PROP_ID | Unicode string |
| CERT_KEY_SPEC_PROP_ID | Int, usually AT_KEYEXCHANGE or AT_SIGNATURE |
| CERT_HASH_PROP_ID | String containing the hash |
| CERT_SHA1_HASH_PROP_ID | String containing the hash |
| CERT_MD5_HASH_PROP_ID | String containingg the hash |
| CERT_SIGNATURE_HASH_PROP_ID | String containing the hash |
| CERT_KEY_IDENTIFIER_PROP_ID | String containing the key id |
| CERT_SUBJECT_PUBLIC_KEY_MD5_HASH_PROP_ID | String containing the hash |
| CERT_ISSUER_PUBLIC_KEY_MD5_HASH_PROP_ID | String containing the hash |
| CERT_SUBJECT_NAME_MD5_HASH_PROP_ID | String containing the hash |
| CERT_RENEWAL_PROP_ID | String containing the hash |
| CERT_ENHKEY_USAGE_PROP_ID | String containing an encoded PyCTL_USAGE. Use cryptoapi::CryptEncodeObjectEx with X509_ENHANCED_KEY_USAGE. |
| CERT_CTL_USAGE_PROP_ID | Same as CERT_ENHKEY_USAGE_PROP_ID |