ubsets indicated by <i>selection</i>. Some combined selections of data subsets may cause validation of the combined data. For example, the combination of <b>OSSL_KEYMGMT_SELECT_PRIVATE_KEY</b> and <b>OSSL_KEYMGMT_SELECT_PUBLIC_KEY</b> (or <b>OSSL_KEYMGMT_SELECT_KEYPAIR</b> for short) is expected to check that the pairwise consistency of <i>keydata</i> is valid. The <i>checktype</i> parameter controls what type of check is performed on the subset of data. Two types of check are defined: <b>OSSL_KEYMGMT_VALID