C++ Based OPC UA Client/Server SDK
1.5.3.346
|
Wrapper class for the UA stack structure OpcUa_SignedSoftwareCertificate. More...
#include <uasignedsoftwarecertificate.h>
Static Public Member Functions | |
static OpcUa_SignedSoftwareCertificate * | clone (const OpcUa_SignedSoftwareCertificate &source) |
Copy OpcUa_SignedSoftwareCertificate data to a newly allocated OpcUa_SignedSoftwareCertificate. More... | |
static void | cloneTo (const OpcUa_SignedSoftwareCertificate &source, OpcUa_SignedSoftwareCertificate ©) |
Copy OpcUa_SignedSoftwareCertificate data to an existing OpcUa_SignedSoftwareCertificate structure. More... | |
Wrapper class for the UA stack structure OpcUa_SignedSoftwareCertificate.
This class encapsulates the native OpcUa_SignedSoftwareCertificate structure and handles memory allocation and cleanup for you. UaSignedSoftwareCertificate uses implicit sharing to avoid needless copying and to boost the performance. Only if you modify a shared SignedSoftwareCertificate it creates a copy for that (copy-on-write). So assigning another UaSignedSoftwareCertificate or passing it as parameter needs constant time and is nearly as fast as assigning a pointer.
A ByteString containing an encoded Certificate.
The encoding of a SignedSoftwareCertificate depends on the security technology mapping and is defined completely in Part 6 of the OPC UA Specification.
UaSignedSoftwareCertificate::UaSignedSoftwareCertificate | ( | const UaSignedSoftwareCertificate & | other | ) |
Constructs an instance of the class UaSignedSoftwareCertificate with values from another UaSignedSoftwareCertificate object.
other | the other UaSignedSoftwareCertificate used to initialize the object |
UaSignedSoftwareCertificate::UaSignedSoftwareCertificate | ( | const OpcUa_SignedSoftwareCertificate & | other | ) |
Constructs an instance of the class UaSignedSoftwareCertificate with values from another OpcUa_SignedSoftwareCertificate structure.
other | the other OpcUa_SignedSoftwareCertificate used to initialize the object |
UaSignedSoftwareCertificate::UaSignedSoftwareCertificate | ( | const UaExtensionObject & | extensionObject | ) |
Constructs an instance of the class UaSignedSoftwareCertificate initialized with value from a UaExtensionObject.
extensionObject | the extension object containing the SignedSoftwareCertificate |
UaSignedSoftwareCertificate::UaSignedSoftwareCertificate | ( | const OpcUa_ExtensionObject & | extensionObject | ) |
Constructs an instance of the class UaSignedSoftwareCertificate initialized with value from an OpcUa_ExtensionObject structure.
extensionObject | the extension object containing the SignedSoftwareCertificate |
void UaSignedSoftwareCertificate::attach | ( | OpcUa_SignedSoftwareCertificate * | pValue | ) |
Attaches to an existing OpcUa_SignedSoftwareCertificate structure.
Don't manually free the attached structure afterwards, because UaSignedSoftwareCertificate is responsible for it now.
pValue | [in] Parameter to attach to. |
void UaSignedSoftwareCertificate::clear | ( | ) |
Clear the data of the UaSignedSoftwareCertificate.
|
static |
Copy OpcUa_SignedSoftwareCertificate data to a newly allocated OpcUa_SignedSoftwareCertificate.
source | Source to clone. |
|
static |
Copy OpcUa_SignedSoftwareCertificate data to an existing OpcUa_SignedSoftwareCertificate structure.
source | the source of the clone operation. |
copy | the destination of the clone operation. |
OpcUa_SignedSoftwareCertificate * UaSignedSoftwareCertificate::copy | ( | ) | const |
Copy UaSignedSoftwareCertificate data to a newly allocated OpcUa_SignedSoftwareCertificate.
void UaSignedSoftwareCertificate::copyTo | ( | OpcUa_SignedSoftwareCertificate * | pDst | ) | const |
Copy UaSignedSoftwareCertificate data to an existing OpcUa_SignedSoftwareCertificate structure.
pDst | the destination of this copy operation. |
OpcUa_SignedSoftwareCertificate * UaSignedSoftwareCertificate::detach | ( | OpcUa_SignedSoftwareCertificate * | pDst | ) |
Detaches the internal SignedSoftwareCertificate structure from this class.
This way you take over the control of freeing the SignedSoftwareCertificate data. If more than one reference exists, the data is copied to pDst instead of being detached.
pDst | [out] Pointer to an OpcUa_SignedSoftwareCertificate structure that receives the SignedSoftwareCertificate data. |
bool UaSignedSoftwareCertificate::operator!= | ( | const UaSignedSoftwareCertificate & | other | ) | const |
Compare two UaSignedSoftwareCertificate for inequality.
other | the UaSignedSoftwareCertificate to compare with. |
UaSignedSoftwareCertificate & UaSignedSoftwareCertificate::operator= | ( | const UaSignedSoftwareCertificate & | other | ) |
Assignment operator.
other | the UaSignedSoftwareCertificate to assign. |
bool UaSignedSoftwareCertificate::operator== | ( | const UaSignedSoftwareCertificate & | other | ) | const |
Compare two UaSignedSoftwareCertificate for equality.
other | the UaSignedSoftwareCertificate to compare with. |