Software and Services, Portable Libraries  2019.Mar.01
A library for managing digital certificates
SoftwareAndServices::Library::UPN::UpnDbUserPersonalRecord Class Reference

Pure virtual base class for Upn DB records. More...

#include <SaS/UpnDb/UpnDB.hpp>

+ Inheritance diagram for SoftwareAndServices::Library::UPN::UpnDbUserPersonalRecord:
+ Collaboration diagram for SoftwareAndServices::Library::UPN::UpnDbUserPersonalRecord:

Public Member Functions

 UpnDbUserPersonalRecord ()
 UpnDbUserPersonalRecord - Default Constructor. More...
 
virtual ~UpnDbUserPersonalRecord ()
 UpnDbUserPersonalRecord - Destructor. More...
 
bool Add (UpnDbAuthHandle_t Auth)
 Add this object as a new record. More...
 
bool Remove (UpnDbAuthHandle_t Auth)
 Remove this record from the UPN database. More...
 
bool Update (UpnDbAuthHandle_t Auth) const
 Update this record. More...
 

Public Attributes

const char * MimeType
 When non-NULL, the Mime Type for photo. More...
 
uint8_t * Photo
 The photo data. More...
 
uint32_t PhotoLen
 The number of octets that Photo points to. More...
 

Detailed Description

Pure virtual base class for Upn DB records.

Definition at line 72 of file UpnDbUserPersonalRecord.hpp.

Constructor & Destructor Documentation

◆ UpnDbUserPersonalRecord()

SoftwareAndServices::Library::UPN::UpnDbUserPersonalRecord::UpnDbUserPersonalRecord ( )

UpnDbUserPersonalRecord - Default Constructor.

◆ ~UpnDbUserPersonalRecord()

virtual SoftwareAndServices::Library::UPN::UpnDbUserPersonalRecord::~UpnDbUserPersonalRecord ( )
virtual

UpnDbUserPersonalRecord - Destructor.

Member Function Documentation

◆ Add()

bool SoftwareAndServices::Library::UPN::UpnDbUserPersonalRecord::Add ( UpnDbAuthHandle_t  Auth)
virtual

Add this object as a new record.

Parameters
AuthThe authentication handle to use.
Returns
true if added.

Implements SoftwareAndServices::Library::UPN::UpnDbRecord.

◆ Remove()

bool SoftwareAndServices::Library::UPN::UpnDbUserPersonalRecord::Remove ( UpnDbAuthHandle_t  Auth)
virtual

Remove this record from the UPN database.

Parameters
AuthThe authentication handle to use.
Returns
true if removed.

Implements SoftwareAndServices::Library::UPN::UpnDbRecord.

◆ Update()

bool SoftwareAndServices::Library::UPN::UpnDbUserPersonalRecord::Update ( UpnDbAuthHandle_t  Auth) const
virtual

Update this record.

Parameters
AuthThe authentication handle to use.
Returns
true if updated.

Implements SoftwareAndServices::Library::UPN::UpnDbRecord.

Member Data Documentation

◆ MimeType

const char* SoftwareAndServices::Library::UPN::UpnDbUserPersonalRecord::MimeType

When non-NULL, the Mime Type for photo.

Definition at line 128 of file UpnDbUserPersonalRecord.hpp.

◆ Photo

uint8_t* SoftwareAndServices::Library::UPN::UpnDbUserPersonalRecord::Photo

The photo data.

Definition at line 118 of file UpnDbUserPersonalRecord.hpp.

◆ PhotoLen

uint32_t SoftwareAndServices::Library::UPN::UpnDbUserPersonalRecord::PhotoLen

The number of octets that Photo points to.

Definition at line 123 of file UpnDbUserPersonalRecord.hpp.


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