[xmlsec] xmlsec-nss patches from Sun( 2003-07-22 )

Tej Arora tejbiz at aol.com
Wed Jul 23 08:54:57 PDT 2003


Andrew Fan wrote:

 > -PK11SlotInfo* xmlSecNssGetSlot( CK_MECHANISM_TYPE type ) ;
 > -PK11SlotList* xmlSecNssSlotInit( PK11SlotList* list ) ;
 > -PK11SlotList* xmlSecNssGetSlotList( void ) ;
 > -void xmlSecNssSlotShutdown( void ) ;

Andrew,

Suppose the user is doing crypto op A and crypto B in a
session. With the above interface, how will the user
say "do A on slot 1, do B on slot 2"?.  I hope you
are not expecting the user to set PK11SlotList for every
crypto op... this is sometimes not possible, and too
cumbersome.

-Tej





More information about the xmlsec mailing list