IOpcCertificateSet interface (msopc.h)
An unordered set of certificates to be used with a signature.
Inheritance
The IOpcCertificateSet interface inherits from the IUnknown interface. IOpcCertificateSet also has these types of members:
Methods
The IOpcCertificateSet interface has these methods.
IOpcCertificateSet::Add Adds a certificate to the set. |
IOpcCertificateSet::GetEnumerator Gets an enumerator of certificates in the set. |
IOpcCertificateSet::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
Requirement | Value |
---|---|
Minimum supported client | Windows 7 [desktop apps | UWP apps] |
Minimum supported server | Windows Server 2008 R2 [desktop apps | UWP apps] |
Target Platform | Windows |
Header | msopc.h |
See also
Getting Started with the Packaging API
Overviews
Packaging API Programming Guide
Packaging Digital Signature Interfaces
Reference