2.2.1.3 CERTVIEWRESTRICTION

The CERTVIEWRESTRICTION structure is used to restrict the data set that is returned by the CA server during calls to the OpenView method for the ICertAdminD interface.

This structure is passed by RPC technology, as specified in [MS-RPCE], and does not need special marshaling.

 typedef struct _CERTVIEWRESTRICTION {
   DWORD ColumnIndex;
   LONG SeekOperator;
   LONG SortOrder;
   [size_is(cbValue), unique] BYTE* pbValue;
   DWORD cbValue;
 } CERTVIEWRESTRICTION;

ColumnIndex: An unsigned integer value that specifies the identifier for the database column that is receiving the restriction.

SeekOperator: An integer value that specifies the logical operator of the data-query qualifier for the column. This parameter MUST be set to one of the following values.

Value

Meaning

0x00000001

Equal to

0x00000002

Less than

0x00000004

Less than or equal to

0x00000008

Greater than or equal to

0x00000010

Greater than

SortOrder: An integer value that specifies the sort order for the column. This parameter MUST be set to one of the following values.

Value

Meaning

0x00000000

No sort order

0x00000001

Ascending

0x00000002

Descending

pbValue: A pointer to a byte array that specifies the value against which the value in the corresponding column (specified by ColumnIndex) is compared, using SeekOperator.

cbValue: An unsigned integer value that specifies the length of the byte array that is pointed to by the pbValue field.