reSIProcate
SIP stack, Dialog Usage Manager and related libraries
Loading...
Searching...
No Matches
resip::SecurityAttributes Class Reference

#include <SecurityAttributes.hxx>

Public Types

enum  OutgoingEncryptionLevel { None , Sign , Encrypt , SignAndEncrypt }
 
enum  IdentityStrength { From , FailedIdentity , Identity }
 

Public Member Functions

 SecurityAttributes ()
 
 SecurityAttributes (const SecurityAttributes &rhs)
 
 ~SecurityAttributes ()
 
void setIdentity (const Data &identity)
 
const Data & getIdentity () const
 
void setIdentityStrength (IdentityStrength strength)
 
IdentityStrength getIdentityStrength () const
 
void setEncrypted ()
 
bool isEncrypted () const
 
void setSignatureStatus (SignatureStatus status)
 
SignatureStatus getSignatureStatus () const
 
void setSigner (const Data &signer)
 
const Data & getSigner () const
 
void setOutgoingEncryptionLevel (OutgoingEncryptionLevel level)
 
OutgoingEncryptionLevel getOutgoingEncryptionLevel () const
 
void setEncryptionPerformed (bool performed)
 
bool encryptionPerformed () const
 

Friends

EncodeStream & operator<< (EncodeStream &strm, const SecurityAttributes &sa)
 

Detailed Description

Definition at line 21 of file SecurityAttributes.hxx.

Member Enumeration Documentation

◆ IdentityStrength

Enumerator
From 
FailedIdentity 
Identity 

Definition at line 30 of file SecurityAttributes.hxx.

◆ OutgoingEncryptionLevel

Enumerator
None 
Sign 
Encrypt 
SignAndEncrypt 

Definition at line 28 of file SecurityAttributes.hxx.

Constructor & Destructor Documentation

◆ SecurityAttributes() [1/2]

SecurityAttributes::SecurityAttributes ( )

Definition at line 20 of file SecurityAttributes.cxx.

◆ SecurityAttributes() [2/2]

SecurityAttributes::SecurityAttributes ( const SecurityAttributes &  rhs)

Definition at line 29 of file SecurityAttributes.cxx.

◆ ~SecurityAttributes()

SecurityAttributes::~SecurityAttributes ( )

Definition at line 40 of file SecurityAttributes.cxx.

Member Function Documentation

◆ encryptionPerformed()

bool resip::SecurityAttributes::encryptionPerformed ( ) const
inline

Definition at line 51 of file SecurityAttributes.hxx.

◆ getIdentity()

const Data & resip::SecurityAttributes::getIdentity ( ) const
inline

Definition at line 33 of file SecurityAttributes.hxx.

◆ getIdentityStrength()

IdentityStrength resip::SecurityAttributes::getIdentityStrength ( ) const
inline

Definition at line 36 of file SecurityAttributes.hxx.

◆ getOutgoingEncryptionLevel()

OutgoingEncryptionLevel resip::SecurityAttributes::getOutgoingEncryptionLevel ( ) const
inline

Definition at line 48 of file SecurityAttributes.hxx.

◆ getSignatureStatus()

SignatureStatus resip::SecurityAttributes::getSignatureStatus ( ) const
inline

Definition at line 42 of file SecurityAttributes.hxx.

◆ getSigner()

const Data & resip::SecurityAttributes::getSigner ( ) const
inline

Definition at line 45 of file SecurityAttributes.hxx.

◆ isEncrypted()

bool resip::SecurityAttributes::isEncrypted ( ) const
inline

Definition at line 39 of file SecurityAttributes.hxx.

◆ setEncrypted()

void resip::SecurityAttributes::setEncrypted ( )
inline

Definition at line 38 of file SecurityAttributes.hxx.

◆ setEncryptionPerformed()

void resip::SecurityAttributes::setEncryptionPerformed ( bool  performed)
inline

Definition at line 50 of file SecurityAttributes.hxx.

◆ setIdentity()

void resip::SecurityAttributes::setIdentity ( const Data &  identity)
inline

Definition at line 32 of file SecurityAttributes.hxx.

◆ setIdentityStrength()

void resip::SecurityAttributes::setIdentityStrength ( IdentityStrength  strength)
inline

Definition at line 35 of file SecurityAttributes.hxx.

◆ setOutgoingEncryptionLevel()

void resip::SecurityAttributes::setOutgoingEncryptionLevel ( OutgoingEncryptionLevel  level)
inline

Definition at line 47 of file SecurityAttributes.hxx.

◆ setSignatureStatus()

void resip::SecurityAttributes::setSignatureStatus ( SignatureStatus  status)
inline

Definition at line 41 of file SecurityAttributes.hxx.

◆ setSigner()

void resip::SecurityAttributes::setSigner ( const Data &  signer)
inline

Definition at line 44 of file SecurityAttributes.hxx.

Friends And Related Symbol Documentation

◆ operator<<

EncodeStream & operator<< ( EncodeStream &  strm,
const SecurityAttributes &  sa 
)
friend

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