120
120
* This callback function determines whether the specified Cert pointed to by
121
* "cert" matches the criteria of the CertSelector pointed to by "selector",
122
* and stores the result at "pResult". If the Cert matches the CertSelector's
123
* criteria, a value of PKIX_TRUE will be stored at "pResult"; otherwise a
124
* value of PKIX_FALSE will be stored.
121
* "cert" matches the criteria of the CertSelector pointed to by "selector".
122
* If the Cert does not matches the CertSelector's criteria, an exception will
1796
1792
PKIX_Boolean match,
1797
1793
void *plContext);
1796
* FUNCTION: PKIX_ComCertSelParams_GetLeafCertFlag
1799
* Return "leafCert" flag of the ComCertSelParams structure. If set to true,
1800
* the flag indicates that a selector should filter out all cert that are not
1801
* qualified to be a leaf cert according to the specified key/ekey usages.
1805
* Address of ComCertSelParams object used to determine whether all
1806
* subject alternative names must be matched. Must be non-NULL.
1808
* Address of returned value.
1810
* Platform-specific context pointer.
1812
* Conditionally Thread Safe
1813
* (see Thread Safety Definitions in Programmer's Guide)
1815
* Returns NULL if the function succeeds.
1816
* Returns a CertSelector Error if the function fails in a non-fatal way.
1817
* Returns a Fatal Error if the function fails in an unrecoverable way.
1820
PKIX_ComCertSelParams_GetLeafCertFlag(
1821
PKIX_ComCertSelParams *params,
1822
PKIX_Boolean *pLeafFlag,
1826
* FUNCTION: PKIX_ComCertSelParams_SetLeafCertFlag
1829
* Sets a flag that if its value is true, indicates that the selector
1830
* should only pick certs that qualifies to be leaf for this cert path
1835
* Address of ComCertSelParams object whose match flag is to be set.
1838
* Boolean value used to set the leaf flag.
1840
* Platform-specific context pointer.
1842
* Not Thread Safe - assumes exclusive access to "params"
1843
* (see Thread Safety Definitions in Programmer's Guide)
1845
* Returns NULL if the function succeeds.
1846
* Returns a CertSelector Error if the function fails in a non-fatal way.
1847
* Returns a Fatal Error if the function fails in an unrecoverable way.
1850
PKIX_ComCertSelParams_SetLeafCertFlag(
1851
PKIX_ComCertSelParams *params,
1852
PKIX_Boolean leafFlag,
1799
1855
#ifdef __cplusplus