summaryrefslogtreecommitdiffstats
path: root/security/nss/cmd/pk11util/scripts/pLabel1
diff options
context:
space:
mode:
Diffstat (limited to 'security/nss/cmd/pk11util/scripts/pLabel1')
-rw-r--r--security/nss/cmd/pk11util/scripts/pLabel16
1 files changed, 6 insertions, 0 deletions
diff --git a/security/nss/cmd/pk11util/scripts/pLabel1 b/security/nss/cmd/pk11util/scripts/pLabel1
new file mode 100644
index 000000000..0be909bb4
--- /dev/null
+++ b/security/nss/cmd/pk11util/scripts/pLabel1
@@ -0,0 +1,6 @@
+NewTemplate certName CKA_LABEL,CKA_VALUE
+C_GetAttributeValue session certID[i] certName sizeA(certName)
+BuildTemplate certName
+C_GetAttributeValue session certID[i] certName sizeA(certName)
+print i
+print certName[0]