IOpcCertificateSet interface
An unordered set of certificates to be used with a signature.
When to implement
Never. Custom implementations of this interface are not supported.
Members
The IOpcCertificateSet interface inherits from the IUnknown interface. IOpcCertificateSet also has these types of members:
Methods
The IOpcCertificateSet interface has these methods.
| Method | Description |
|---|---|
| Add |
Adds a certificate to the set. |
| GetEnumerator |
Gets an enumerator of certificates in the set. |
| Remove |
Removes a specified certificate from the set. |
Remarks
Do not add the certificate that will be passed to the IOpcDigitalSignature::Sign method (the signer certificate) to this certificate set.
Certificates that are in a certificate chain are added to the package by calling the Add method.
To access an IOpcCertificateSet interface pointer, call the IOpcSigningOptions::GetCertificateSet method.
When a signature is generated, certificates that were added to the package by calling Add are associated with the signature.
Thread Safety
Packaging objects are not thread-safe.
For more information, see the Getting Started with the Packaging API.
Requirements
|
Minimum supported client | Windows 7 [desktop apps | Windows Store apps] |
|---|---|
|
Minimum supported server | Windows Server 2008 R2 [desktop apps | Windows Store apps] |
|
Header |
|
|
IDL |
|
See also
- Packaging Digital Signature Interfaces
- Overviews
- Certificates
- Digital Signatures Overview
- Getting Started with the Packaging API
- Packaging API Programming Guide
- Reference
- CERT_CONTEXT
- IOpcCertificateEnumerator
- IOpcDigitalSignature
- IOpcSigningOptions
- Core Packaging Interfaces
- Packaging Interfaces
- Packaging API Reference
- Packaging API Samples