From 443f02eecbce215b67a8418c991e66c217b4d7c2 Mon Sep 17 00:00:00 2001 From: lloyd Date: Tue, 30 Sep 2008 04:09:19 +0000 Subject: Update CMS to at least compile (though in a couple of cases by just #ifdef'ing out code); it still needs a good bit of work and has not been tested at all. --- src/cms/cms_enc.h | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'src/cms/cms_enc.h') diff --git a/src/cms/cms_enc.h b/src/cms/cms_enc.h index c1c49b2e4..f3907cd7b 100644 --- a/src/cms/cms_enc.h +++ b/src/cms/cms_enc.h @@ -32,8 +32,13 @@ class CMS_Encoder void authenticate(const std::string&, const std::string& = ""); void authenticate(const SymmetricKey&, const std::string& = ""); - void sign(X509_Store&, const PKCS8_PrivateKey&, - RandomNumberGenerator& rng); + void sign(const X509_Certificate& cert, + const PKCS8_PrivateKey& key, + RandomNumberGenerator& rng, + const std::vector& cert_chain, + const std::string& hash, + const std::string& padding); + void digest(const std::string& = ""); void compress(const std::string&); -- cgit v1.2.3