[xmlsec] xmlsec-nss patches from Sun( 2003-07-22 )
Tej Arora
tejbiz@aol.com
Wed, 23 Jul 2003 08:54:57 -0700
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