From 295269dd4e66d592ca112a96e28ab7d87a6af0c1 Mon Sep 17 00:00:00 2001 From: Rob Austein Date: Mon, 24 Mar 2008 19:54:05 +0000 Subject: Support verification of CMS without bundled EE cert. svn path=/pow/POW-0.7/POW.c; revision=1562 --- rpkid/rpki/cms.py | 9 --------- 1 file changed, 9 deletions(-) (limited to 'rpkid/rpki/cms.py') 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.""" -- cgit v1.2.3