version 1.9, 2004/05/05 12:51:27
|
version 1.10, 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/String.h> | #include <Pegasus/Common/String.h> |
#include <Pegasus/Common/Sharable.h> | #include <Pegasus/Common/Sharable.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> |
|
|
void setSecurityAssociation(); | void setSecurityAssociation(); |
#endif | #endif |
| |
|
SSLCertificateInfo* getPeerCertificate() const |
|
{ |
|
return _peerCertificate; |
|
} |
|
|
|
void setPeerCertificate(SSLCertificateInfo* peerCertificate); |
|
|
private: | private: |
| |
/** Constructors */ | /** Constructors */ |
|
|
#ifdef PEGASUS_KERBEROS_AUTHENTICATION | #ifdef PEGASUS_KERBEROS_AUTHENTICATION |
AutoPtr<CIMKerberosSecurityAssociation> _securityAssoc;//PEP101 | AutoPtr<CIMKerberosSecurityAssociation> _securityAssoc;//PEP101 |
#endif | #endif |
|
|
|
SSLCertificateInfo* _peerCertificate; //PEP165 |
|
|
}; | }; |
| |
PEGASUS_NAMESPACE_END | PEGASUS_NAMESPACE_END |