diff options
author | Rob Austein <sra@hactrn.net> | 2008-04-07 21:39:17 +0000 |
---|---|---|
committer | Rob Austein <sra@hactrn.net> | 2008-04-07 21:39:17 +0000 |
commit | 14bd2769a9392101fd34b33ffa7d5d211511d97e (patch) | |
tree | b6b7c7e8c9a7fef715018ae2f80ee43748817037 /rpkid/irbe-setup.py | |
parent | fc8fb08d155a9b30f04cc67ba351725ef4051881 (diff) |
Checkpoint. Add (untested) ability to call out for a dynamic
x509Store verifier object.
svn path=/rpkid/cronjob.py; revision=1627
Diffstat (limited to 'rpkid/irbe-setup.py')
-rw-r--r-- | rpkid/irbe-setup.py | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/rpkid/irbe-setup.py b/rpkid/irbe-setup.py index 90ea5113..0011bb09 100644 --- a/rpkid/irbe-setup.py +++ b/rpkid/irbe-setup.py @@ -53,13 +53,13 @@ def call_rpkid(pdu): except lxml.etree.DocumentInvalid: print lxml.etree.tostring(elt, pretty_print = True, encoding = "us-ascii") raise - elt = rpki.cms.xml_verify(cms = rpki.https.client(privateKey = https_key, - certChain = https_certs, - x509TrustList = https_tas, - url = https_url, - msg = rpki.cms.xml_sign(elt = elt, - key = cms_key, - certs = cms_certs)), + elt = rpki.cms.xml_verify(cms = rpki.https.client(client_key = https_key, + client_certs = https_certs, + server_ta = https_tas, + url = https_url, + msg = rpki.cms.xml_sign(elt = elt, + key = cms_key, + certs = cms_certs)), ta = cms_ta) try: rpki.relaxng.left_right.assertValid(elt) |