diff options
author | lloyd <[email protected]> | 2008-09-30 04:09:19 +0000 |
---|---|---|
committer | lloyd <[email protected]> | 2008-09-30 04:09:19 +0000 |
commit | 443f02eecbce215b67a8418c991e66c217b4d7c2 (patch) | |
tree | 88dea7d698721bf53ca614cd0f13e88c2d40ec4f /src/cms/cms_enc.h | |
parent | ae0901dde9282d1b9c2de7a1fac4a41c8043d59c (diff) |
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.
Diffstat (limited to 'src/cms/cms_enc.h')
-rw-r--r-- | src/cms/cms_enc.h | 9 |
1 files changed, 7 insertions, 2 deletions
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<X509_Certificate>& cert_chain, + const std::string& hash, + const std::string& padding); + void digest(const std::string& = ""); void compress(const std::string&); |