summaryrefslogtreecommitdiffstats
path: root/moon-abe/cpabe-0.11/cpabe-keygen.more-man
diff options
context:
space:
mode:
authorWuKong <rebirthmonkey@gmail.com>2015-09-04 09:25:34 +0200
committerWuKong <rebirthmonkey@gmail.com>2015-09-04 09:25:34 +0200
commit3baeb11a8fbcfcdbc31976d421f17b85503b3ecd (patch)
tree04891d88c1127148f1b390b5a24414e85b270aee /moon-abe/cpabe-0.11/cpabe-keygen.more-man
parent67c5b73910f5fc437429c356978081b252a59480 (diff)
init attribute-based encryption
Change-Id: Iba1a3d722110abf747a0fba366f3ebc911d25b25
Diffstat (limited to 'moon-abe/cpabe-0.11/cpabe-keygen.more-man')
-rw-r--r--moon-abe/cpabe-0.11/cpabe-keygen.more-man23
1 files changed, 23 insertions, 0 deletions
diff --git a/moon-abe/cpabe-0.11/cpabe-keygen.more-man b/moon-abe/cpabe-0.11/cpabe-keygen.more-man
new file mode 100644
index 00000000..7ef94309
--- /dev/null
+++ b/moon-abe/cpabe-0.11/cpabe-keygen.more-man
@@ -0,0 +1,23 @@
+[examples]
+
+Generating a key for a new employee Sara:
+
+ $ cpabe-keygen -o sara_priv_key pub_key master_key \\
+.br
+ sysadmin it_department
+
+Generating a key with more complicated attributes:
+
+ $ cpabe-keygen -o kevin_priv_key pub_key master_key \\
+.br
+ business_staff strategy_team 'executive_level = 7#4' \\
+.br
+ office=2362 'hire_date = '`date +%s`
+
+Note the usage of date (1) as a convenient way of storing a time in a
+numerical attribute.
+
+[see also]
+.BR cpabe-setup (1),
+.BR cpabe-enc (1),
+.BR cpabe-dec (1)