OnixS C++ FIX Engine  4.12.0
API Documentation
SecureString Class Reference

#include <OnixS/FIXEngine/Cryptography/SecureString.h>

Public Member Functions

 SecureString ()
 
 SecureString (FIX::StringRef plainText)
 
 SecureString (const char *plainText, size_t plainTextLength)
 
 SecureString (const SecureString &other)
 
SecureStringoperator= (const SecureString &other)
 
 ~SecureString ()
 
size_t length () const
 
bool empty () const
 

Protected Member Functions

 SecureString (const Impl *)
 

Detailed Description

Definition at line 29 of file SecureString.h.

Constructor & Destructor Documentation

Constructs the empty SecureString.

SecureString ( FIX::StringRef  plainText)
explicit

Constructs the SecureString which stores the encrypted plainText.

Parameters
plainTextThe plain text to be encrypted and stored.
SecureString ( const char *  plainText,
size_t  plainTextLength 
)

Constructs the SecureString which stores the encrypted plainText.

Parameters
plainTextThe plain text to be encrypted and stored.
plainTextLengthThe plain text length.
SecureString ( const SecureString other)

Initializes the instance as a shallow copy of other one.

Disposes all internal data structures.

SecureString ( const Impl *  )
protected

Member Function Documentation

bool empty ( ) const

Indicates whether the SecureString has no data.

size_t length ( ) const

The length of the plain string.

SecureString& operator= ( const SecureString other)

Makes a shallow copy of another SecureString.


The documentation for this class was generated from the following file: