SECKEYGetPasswordKey f, void *arg)
SECKEYLowGetPasswordKey f, void *arg)
SECKEY_FindKeyByCert(SECKEYKeyDBHandle *handle, CERTCertificate *cert,		     SECKEYGetPasswordKey f, void *arg){    SECKEYPublicKey *pubkey = NULL;    SECItem *keyItem;    SECKEYLowPrivateKey *privKey = NULL;        /* get cert's public key */    pubkey = CERT_ExtractPublicKey(cert);    if ( !pubkey ) {	goto loser;    }    /* TNH - make record key from SECKEYPublicKey (again) */    switch (pubkey->keyType) {      case rsaKey:	keyItem = &pubkey->u.rsa.modulus;	break;      case dsaKey:	keyItem = &pubkey->u.dsa.publicValue;	break;      case dhKey:	keyItem = &pubkey->u.dh.publicValue;	break;	/* fortezza an NULL keys are not stored in the data base */      case fortezzaKey:      case nullKey:	goto loser;    }    privKey = SECKEY_FindKeyByPublicKey(handle, keyItem, f, arg);    /* success falls through */loser:    SECKEY_DestroyPublicKey(pubkey);    return(privKey);}