Lines Matching refs:NULL
93 , description( NULL ) in UsageDescription()
144 return NULL; in GetPasswordFunction()
148 m_pHandler( NULL ) , m_tSymKeyList() , m_tPubKeyList() , m_tPriKeyList() { in SecurityEnvironment_NssImpl()
155 PK11_SetPasswordFunc( NULL ) ; in ~SecurityEnvironment_NssImpl()
265 return NULL ; in getImplementation()
300 if( aSymKey != NULL ) { in adoptSymKey()
309 if( symkey == NULL ) in adoptSymKey()
324 if( aSymKey != NULL ) { in rejectSymKey()
341 symkey = NULL ; in getSymKey()
354 if( aPubKey != NULL ) { in adoptPubKey()
363 if( pubkey == NULL ) in adoptPubKey()
378 if( aPubKey != NULL ) { in rejectPubKey()
395 pubkey = NULL ; in getPubKey()
408 if( aPriKey != NULL ) { in adoptPriKey()
417 if( prikey == NULL ) in adoptPriKey()
432 if( aPriKey != NULL ) { in rejectPriKey()
449 prikey = NULL ; in getPriKey()
461 PK11SlotList * soltList = NULL; in updateSlots()
462 PK11SlotListElement * soltEle = NULL; in updateSlots()
463 PK11SlotInfo * pSlot = NULL; in updateSlots()
464 PK11SymKey * pSymKey = NULL; in updateSlots()
471 soltList = PK11_GetAllTokens( CKM_INVALID_MECHANISM, PR_FALSE, PR_FALSE, NULL ) ; in updateSlots()
472 if( soltList != NULL ) in updateSlots()
474 for( soltEle = soltList->head ; soltEle != NULL; soltEle = soltEle->next ) in updateSlots()
478 if(pSlot != NULL) in updateSlots()
492 pSymKey = PK11_KeyGen( pSlot , CKM_DES3_CBC, NULL, 128, NULL ) ; in updateSlots()
501 pSlot = NULL; in updateSlots()
503 if (pSymKey != NULL) in updateSlots()
507 pSymKey = NULL; in updateSlots()
533 SECStatus nRet = PK11_Authenticate(slot, PR_TRUE, NULL); in getPersonalCertificates()
543 if( priKeyList != NULL ) { in getPersonalCertificates()
545 !PRIVKEY_LIST_END( curPri, priKeyList ) && curPri != NULL ; in getPersonalCertificates()
548 if( xcert != NULL ) in getPersonalCertificates()
562 if( xcert != NULL ) in getPersonalCertificates()
585 X509Certificate_NssImpl* xcert = NULL; in getCertificate()
587 if( m_pHandler != NULL ) { in getCertificate()
596 if( arena == NULL ) in getCertificate()
636 if( nmIssuer == NULL ) { in getCertificate()
647 return NULL; in getCertificate()
650 …derIssuer = SEC_ASN1EncodeItem( arena, NULL, ( void* )nmIssuer, SEC_ASN1_GET( CERT_NameTemplate ) … in getCertificate()
651 if( derIssuer == NULL ) { in getCertificate()
667 if( cert != NULL ) { in getCertificate()
670 xcert = NULL ; in getCertificate()
679 xcert = NULL ; in getCertificate()
702 if( xcert == NULL ) { in buildCertificatePath()
707 if( cert != NULL ) { in buildCertificatePath()
715 certChain = NULL ; in buildCertificatePath()
718 if( certChain != NULL ) { in buildCertificatePath()
728 if( pCert == NULL ) { in buildCertificatePath()
751 if( xcert == NULL ) in createCertificateFromRaw()
756 xcert = NULL ; in createCertificateFromRaw()
801 if( xcert == NULL ) { in verifyCertificate()
809 CERTCertDBHandle * certDb = m_pHandler != NULL ? m_pHandler : CERT_GetDefaultCertDB(); in verifyCertificate()
811 if( cert != NULL ) in verifyCertificate()
824 NULL /* nickname */, in verifyCertificate()
847 log.head = log.tail = NULL; in verifyCertificate()
883 rev.leafTests.preferred_methods = NULL; in verifyCertificate()
897 rev.chainTests.preferred_methods = NULL; in verifyCertificate()
911 cvout[0].value.pointer.cert = NULL; in verifyCertificate()
944 cvin, cvout, NULL); in verifyCertificate()
976 CERTVerifyLogNode *node = NULL; in verifyCertificate()
983 log.head = log.tail = NULL; in verifyCertificate()
1019 if( xcert == NULL ) { in getCertificateCharacters()
1041 SECKEYPrivateKey* priKey = NULL; in getCertificateCharacters()
1043 if (cert->slot != NULL) in getCertificateCharacters()
1045 priKey = PK11_FindPrivateKeyFromCert( cert->slot, ( CERTCertificate* )cert, NULL ) ; in getCertificateCharacters()
1047 if(priKey == NULL) in getCertificateCharacters()
1051 priKey = PK11_FindPrivateKeyFromCert(*is, (CERTCertificate*)cert, NULL); in getCertificateCharacters()
1056 if( priKey != NULL ) { in getCertificateCharacters()
1071 if( cert != NULL ) { in NssCertToXCert()
1073 if( xcert == NULL ) { in NssCertToXCert()
1074 xcert = NULL ; in NssCertToXCert()
1079 xcert = NULL ; in NssCertToXCert()
1090 if( priKey != NULL ) { in NssPrivKeyToXCert()
1093 if( cert != NULL ) { in NssPrivKeyToXCert()
1096 xcert = NULL ; in NssPrivKeyToXCert()
1101 xcert = NULL ; in NssPrivKeyToXCert()
1112 CERTCertDBHandle* handler = NULL ; in createKeysManager()
1113 PK11SymKey* symKey = NULL ; in createKeysManager()
1114 SECKEYPublicKey* pubKey = NULL ; in createKeysManager()
1115 SECKEYPrivateKey* priKey = NULL ; in createKeysManager()
1116 xmlSecKeysMngrPtr pKeysMngr = NULL ; in createKeysManager()
1132 if( pKeysMngr == NULL ) in createKeysManager()
1138 for( i = 0 ; ( symKey = this->getSymKey( i ) ) != NULL ; i ++ ) { in createKeysManager()
1147 for( i = 0 ; ( pubKey = this->getPubKey( i ) ) != NULL ; i ++ ) { in createKeysManager()
1156 for( i = 0 ; ( priKey = this->getPriKey( i ) ) != NULL ; i ++ ) { in createKeysManager()
1164 if( pKeysMngr != NULL ) { in destroyKeysManager()