Find a certificate in the database that matches a DER-encoded certificate.
#include <cert.h> CERTCertificate *CERT_FindCertByDERCert( CERTCertDBHandle *handle, SECItem *derCert );
This function looks in the ?NSSCryptoContext? and the ?NSSTrustDomain? to find the certificate that matches the DER-encoded certificate. A match is found when the issuer and serial number of the DER-encoded certificate are found on a certificate in the certificate database.
in the current NSS source code (generated by LXR).