summaryrefslogtreecommitdiff
path: root/security/nss/cmd/pk11util/scripts/pMechanisms
blob: 82e860258e9046ae61cd99c18658bdb7fe59cec8 (plain)
1
2
3
4
5
6
7
8
#
# 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