OnixS C++ FIX Engine 4.13.0
API Documentation
Loading...
Searching...
No Matches
SecureString Class Reference

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

◆ SecureString() [1/5]

Constructs the empty SecureString.

◆ SecureString() [2/5]

SecureString ( FIX::StringRef plainText)
explicit

Constructs the SecureString which stores the encrypted plainText.

Parameters
plainTextThe plain text to be encrypted and stored.

◆ SecureString() [3/5]

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() [4/5]

SecureString ( const SecureString & other)

Initializes the instance as a shallow copy of other one.

◆ ~SecureString()

Disposes all internal data structures.

◆ SecureString() [5/5]

SecureString ( const Impl * )
protected

Member Function Documentation

◆ empty()

bool empty ( ) const

Indicates whether the SecureString has no data.

◆ length()

size_t length ( ) const

The length of the plain string.

◆ operator=()

SecureString & operator= ( const SecureString & other)

Makes a shallow copy of another SecureString.