/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
- #
- # print the mechanism list for a given token
- #
- set slotID slotList[i]
- C_GetMechanismList slotID NULL mechCount
- NewArray mechanismList CK_ULONG mechcount
- C_GetMechanismList slotID mechanismList mechCount
- print mechanismList