CodePorting.Translator Cs2Cpp
CodePorting.Translator.Cs2Cpp.Framework
signed_cms.h
1
2#ifndef signed_cms_h
3#define signed_cms_h
4
5#include "system/object.h"
6#include "content_info.h"
7#include "cms_signer.h"
8
9namespace System{ namespace Security{ namespace Cryptography{ namespace Pkcs{
10
16class ASPOSECPP_SHARED_CLASS SignedCms final: public System::Object
17{
18public:
22 ASPOSECPP_SHARED_API SignedCms(const SharedPtr<ContentInfo> &content, bool detached);
23
27 ASPOSECPP_SHARED_API void ComputeSignature(const SharedPtr<CmsSigner>& signer, bool silent);
28
31 ASPOSECPP_SHARED_API System::ArrayPtr<uint8_t> Encode();
32};
33
34}}}}// namespace System{ namespace Security{ namespace Cryptography{ namespace Pkcs{
35
36#endif // signed_cms_h
Base class that enables using methods available for System.Object class in C#. All non-trivial classe...
Definition: object.h:62
Signs content as per CMS/PKCS #7 standard. Not implemented. Objects of this class should only be allo...
Definition: signed_cms.h:17
void ComputeSignature(const SharedPtr< CmsSigner > &signer, bool silent)
Creates a signature.
System::ArrayPtr< uint8_t > Encode()
Encodes CMS/PKCS #7 message.
SignedCms(const SharedPtr< ContentInfo > &content, bool detached)
Constructor.
Pointer class to wrap types being allocated on heap. Use it to manage memory for classes inheriting O...
Definition: smart_ptr.h:180
Definition: db_command.h:9