diff options
author | Rob Austein <sra@hactrn.net> | 2008-03-24 19:54:05 +0000 |
---|---|---|
committer | Rob Austein <sra@hactrn.net> | 2008-03-24 19:54:05 +0000 |
commit | 295269dd4e66d592ca112a96e28ab7d87a6af0c1 (patch) | |
tree | 019df15092c4830097a9c035c0c7a846e5627c5b /rpkid/rpki/cms.py | |
parent | 738be12e5fdf4a89e25f7e4d65b8dd07cf693e05 (diff) |
Support verification of CMS without bundled EE cert.
svn path=/pow/POW-0.7/POW.c; revision=1562
Diffstat (limited to 'rpkid/rpki/cms.py')
-rw-r--r-- | rpkid/rpki/cms.py | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/rpkid/rpki/cms.py b/rpkid/rpki/cms.py index 7b4916dc..1bbf18fd 100644 --- a/rpkid/rpki/cms.py +++ b/rpkid/rpki/cms.py @@ -80,15 +80,6 @@ def verify(cms, ta): dumpasn1(cms) raise rpki.exceptions.CMSVerificationFailed, "CMS verification failed" -# openssl smime -verify -noverify -inform DER -in THING.der - -def extract(cms): - """Extract the content of a signed CMS message WITHOUT verifying the - signature. Don't try this at home, kids. - """ - - return POW.derRead(POW.PKCS7_MESSAGE, cms).extract() - def xml_verify(cms, ta): """Composite routine to verify CMS-wrapped XML.""" |