From aac95769f39e37f89ca4b304d76dc514822a7271 Mon Sep 17 00:00:00 2001 From: Rob Austein Date: Fri, 25 Apr 2008 06:45:10 +0000 Subject: New trust anchor model sort of working. make test runs again, anyway. svn path=/docs/left-right-xml; revision=1704 --- rpkid/irbe-cli.py | 28 ++++++++++++++++++++++------ 1 file changed, 22 insertions(+), 6 deletions(-) (limited to 'rpkid/irbe-cli.py') 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 -- cgit v1.2.3