PLCnext API Documentation 25.0.2.69
OpenSslBio.hpp
1
2//
3// Copyright Phoenix Contact GmbH & Co. KG
4//
6#pragma once
8#include <openssl/bio.h>
9
10namespace Arp { namespace System { namespace Commons { namespace Security { namespace Internal
11{
12
14{
15public: // construction/destruction
16 OpenSslBio(BIO_METHOD *type);
17 OpenSslBio(const BIO_METHOD *type);
18 OpenSslBio(const void* data, size_t length);
20 OpenSslBio(const OpenSslBio& arg) = delete;
22 OpenSslBio& operator=(const OpenSslBio& arg) = delete;
23 ~OpenSslBio(void);
24 operator BIO*() const;
25
26public: // setter/getter operations
27 BIO* Get(void);
28 void Reset(void);
29 void Seek(int offset);
30 int Tell(void);
31
32private: // fields
33 BIO *bio;
34};
35
36}}}}} // end of namespace Arp::System::Commons::Security::Internal
OpenSslBio(BIO_METHOD *type)
Constructs an CertificateStore instance.
Definition: OpenSslBio.cpp:24
~OpenSslBio(void)
Destructs this instance and frees all resources.
Definition: OpenSslBio.cpp:51
OpenSslBio & operator=(const OpenSslBio &arg)=delete
Assignment operator.
OpenSslBio(const OpenSslBio &arg)=delete
Copy constructor.
Root namespace for the PLCnext API