(file) Return to AuthenticationInfo.h CVS log (file) (dir) Up to [Pegasus] / pegasus / src / Pegasus / Common

Diff for /pegasus/src/Pegasus/Common/AuthenticationInfo.h between version 1.18.4.2 and 1.19

version 1.18.4.2, 2004/04/25 20:39:57 version 1.19, 2004/05/18 14:57:53
Line 295 
Line 295 
     }     }
 #endif #endif
  
 #ifdef PEGASUS_USE_232_CLIENT_VERIFICATION  
 #ifdef PEGASUS_HAS_SSL  
     /** Retrieves the SSL Certificate object     /** Retrieves the SSL Certificate object
     */     */
     SSLCertificateInfo* getPeerCertificate() const     SSLCertificateInfo* getPeerCertificate() const
Line 313 
Line 311 
         _rep->setPeerCertificate(peerCertificate);         _rep->setPeerCertificate(peerCertificate);
     }     }
  
     /** Retrieves the SSL Certificate status object  
         Returns one of the following values from SSLSocket  
         enum certificateStatusFlag  
         {  
           VERIFICATION_DISABLED,  //no request for certificate is sent  
           NO_CERT,                //certificate is requested, but client does not send one  
           CERT_SUCCESS,           //certificate is received and verified against truststore  
           CERT_FAILURE            //certificate is received but fails verification against truststore  
         };  
     */  
     Sint32 getCertificateStatus() const  
     {  
         _checkRep();  
         return _rep->getCertificateStatus();  
     }  
   
     /** Sets the certificate status to one of the above values from SSLSocket  
     */  
     void setCertificateStatus(Sint32 certificateStatus)  
     {  
         _checkRep();  
         _rep->setCertificateStatus(certificateStatus);  
     }  
 #endif  
 #endif  
   
 private: private:
  
     AuthenticationInfo(AuthenticationInfoRep* rep) : _rep(rep)     AuthenticationInfo(AuthenticationInfoRep* rep) : _rep(rep)


Legend:
Removed from v.1.18.4.2  
changed lines
  Added in v.1.19

No CVS admin address has been configured
Powered by
ViewCVS 0.9.2