/security/nss/cmd/pk11util/scripts/pMechanisms

http://github.com/zpao/v8monkey · #! · 8 lines · 8 code · 0 blank · 0 comment · 0 complexity · 0c386586762c4138cca070a62ab469a1 MD5 · raw file

  1. #
  2. # print the mechanism list for a given token
  3. #
  4. set slotID slotList[i]
  5. C_GetMechanismList slotID NULL mechCount
  6. NewArray mechanismList CK_ULONG mechcount
  7. C_GetMechanismList slotID mechanismList mechCount
  8. print mechanismList