reSIProcate/stack  9694
Public Types | Public Member Functions | Protected Member Functions
resip::WinSecurity Class Reference

WARNING - This class is only appropriate for client TLS connections, as it only loads root certs. More...

#include <WinSecurity.hxx>

Inheritance diagram for resip::WinSecurity:
Inheritance graph
[legend]
Collaboration diagram for resip::WinSecurity:
Collaboration graph
[legend]

List of all members.

Public Types

enum  MsCertStoreType { ROOT_CA_STORE = 1, CA_STORE = 2, PRIVATE_STORE = 3, USERS_STORE = 4 }

Public Member Functions

 WinSecurity (const CipherList &cipherList=ExportableSuite)
virtual void preload ()
virtual void onReadPEM (const Data &name, PEMType type, Data &buffer) const
virtual void onWritePEM (const Data &name, PEMType type, const Data &buffer) const
virtual void onRemovePEM (const Data &name, PEMType type) const

Protected Member Functions

HCERTSTORE openSystemCertStore (const Data &name)
void getCerts (MsCertStoreType eType)
void closeCertifStore (HCERTSTORE)

Detailed Description

WARNING - This class is only appropriate for client TLS connections, as it only loads root certs.

There is currently no logic to load domain or user certificates.

Definition at line 21 of file WinSecurity.hxx.


Member Enumeration Documentation

Enumerator:
ROOT_CA_STORE 
CA_STORE 
PRIVATE_STORE 
USERS_STORE 

Definition at line 25 of file WinSecurity.hxx.

      {
         ROOT_CA_STORE=1, //"ROOT": predefined system store
         CA_STORE=2,      //"CA": predefined system store 
         PRIVATE_STORE=3, //"MY": predefined system store; should store the domain certificate/private key
         USERS_STORE=4    //"DOMAIN_USERS" (only for server):
                          //administrator-defined system store; should store the
                          //certificate/private keys for the users associated
                          //with the domain
      } MsCertStoreType;

Constructor & Destructor Documentation

resip::WinSecurity::WinSecurity ( const CipherList cipherList = ExportableSuite) [inline]

Definition at line 37 of file WinSecurity.hxx.

: Security(cipherList){}

Member Function Documentation

void resip::WinSecurity::closeCertifStore ( HCERTSTORE  ) [protected]
void resip::WinSecurity::getCerts ( MsCertStoreType  eType) [protected]
virtual void resip::WinSecurity::onReadPEM ( const Data name,
PEMType  type,
Data buffer 
) const [virtual]

Reimplemented from resip::Security.

virtual void resip::WinSecurity::onRemovePEM ( const Data name,
PEMType  type 
) const [virtual]

Reimplemented from resip::Security.

virtual void resip::WinSecurity::onWritePEM ( const Data name,
PEMType  type,
const Data buffer 
) const [virtual]

Reimplemented from resip::Security.

HCERTSTORE resip::WinSecurity::openSystemCertStore ( const Data name) [protected]
virtual void resip::WinSecurity::preload ( ) [virtual]

Reimplemented from resip::Security.


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