AWS SDK for C++  1.9.130
AWS SDK for C++
CryptoStream.h
Go to the documentation of this file.
1 
5 #pragma once
6 
9 
10 namespace Aws
11 {
12  namespace Utils
13  {
14  namespace Crypto
15  {
36  {
37  public:
49  SymmetricCryptoStream(Aws::OStream& sink, CipherMode mode, SymmetricCipher& cipher, size_t bufLen = DEFAULT_BUF_SIZE, int16_t blockOffset = 0 );
58 
61 
63 
66 
67 
73  void Finalize();
74 
75  private:
76  CryptoBuf* m_cryptoBuf;
77  bool m_hasOwnership;
78  };
79  }
80  }
81 }
Aws::IOStream
std::basic_iostream< char, std::char_traits< char > > IOStream
Definition: AWSStreamFwd.h:22
Aws::Utils::Crypto::CipherMode
CipherMode
Definition: CryptoBuf.h:25
Aws::Utils::Crypto::SymmetricCryptoBufSrc
Definition: CryptoBuf.h:55
AWS_CORE_API
#define AWS_CORE_API
Definition: Core_EXPORTS.h:25
Aws::Utils::Crypto::SymmetricCryptoStream::SymmetricCryptoStream
SymmetricCryptoStream(Aws::Utils::Crypto::SymmetricCryptoBufSrc &bufSrc)
Aws::Utils::Crypto::SymmetricCryptoStream::SymmetricCryptoStream
SymmetricCryptoStream(const SymmetricCryptoStream &)=delete
Aws::Utils::Crypto::CryptoBuf
Definition: CryptoBuf.h:34
Aws::Utils::Crypto::SymmetricCryptoStream::SymmetricCryptoStream
SymmetricCryptoStream(Aws::IStream &src, CipherMode mode, SymmetricCipher &cipher, size_t bufLen=DEFAULT_BUF_SIZE)
Aws::Utils::Crypto::SymmetricCryptoStream
Definition: CryptoStream.h:36
Aws::Utils::Crypto::SymmetricCryptoBufSink
Definition: CryptoBuf.h:106
Aws::Utils::Crypto::SymmetricCryptoStream::operator=
SymmetricCryptoStream & operator=(SymmetricCryptoStream &&)=delete
Aws::IStream
std::basic_istream< char, std::char_traits< char > > IStream
Definition: AWSStreamFwd.h:20
Aws::Utils::Crypto::SymmetricCryptoStream::operator=
SymmetricCryptoStream & operator=(const SymmetricCryptoStream &)=delete
Aws::Utils::Crypto::SymmetricCipher
Definition: Cipher.h:28
Aws::OStream
std::basic_ostream< char, std::char_traits< char > > OStream
Definition: AWSStreamFwd.h:21
Aws::Utils::Crypto::SymmetricCryptoStream::Finalize
void Finalize()
Aws::Utils::Crypto::SymmetricCryptoStream::SymmetricCryptoStream
SymmetricCryptoStream(Aws::OStream &sink, CipherMode mode, SymmetricCipher &cipher, size_t bufLen=DEFAULT_BUF_SIZE, int16_t blockOffset=0)
Aws::Utils::Crypto::SymmetricCryptoStream::SymmetricCryptoStream
SymmetricCryptoStream(SymmetricCryptoStream &&)=delete
Aws::Utils::Crypto::SymmetricCryptoStream::~SymmetricCryptoStream
virtual ~SymmetricCryptoStream()
Core_EXPORTS.h
Aws::Utils::Crypto::SymmetricCryptoStream::SymmetricCryptoStream
SymmetricCryptoStream(Aws::Utils::Crypto::SymmetricCryptoBufSink &bufSink)
Aws
Definition: AccessManagementClient.h:15
CryptoBuf.h
Aws::Utils::Crypto::DEFAULT_BUF_SIZE
static const size_t DEFAULT_BUF_SIZE
Definition: CryptoBuf.h:18