version 1.18, 2003/10/22 14:26:01
|
version 1.19, 2004/05/18 14:57:53
|
|
|
// Author: Nag Boranna, Hewlett-Packard Company (nagaraja_boranna@hp.com) | // Author: Nag Boranna, Hewlett-Packard Company (nagaraja_boranna@hp.com) |
// | // |
// Modified By: Jair Santos, Hewlett-Packard Company (jair.santos@hp.com) | // Modified By: Jair Santos, Hewlett-Packard Company (jair.santos@hp.com) |
|
// Heather Sterling, IBM (hsterl@us.ibm.com) |
// | // |
//%///////////////////////////////////////////////////////////////////////////// | //%///////////////////////////////////////////////////////////////////////////// |
| |
|
|
#include <Pegasus/Common/Tracer.h> | #include <Pegasus/Common/Tracer.h> |
#include <Pegasus/Common/AuthenticationInfoRep.h> | #include <Pegasus/Common/AuthenticationInfoRep.h> |
#include <Pegasus/Common/Linkage.h> | #include <Pegasus/Common/Linkage.h> |
|
#include <Pegasus/Common/SSLContext.h> |
| |
#ifdef PEGASUS_KERBEROS_AUTHENTICATION | #ifdef PEGASUS_KERBEROS_AUTHENTICATION |
#include <Pegasus/Common/CIMKerberosSecurityAssociation.h> | #include <Pegasus/Common/CIMKerberosSecurityAssociation.h> |
|
|
} | } |
#endif | #endif |
| |
|
/** Retrieves the SSL Certificate object |
|
*/ |
|
SSLCertificateInfo* getPeerCertificate() const |
|
{ |
|
_checkRep(); |
|
return _rep->getPeerCertificate(); |
|
} |
|
|
|
/** Set the SSL Certificate object |
|
*/ |
|
void setPeerCertificate(SSLCertificateInfo* peerCertificate) |
|
{ |
|
_checkRep(); |
|
_rep->setPeerCertificate(peerCertificate); |
|
} |
|
|
private: | private: |
| |
AuthenticationInfo(AuthenticationInfoRep* rep) : _rep(rep) | AuthenticationInfo(AuthenticationInfoRep* rep) : _rep(rep) |