RMS SDK for C++  0.2.1
A client library for using Microsoft RMS from Linux.
Public Member Functions | Static Public Member Functions | List of all members
rmscrypto::api::BlockBasedProtectedStream Class Reference
Inheritance diagram for rmscrypto::api::BlockBasedProtectedStream:
rmscrypto::api::IStream

Public Member Functions

virtual std::shared_future< int64_t > ReadAsync (uint8_t *pbBuffer, int64_t cbBuffer, int64_t cbOffset, std::launch launchType) override
 
virtual std::shared_future< int64_t > WriteAsync (const uint8_t *cpbBuffer, int64_t cbBuffer, int64_t cbOffset, std::launch launchType) override
 
virtual std::future< bool > FlushAsync (std::launch launchType) override
 
virtual int64_t Read (uint8_t *pbBuffer, int64_t cbBuffer) override
 
virtual int64_t Write (const uint8_t *cpbBuffer, int64_t cbBuffer) override
 
virtual bool Flush () override
 
virtual SharedStream Clone () override
 
virtual void Seek (uint64_t u64Position) override
 
virtual bool CanRead () const override
 
virtual bool CanWrite () const override
 
virtual uint64_t Position () override
 
virtual uint64_t Size () override
 
virtual void Size (uint64_t u64Value) override
 
- Public Member Functions inherited from rmscrypto::api::IStream
virtual std::vector< uint8_t > Read (uint64_t u64size)
 

Static Public Member Functions

static DLL_PUBLIC_CRYPTO std::shared_ptr< BlockBasedProtectedStreamCreate (std::shared_ptr< ICryptoProvider >pCryptoProvider, std::shared_ptr< IStream > pBackingStream, uint64_t u64ContentStart, uint64_t u64ContentSize, uint64_t u64BlockSize)
 

The documentation for this class was generated from the following files: