Poco::Crypto

class CryptoIOS

File Information

Library: Crypto
Package: Cipher
Header: Poco/Crypto/CryptoStream.h

Description

The base class for CryptoInputStream and CryptoOutputStream.

This class is needed to ensure correct initialization order of the stream buffer and base classes.

Inheritance

Direct Base Classes: std::ios

All Base Classes: std::ios

Known Derived Classes: CryptoInputStream, CryptoOutputStream, DecryptingInputStream, DecryptingOutputStream, EncryptingInputStream, EncryptingOutputStream

Member Summary

Member Functions: rdbuf

Constructors

CryptoIOS

CryptoIOS(
    std::istream & istr,
    CryptoTransform::Ptr pTransform,
    std::streamsize bufferSize = 8192
);

CryptoIOS

CryptoIOS(
    std::ostream & ostr,
    CryptoTransform::Ptr pTransform,
    std::streamsize bufferSize = 8192
);

Destructor

~CryptoIOS

~CryptoIOS();

Member Functions

rdbuf

CryptoStreamBuf * rdbuf();

Variables

_buf protected

CryptoStreamBuf _buf;

Securely control IoT edge devices from anywhere   Connect a Device