ExtendedProperty.PropID property

[CAPICOM is a 32-bit only component that is available for use in the following operating systems: Windows Server 2008, Windows Vista, and Windows XP. Instead, use Platform Invocation Services (PInvoke) to call the Win32 API function CertGetCertificateContextProperty and obtain the properties. For information about PInvoke, see Platform Invoke Tutorial. The .NET and CryptoAPI via P/Invoke: Part 1 and .NET and CryptoAPI via P/Invoke: Part 2 subsections of Extending .NET Cryptography with CAPICOM and P/Invoke may also be helpful.]

The PropID property sets or retrieves the type of extended property. This is the default property.

Syntax

ExtendedProperty.PropID As CAPICOM_PROPID

Property value

A value of the CAPICOM_PROPID enumeration that defines the CAPICOM property identifiers. The following table shows the possible values.

Value Meaning
CAPICOM_PROPID_UNKNOWN
The type of the property is not known.
CAPICOM_PROPID_KEY_PROV_HANDLE
A handle to a key container within a cryptographic service provider (CSP).
CAPICOM_PROPID_KEY_PROV_INFO
Information about a key container within a CSP.
CAPICOM_PROPID_SHA1_HASH
A SHA1 hash object.
CAPICOM_PROPID_HASH_PROP
The properties of a hash object.
CAPICOM_PROPID_MD5_HASH
An MD5 hash object.
CAPICOM_PROPID_KEY_CONTEXT
The key context.
CAPICOM_PROPID_KEY_SPEC
The specifications for a key.
CAPICOM_PROPID_IE30_RESERVED
Information about whether the object is reserved in Internet Explorer 3.0.
CAPICOM_PROPID_PUBKEY_HASH_RESERVED
Information about whether the hash of the public key is reserved.
CAPICOM_PROPID_ENHKEY_USAGE
An enhanced key usage (EKU).
CAPICOM_PROPID_CTL_USAGE
A certificate trust list (CTL) usage.
CAPICOM_PROPID_NEXT_UPDATE_LOCATION
The location of the next update to the certificate revocation list (CRL).
CAPICOM_PROPID_FRIENDLY_NAME
A human-readable name.
CAPICOM_PROPID_PVK_FILE
A file that contains a private key.
CAPICOM_PROPID_DESCRIPTION
A human-readable description.
CAPICOM_PROPID_ACCESS_STATE
The state of the access.
CAPICOM_PROPID_SIGNATURE_HASH
A hash of the signature.
CAPICOM_PROPID_SMART_CARD_DATA
Smart card data.
CAPICOM_PROPID_EFS
An Encrypting File System (EFS).
CAPICOM_PROPID_FORTEZZA_DATA
Data created using the cryptographic protocols and algorithms owned by the National Institute of Standards and Technology (NIST).
CAPICOM_PROPID_ARCHIVED
Information about whether the object is archived.
CAPICOM_PROPID_KEY_IDENTIFIER
A key identifier.
CAPICOM_PROPID_AUTO_ENROLL
Auto-enrollment information for a certificate.
CAPICOM_PROPID_PUBKEY_ALG_PARA
Parameters for a public key algorithm.
CAPICOM_PROPID_CROSS_CERT_DIST_POINTS
Information used to update dynamic cross certificates.
CAPICOM_PROPID_ISSUER_PUBLIC_KEY_MD5_HASH
The MD5 hash of the issuer's public key.
CAPICOM_PROPID_SUBJECT_PUBLIC_KEY_MD5_HASH
The MD5 hash of the subject's public key.
CAPICOM_PROPID_ENROLLMENT
Information about the certificate's enrollment.
CAPICOM_PROPID_DATE_STAMP
A date stamp.
CAPICOM_PROPID_ISSUER_SERIAL_NUMBER_MD5_HASH
The MD5 hash of the issuer's serial number.
CAPICOM_PROPID_SUBJECT_NAME_MD5_HASH
The MD5 hash of the subject's name.
CAPICOM_PROPID_EXTENDED_ERROR_INFO
Extended information about an error.
CAPICOM_PROPID_RENEWAL
Information about the renewal of a certification authority.
CAPICOM_PROPID_ARCHIVED_KEY_HASH
An archived hash of a key.
CAPICOM_PROPID_FIRST_RESERVED
Information about the first reservation.
CAPICOM_PROPID_LAST_RESERVED
Information about the most recent reservation.
CAPICOM_PROPID_FIRST_USER
Information about the first user.
CAPICOM_PROPID_LAST_USER
Information about the most recent user.

 

Requirements

Requirement Value
End of client support
Windows Vista
End of server support
Windows Server 2008
Redistributable
CAPICOM 2.0 or later on Windows Server 2003 and Windows XP
DLL
Capicom.dll