aboutsummaryrefslogtreecommitdiff
path: root/rpkid/irbe-cli.py
diff options
context:
space:
mode:
authorRob Austein <sra@hactrn.net>2008-04-25 06:45:10 +0000
committerRob Austein <sra@hactrn.net>2008-04-25 06:45:10 +0000
commitaac95769f39e37f89ca4b304d76dc514822a7271 (patch)
treea131f06614dea05d3c7193730e25fb43ff7e5654 /rpkid/irbe-cli.py
parentf4d16327a6048cf932b53e40247df0b820e2dccf (diff)
New trust anchor model sort of working. make test runs again, anyway.
svn path=/docs/left-right-xml; revision=1704
Diffstat (limited to 'rpkid/irbe-cli.py')
-rwxr-xr-xrpkid/irbe-cli.py28
1 files changed, 22 insertions, 6 deletions
diff --git a/rpkid/irbe-cli.py b/rpkid/irbe-cli.py
index c04b8eac..02c55a6c 100755
--- a/rpkid/irbe-cli.py
+++ b/rpkid/irbe-cli.py
@@ -48,13 +48,29 @@ class cmd_mixin(object):
self.action = arg
self.type = "query"
- def client_query_peer_biz_cert(self, arg):
- """Special handler for --peer_biz_cert option."""
- self.peer_biz_cert = rpki.x509.X509(Auto_file=arg)
+ def client_query_bpki_cert(self, arg):
+ """Special handler for --bpki_cert option."""
+ self.bpki_cert = rpki.x509.X509(Auto_file=arg)
- def client_query_https_ta(self, arg):
- """Special handler for --peer_biz_glue option."""
- self.peer_biz_glue = rpki.x509.X509(Auto_file=arg)
+ def client_query_glue(self, arg):
+ """Special handler for --bpki_glue option."""
+ self.bpki_glue = rpki.x509.X509(Auto_file=arg)
+
+ def client_query_bpki_cms_cert(self, arg):
+ """Special handler for --bpki_cms_cert option."""
+ self.bpki_cms_cert = rpki.x509.X509(Auto_file=arg)
+
+ def client_query_cms_glue(self, arg):
+ """Special handler for --bpki_cms_glue option."""
+ self.bpki_cms_glue = rpki.x509.X509(Auto_file=arg)
+
+ def client_query_bpki_https_cert(self, arg):
+ """Special handler for --bpki_https_cert option."""
+ self.bpki_https_cert = rpki.x509.X509(Auto_file=arg)
+
+ def client_query_https_glue(self, arg):
+ """Special handler for --bpki_https_glue option."""
+ self.bpki_https_glue = rpki.x509.X509(Auto_file=arg)
def client_reply_decode(self):
pass