1394
1394
void *plContext);
1397
* FUNCTION: PKIX_PL_Cert_VerifyCertAndKeyType
1400
* Verifies cert and key types against certificate usage that is
1401
* a part of plContext(pkix_pl_nsscontext) structure. Throws an error
1402
* if cert or key types does not match.
1406
* Address of Cert whose keyUsage bits are to be verified.
1409
* What type of a cert has been verified.
1410
* "plContext" - Platform-specific context pointer.
1412
* Thread Safe (see Thread Safety Definitions in Programmer's Guide)
1414
* Returns NULL if the function succeeds.
1415
* Returns a Cert Error if the function fails in a non-fatal way.
1416
* Returns a Fatal Error if the function fails in an unrecoverable way.
1419
PKIX_PL_Cert_VerifyCertAndKeyType(
1421
PKIX_Boolean isChainCert,
1397
1425
* FUNCTION: PKIX_PL_Cert_CheckValidity
1721
1749
void *plContext);
1754
* FUNCTION: PKIX_PL_Cert_GetCrlDp
1757
* Retrieves the value(s) of the CRL Distribution Point Extension and
1758
* returns it in a list at address pointed by "pDpList".
1762
* Address of Cert whose Subject Information Access is fetched.
1765
* Address where CRL DP will be stored and returned.
1768
* Platform-specific context pointer.
1770
* Thread Safe (see Thread Safety Definitions in Programmer's Guide)
1772
* Returns NULL if the function succeeds.
1773
* Returns a Cert Error if the function fails in a non-fatal way.
1774
* Returns a Fatal Error if the function fails in an unrecoverable way.
1777
PKIX_PL_Cert_GetCrlDp(PKIX_PL_Cert *cert,
1778
PKIX_List **pDpList,
2094
2152
void *plContext);
2155
* FUNCTION: PKIX_PL_CRL_ReleaseDerCrl
2158
* Relinguish the ownership for the crl der. The operation will succeed if
2159
* a crl owns the der. If the crl was created from existing crl and does not
2160
* own the der, then the function will return null.
2164
* Address of CRL whose signature is to be verified. Must be non-NULL.
2166
* Pointer to a SECItem that has der crl.
2168
* Platform-specific context pointer.
2170
* Thread Safe (see Thread Safety Definitions in Programmer's Guide)
2172
* Returns NULL if the function succeeds.
2173
* Returns a CRL Error if the function fails in a non-fatal way.
2174
* Returns a Fatal Error if the function fails in an unrecoverable way.
2177
PKIX_PL_CRL_ReleaseDerCrl(PKIX_PL_CRL *crl,
2181
* FUNCTION: PKIX_PL_CRL_AdoptDerCrl
2184
* Adopt memory of the der. The secItem that contains der will be
2185
* freed with destruction of parent pkix crl structure.
2189
* Address of CRL whose signature is to be verified. Must be non-NULL.
2191
* Pointer to a SECItem that has der crl.
2193
* Platform-specific context pointer.
2195
* Thread Safe (see Thread Safety Definitions in Programmer's Guide)
2197
* Returns NULL if the function succeeds.
2198
* Returns a CRL Error if the function fails in a non-fatal way.
2199
* Returns a Fatal Error if the function fails in an unrecoverable way.
2202
PKIX_PL_CRL_AdoptDerCrl(PKIX_PL_CRL *crl,
2097
2207
* FUNCTION: PKIX_PL_CRLEntry_GetCRLEntryReasonCode