PLCnext API Documentation 23.6.0.37
OpenSslBio.hpp
1
2//
3// Copyright PHOENIX CONTACT Electronics GmbH
4//
6#pragma once
8#include <openssl/bio.h>
9
10namespace Arp { namespace System { namespace Commons { namespace Security { namespace Internal
11{
12
14{
15public: // typedefs
16
17public: // construction/destruction
19 OpenSslBio(BIO_METHOD *type);
20 OpenSslBio(const BIO_METHOD *type);
22 OpenSslBio(const void* data, size_t length);
24 OpenSslBio(const OpenSslBio& arg) = delete;
26 OpenSslBio& operator=(const OpenSslBio& arg) = delete;
29
30 operator BIO*() const
31 {
32 return bio;
33 };
34
35public: // operators
36
37
38public: // static operations
39
40public: // setter/getter operations
41 BIO* Get(void);
42 void Reset(void);
43 void Seek(int offset);
44 int Tell(void);
45public: // operations
46
47protected: // operations
48
49private: // static methods
50
51private: // methods
52
53private: // fields
54 BIO *bio;
55
56
57private: // static fields
58
59};
60
62// inline methods of class CertificateStore
63
64}}}}} // end of namespace Arp::System::Commons::Security::Internal
OpenSslBio(BIO_METHOD *type)
Constructs an CertificateStore instance.
~OpenSslBio(void)
Destructs this instance and frees all resources.
OpenSslBio & operator=(const OpenSslBio &arg)=delete
Assignment operator.
OpenSslBio(const void *data, size_t length)
Constructs a read only memor BIO instance.
OpenSslBio(const OpenSslBio &arg)=delete
Copy constructor.
@ System
System components used by the System, Device, Plc or Io domains.
Root namespace for the PLCnext API