IOpcCertificateEnumerator interface (msopc.h)
A read-only enumerator of pointers to CERT_CONTEXT structures.
Inheritance
The IOpcCertificateEnumerator interface inherits from the IUnknown interface. IOpcCertificateEnumerator also has these types of members:
Methods
The IOpcCertificateEnumerator interface has these methods.
IOpcCertificateEnumerator::Clone Creates a copy of the current IOpcCertificateEnumerator interface pointer and all its descendants. |
IOpcCertificateEnumerator::GetCurrent Gets the CERT_CONTEXT structure at the current position of the enumerator. |
IOpcCertificateEnumerator::MoveNext Moves the current position of the enumerator to the next CERT_CONTEXT structure. |
IOpcCertificateEnumerator::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
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