CTL_VERIFY_USAGE_PARA

The CTL_VERIFY_USAGE_PARA structure is used to specify parameters for CertVerifyCTLUsage.

typedef struct _CTL_VERIFY_USAGE_PARA {
    DWORD                   cbSize;
    CRYPT_DATA_BLOB         ListIdentifier;     // OPTIONAL
    DWORD                   cCtlStore;
    HCERTSTORE              *rghCtlStore;       // OPTIONAL
    DWORD                   cSignerStore;
    HCERTSTORE              *rghSignerStore;    // OPTIONAL
} CTL_VERIFY_USAGE_PARA, *PCTL_VERIFY_USAGE_PARA;
 

Members

cbSize
The count of bytes in this data structure.
ListIdentifier
Specify the ListIdentifier if you want to restrict to a particular signer CTL list. It will then be used to match the ListIdentifier in a CTL. Normally the ListIdentifier will be zero, indicating that any ListIdentifier can be matched.

If you want to match only lists that have no ListIdentifier then ListIdentifier.cbData should be set to CTL_FIND_NO_LIST_ID_CBDATA to match CTLs with no specified ListIdentifier.

If the issuer creates multiple trust lists for the same SubjectUsage in a CTL_INFO structure, then, the ListIdentifier must be specified to distinguish between them.

cCtlStore
The count of stores containing CTLs.
rghCtlStore
Specifies the stores to be searched to find the CTL by CertVerifyCTLUsage.
cSignerStore
The count of stores containing signers.
rghSignerStore
Specifies the stores containing acceptable CTL signers.

See Also

CertVerifyCTLUsage