PageRenderTime 20ms CodeModel.GetById 15ms app.highlight 2ms RepoModel.GetById 1ms app.codeStats 0ms

/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#
4set slotID slotList[i]
5C_GetMechanismList slotID NULL mechCount
6NewArray mechanismList CK_ULONG  mechcount
7C_GetMechanismList slotID mechanismList mechCount
8print mechanismList