IX509EndorsementKey interface (certenroll.h)

X.509 Endorsement Key Interface

Inheritance

The IX509EndorsementKey interface inherits from the IDispatch interface. IX509EndorsementKey also has these types of members:

Methods

The IX509EndorsementKey interface has these methods.

 
IX509EndorsementKey::AddCertificate

Add an endorsement key certificate to the key storage provider (KSP) that supports endorsement keys.
IX509EndorsementKey::Close

Closes the endorsement key. You can only call the Close method after the Open method has been successfully called.
IX509EndorsementKey::ExportPublicKey

Exports the endorsement public key.
IX509EndorsementKey::get_Length

The bit length of the endorsement key. You can only access this property after the Open method has been called.
IX509EndorsementKey::get_Opened

Indicates whether the Open method has been successfully called.
IX509EndorsementKey::get_ProviderName

The name of the encryption provider. The default is the Microsoft Platform Crypto Provider. You must set the ProviderName property before you call the Open method. You cannot change the ProviderName property after you have called the Open method. (Get)
IX509EndorsementKey::GetCertificateByIndex

Gets the endorsement certificate associated with the endorsement key from the key storage provider for the specified index.
IX509EndorsementKey::GetCertificateCount

Gets the count of the endorsement certificates in the key storage provider.
IX509EndorsementKey::Open

Opens the endorsement key. The endorsement key must be open before you can retrieve an information from the endorsement key, add or remove certificates, or export the endorsement key.
IX509EndorsementKey::put_ProviderName

The name of the encryption provider. The default is the Microsoft Platform Crypto Provider. You must set the ProviderName property before you call the Open method. You cannot change the ProviderName property after you have called the Open method. (Put)
IX509EndorsementKey::RemoveCertificate

Removes an endorsement certificate related to the endorsement key from the key storage provider. You can only call the RemoveCertificate method after the Open method has been successfully called.

Requirements

Requirement Value
Target Platform Windows
Header certenroll.h