aboutsummaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorRob Austein <sra@hactrn.net>2007-03-20 11:59:53 +0000
committerRob Austein <sra@hactrn.net>2007-03-20 11:59:53 +0000
commit70843bd58695572fdcf8b5ac54df1d1c317c1f13 (patch)
tree8f4f6660ed38026b49c516261f6f59106d9ea2cd /scripts
parent4a367e0c71c7e567586df2b2186a6c2b86f4dfb1 (diff)
bind child into ca at creation
svn path=/scripts/regeng-api; revision=509
Diffstat (limited to 'scripts')
-rw-r--r--scripts/regeng-api26
1 files changed, 9 insertions, 17 deletions
diff --git a/scripts/regeng-api b/scripts/regeng-api
index 90f1c856..b5e8ab62 100644
--- a/scripts/regeng-api
+++ b/scripts/regeng-api
@@ -141,13 +141,19 @@
:ca foo)
=> (biz-signing-context)
-(create-child :cust-id 42)
+(create-ca-child :cust-id 42
+ :ca foo)
=> (child)
-(destroy-child :cust-id 42
- :child foo)
+(destroy-ca-child :cust-id 42
+ :ca foo
+ :child bar)
=> ()
+(list-ca-children :cust-id id
+ :ca foo)
+=> (child ...)
+
(set-child-ta :cust-id 42
:child foo
:ta bar)
@@ -165,20 +171,6 @@
:child foo)
=> (signing-context)
-(add-child-to-ca :cust-id id
- :ca foo
- :child bar)
-=> ()
-
-(del-child-from-ca :cust-id id
- :ca foo
- :child bar)
-=> ()
-
-(list-ca-children :cust-id id
- :ca foo)
-=> (child ...)
-
;; Need something for specifying the private key and signing cert
;; chain used for lodging. Need contact URI (or whatever) for
;; lodging. At this point we think we can make this per cust-id