IOpcCertificateEnumerator interface
A read-only enumerator of pointers to CERT_CONTEXT structures.
When to implement
Never. Custom implementations of this interface are not supported.
Members
The IOpcCertificateEnumerator interface inherits from the IUnknown interface. IOpcCertificateEnumerator also has these types of members:
Methods
The IOpcCertificateEnumerator interface has these methods.
| Method | Description |
|---|---|
| Clone |
Creates a copy of the current IOpcCertificateEnumerator interface pointer and all its descendants. |
| GetCurrent |
Gets the CERT_CONTEXT structure at the current position of the enumerator. |
| MoveNext |
Moves the current position of the enumerator to the next CERT_CONTEXT structure. |
| MovePrevious |
Moves the current position of the enumerator to the previous CERT_CONTEXT structure. |
Remarks
When an enumerator is created, the current position precedes the first pointer of the enumerator. To set the current position to the first pointer, call the MoveNext method after the enumerator is created.
Changes to the set will invalidate the enumerator and all subsequent calls to it will fail.
To get an IOpcCertificateEnumerator interface pointer, call the IOpcCertificateSet::GetEnumerator or IOpcDigitalSignature::GetCertificateEnumerator method.
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
- IOpcCertificateSet
- IOpcDigitalSignature
- Core Packaging Interfaces
- Packaging Interfaces
- Packaging API Reference
- Packaging API Samples