Skip to main content

ERUCES::TEAdminTrustedServer

#include <teadmin_trustedserver.h>

The TEAdminTrustedServer class represents Trusted Server administrative tasks and is derived from the TEAdmin class.

Inheritance

Public Member Functions

MemberDescription
TEAdminTrustedServer()The TEAdminTrustedServer constructor is the default class constructor.
~TEAdminTrustedServer()The TEAdminTrustedServer destructor is the class destructor.
TETrustedServerInfo addTrustedServer(const _TESTD string &fname, const _TESTD string &desc, const _TESTD string &data)The addTrustedServer method adds a new Trusted Server to the list of Trusted Servers.
void removeTrustedServer(const TEObjectContainer &servers)The removeTrustedServer method removes one or more Trusted Servers from the list of Trusted Servers.
void updateTrustedServer(const TEObjectContainer &servers)The updateTrustedServer method changes Trusted Server information.
void getTrustedServerList(TEObjectContainer &servers)The getTrustedServerList method gets a list of Trusted Servers.
_TESTD string getTrustInformation(_TESTD string &server)The getTrustInformation method gets detailed information about a Trusted Server.
void acceptTrustCertificate(_TESTD string &cert, TECertObjectInfo &certObj)The acceptTrustCertificate method imports a trusted certificate authority certificate.
void getExternalCertificateInfo(TECertObjectInfo &certObj)The getExternalCertificateInfo method gets information about a trusted CA certificate.
void getPrincipalTrustMatrix(TEPrincipalTrustMatrix &matrix)The getPrincipalTrustMatrix method retrieves the TEPrincipalTrustMatrix's object ID.
void getPrincipalTrustMatrix(te_oid pid, te_oid tsid, TEPrincipalTrustMatrix &matrix)The getPrincipalTrustMatrix method retrieves the PrincipalTrustMatrix object by PrincipalTrustMatrix's principal ID and trusted server ID.
void getPrincipalTrustMatricesByPrincipalId(te_oid pid, TEObjectContainer &matrices)The getPrincipalTrustMatricesByPrincipalId method retrieves all PrincipalTrustMatrix objects by principal ID.
void getPrincipalTrustMatricesByTrustedServerId(te_oid tsid, TEObjectContainer &matrices)The getPrincipalTrustMatricesByTrustedServerId method retrieves all PrincipalTrustMatrix objects by trusted server ID.
void getAllPrincipalTrustMatrices(TEObjectContainer &matrices)The getAllPrincipalTrustMatrices method retrieves all PrincipalTrustMatrix objects.
void addPrincipalTrustMatrix(const TEPrincipalTrustMatrix &matrix)The addPrincipalTrustMatrix method adds a PrincipalTrustMatrix object.
void addPrincipalTrustMatrix(const TEObjectContainer &matrices)The addPrincipalTrustMatrix method adds PrincipalTrustMatrix objects.
void updatePrincipalTrustMatrix(const TEPrincipalTrustMatrix &matrix)The updatePrincipalTrustMatrix method updates a PrincipalTrustMatrix object.
void updatePrincipalTrustMatrix(const TEObjectContainer &matrices)The updatePrincipalTrustMatrix method updates the PrincipalTrustMatrix objects.
void removePrincipalTrustMatrix(const TEPrincipalTrustMatrix &matrix)The removePrincipalTrustMatrix method remove a PrincipalTrustMatrix object.

Member Function Documentation

TEAdminTrustedServer()

The TEAdminTrustedServer constructor is the default class constructor.

~TEAdminTrustedServer()

The TEAdminTrustedServer destructor is the class destructor.

TETrustedServerInfo addTrustedServer(const _TESTD string &fname, const _TESTD string &desc, const _TESTD string &data)

The addTrustedServer method adds a new Trusted Server to the list of Trusted Servers.

Parameters

ParameterDescription
fnameA string representing the Trusted Server's common name.
descA string representing a Trusted Server's description.
dataA string representing detailed data about a Trusted Server.

Returns: Returns a value indicating whether the TETrustedServerInfo object has been added successfully.

void removeTrustedServer(const TEObjectContainer &servers)

The removeTrustedServer method removes one or more Trusted Servers from the list of Trusted Servers.

Parameters

ParameterDescription
serversA container holding one or more Trusted Server objects to be removed; must be TETrustedServerInfo objects.

See also: TETrustedServerInfo

void updateTrustedServer(const TEObjectContainer &servers)

The updateTrustedServer method changes Trusted Server information.

Parameters

ParameterDescription
serversA container holding one or more Trusted Server objects to be updated; must be TETrustedServerInfo objects.

See also: TETrustedServerInfo

void getTrustedServerList(TEObjectContainer &servers)

The getTrustedServerList method gets a list of Trusted Servers.

Parameters

ParameterDescription
serversA container to hold the returned Trusted Server list; must be TETrustedServerInfo objects.

See also: TETrustedServerInfo

_TESTD string getTrustInformation(_TESTD string &server)

The getTrustInformation method gets detailed information about a Trusted Server.

Parameters

ParameterDescription
serverA string representing the name of a Trusted Server.

Returns: Returns a string representing Trusted Server profile information.

void acceptTrustCertificate(_TESTD string &cert, TECertObjectInfo &certObj)

The acceptTrustCertificate method imports a trusted certificate authority certificate.

Parameters

ParameterDescription
certA string representing a trusted certificate authority certificate.
certObjA TECertObjectInfo object returned when the certificate is accepted.

See also: TECertObjectInfo

void getExternalCertificateInfo(TECertObjectInfo &certObj)

The getExternalCertificateInfo method gets information about a trusted CA certificate.

Parameters

ParameterDescription
certObjA TECertObjectInfo object.

void getPrincipalTrustMatrix(TEPrincipalTrustMatrix &matrix)

The getPrincipalTrustMatrix method retrieves the TEPrincipalTrustMatrix's object ID.

Parameters

ParameterDescription
matrixPrincipalTrustMatrix object. Object id should be filled before calling the method.

void getPrincipalTrustMatrix(te_oid pid, te_oid tsid, TEPrincipalTrustMatrix &matrix)

The getPrincipalTrustMatrix method retrieves the PrincipalTrustMatrix object by PrincipalTrustMatrix's principal ID and trusted server ID.

Parameters

ParameterDescription
pidAn object representing the principal ID.
tsidAn object representing the trusted server ID.
matrixPrincipalTrustMatrix object.

void getPrincipalTrustMatricesByPrincipalId(te_oid pid, TEObjectContainer &matrices)

The getPrincipalTrustMatricesByPrincipalId method retrieves all PrincipalTrustMatrix objects by principal ID.

Parameters

ParameterDescription
pidAn object representing the principal ID.
matricesA container of PrincipalTrustMatrix objects to be returned.

void getPrincipalTrustMatricesByTrustedServerId(te_oid tsid, TEObjectContainer &matrices)

The getPrincipalTrustMatricesByTrustedServerId method retrieves all PrincipalTrustMatrix objects by trusted server ID.

Parameters

ParameterDescription
tsidAn object representing the trusted server ID.
matricesA container of PrincipalTrustMatrix objects to be returned

void getAllPrincipalTrustMatrices(TEObjectContainer &matrices)

The getAllPrincipalTrustMatrices method retrieves all PrincipalTrustMatrix objects.

Parameters

ParameterDescription
matricesA container of PrincipalTrustMatrix objects to be returned.

void addPrincipalTrustMatrix(const TEPrincipalTrustMatrix &matrix)

The addPrincipalTrustMatrix method adds a PrincipalTrustMatrix object.

Parameters

ParameterDescription
matrixPrincipalTrustMatrix object to be added.

void addPrincipalTrustMatrix(const TEObjectContainer &matrices)

The addPrincipalTrustMatrix method adds PrincipalTrustMatrix objects.

Parameters

ParameterDescription
matricesA container of PrincipalTrustMatrix objects to be added.

void updatePrincipalTrustMatrix(const TEPrincipalTrustMatrix &matrix)

The updatePrincipalTrustMatrix method updates a PrincipalTrustMatrix object.

Parameters

ParameterDescription
matrixA PrincipalTrustMatrix object to be updated.

void updatePrincipalTrustMatrix(const TEObjectContainer &matrices)

The updatePrincipalTrustMatrix method updates the PrincipalTrustMatrix objects.

Parameters

ParameterDescription
matricesA container of PrincipalTrustMatrix objects to be updated.

void removePrincipalTrustMatrix(const TEPrincipalTrustMatrix &matrix)

The removePrincipalTrustMatrix method remove a PrincipalTrustMatrix object.

Parameters

ParameterDescription
matrixA PrincipalTrustMatrix object to be removed.