Lines Matching refs:a_hSession

196 findExistingObjects( CK_SESSION_HANDLE   a_hSession,
224 rv = findObjects( a_hSession, tAttr, ulAttrCount, a_phObject, a_pulObjectCount );
236 checkExistingObjects( CK_SESSION_HANDLE a_hSession,
251 if ( findExistingObjects( a_hSession, a_tAttr, a_ulAttrCount, &phObject, &ulObjectCount ) == -1 )
284 destroyExistingObjects( CK_SESSION_HANDLE a_hSession,
296 if ( findExistingObjects( a_hSession, a_tAttr, a_ulAttrCount, &phObject, &ulObjectCount ) == -1 )
301 rv = destroyObject( a_hSession, phObject[ --ulObjectCount ] );
400 checkX509Cert( CK_SESSION_HANDLE a_hSession ) {
408 return checkExistingObjects( a_hSession, tAttr, ulAttrCount, TOKEN_ID_X509_CERT );
417 destroyX509CertObject( CK_SESSION_HANDLE a_hSession ) {
425 return destroyExistingObjects( a_hSession, tAttr, ulAttrCount );
434 CK_SESSION_HANDLE a_hSession ) {
520 rv = createObject( a_hSession, tCertAttr, ulCertAttrCount, &hObject );
540 CK_SESSION_HANDLE a_hSession ) {
544 if ( destroyX509CertObject( a_hSession ) == -1 )
547 if ( createX509CertObject( a_pX509, a_hSession ) == -1 )
617 checkRsaPubKey( CK_SESSION_HANDLE a_hSession ) {
627 return checkExistingObjects( a_hSession, tAttr, ulAttrCount, TOKEN_ID_RSA_PUBKEY );
636 checkRsaKey( CK_SESSION_HANDLE a_hSession ) {
644 return checkExistingObjects( a_hSession, tAttr, ulAttrCount, TOKEN_ID_RSA_KEY );
653 destroyRsaPubKeyObject( CK_SESSION_HANDLE a_hSession ) {
663 return destroyExistingObjects( a_hSession, tAttr, ulAttrCount );
672 destroyRsaKeyObject( CK_SESSION_HANDLE a_hSession ) {
680 return destroyExistingObjects( a_hSession, tAttr, ulAttrCount );
689 CK_SESSION_HANDLE a_hSession,
739 rv = createObject( a_hSession, tAttr, ulAttrCount, a_hObject );
758 CK_SESSION_HANDLE a_hSession,
834 rv = createObject( a_hSession, tAttr, ulAttrCount, a_hObject );
859 CK_SESSION_HANDLE a_hSession ) {
867 if ( createRsaPubKeyObject( a_pRsa, a_hSession, &hPubObject ) == -1 )
871 if ( createRsaPrivKeyObject( a_pRsa, a_hSession, &hPrivObject ) == -1 ) {
874 destroyObject( a_hSession, hPubObject );
890 CK_SESSION_HANDLE a_hSession ) {
896 if ( destroyRsaPubKeyObject( a_hSession ) == -1 )
899 if ( createRsaPubKeyObject( a_pRsa, a_hSession, &hObject ) == -1 )
914 CK_SESSION_HANDLE a_hSession ) {
918 if ( destroyRsaKeyObject( a_hSession ) == -1 )
921 if ( createRsaKeyObject( a_pRsa, a_hSession ) == -1 )