#include <SSLIOP_ClientCredentials.h>
Inheritance diagram for TAO::SSLIOP::ClientCredentials:
Public Member Functions | |
ClientCredentials (::X509 *cert,::EVP_PKEY *evp,::SSL *ssl) | |
Constructor. | |
SecurityLevel3::Credentials Methods | |
Methods required by the SecurityLevel3::Credentials interface. | |
virtual SecurityLevel3::CredentialsType | creds_type () |
SecurityLevel3::ClientCredentials Methods | |
Methods required by the SecurityLevel3::ClientCredentials interface. | |
virtual char * | context_id (void) |
virtual SecurityLevel3::Principal * | client_principal () |
virtual SecurityLevel3::StatementList * | client_supporting_statements () |
virtual SecurityLevel3::ResourceNameList * | client_restricted_resources () |
virtual SecurityLevel3::Principal * | target_principal () |
virtual SecurityLevel3::StatementList * | target_supporting_statements () |
virtual SecurityLevel3::ResourceNameList * | target_restricted_resources () |
virtual SecurityLevel3::OwnCredentials_ptr | parent_credentials () |
virtual CORBA::Boolean | client_authentication (void) |
virtual CORBA::Boolean | target_authentication (void) |
virtual CORBA::Boolean | confidentiality (void) |
virtual CORBA::Boolean | integrity (void) |
Protected Member Functions | |
~ClientCredentials (void) | |
Destructor. | |
Private Attributes | |
TAO::SSLIOP::SSL_var | ssl_ |
|
Constructor.
|
|
Destructor. Protected destructor to enforce proper memory management through the reference counting mechanism. Definition at line 23 of file SSLIOP_ClientCredentials.cpp.
00024 { 00025 } |
|
Definition at line 91 of file SSLIOP_ClientCredentials.cpp. References TAO::SSLIOP::OpenSSL_st_var< T >::in().
00092 { 00093 // If the client presented no certificate (i.e. cert_.ptr() == 0), 00094 // the client was not authenticated. Otherwise, verify the peer's 00095 // certificate. 00096 00097 return 00098 this->x509_.in () != 0 00099 && SSL_get_verify_result (this->ssl_.in ()) == X509_V_OK; 00100 } |
|
Definition at line 40 of file SSLIOP_ClientCredentials.cpp.
00041 {
00042 throw CORBA::NO_IMPLEMENT ();
00043 }
|
|
Definition at line 52 of file SSLIOP_ClientCredentials.cpp.
00053 {
00054 throw CORBA::NO_IMPLEMENT ();
00055 }
|
|
Definition at line 46 of file SSLIOP_ClientCredentials.cpp.
00047 {
00048 throw CORBA::NO_IMPLEMENT ();
00049 }
|
|
Definition at line 109 of file SSLIOP_ClientCredentials.cpp.
00110 {
00111 throw CORBA::NO_IMPLEMENT ();
00112 }
|
|
Definition at line 34 of file SSLIOP_ClientCredentials.cpp.
00035 {
00036 throw CORBA::NO_IMPLEMENT ();
00037 }
|
|
Implements TAO::SSLIOP_Credentials. Definition at line 28 of file SSLIOP_ClientCredentials.cpp.
00029 {
00030 return SecurityLevel3::CT_ClientCredentials;
00031 }
|
|
Definition at line 115 of file SSLIOP_ClientCredentials.cpp.
00116 { 00117 // TAO's SSLIOP pluggable transport always provides integrity. Note 00118 // that if we 00119 00120 return true; 00121 } |
|
Definition at line 76 of file SSLIOP_ClientCredentials.cpp. References ACE_NEW_THROW_EX, TAO::SSLIOP::OpenSSL_st_var< T >::in(), and ssl_.
00077 { 00078 SecurityLevel3::OwnCredentials_ptr creds = 00079 SecurityLevel3::OwnCredentials::_nil (); 00080 00081 ACE_NEW_THROW_EX (creds, 00082 TAO::SSLIOP::OwnCredentials ( 00083 ::SSL_get_certificate (this->ssl_.in ()), 00084 ::SSL_get_privatekey (this->ssl_.in ())), 00085 CORBA::NO_MEMORY ()); 00086 00087 return creds; 00088 } |
|
Definition at line 103 of file SSLIOP_ClientCredentials.cpp.
00104 {
00105 throw CORBA::NO_IMPLEMENT ();
00106 }
|
|
Definition at line 58 of file SSLIOP_ClientCredentials.cpp.
00059 {
00060 throw CORBA::NO_IMPLEMENT ();
00061 }
|
|
Definition at line 70 of file SSLIOP_ClientCredentials.cpp.
00071 {
00072 throw CORBA::NO_IMPLEMENT ();
00073 }
|
|
Definition at line 64 of file SSLIOP_ClientCredentials.cpp.
00065 {
00066 throw CORBA::NO_IMPLEMENT ();
00067 }
|
|
Reference to the OpenSSL Definition at line 115 of file SSLIOP_ClientCredentials.h. Referenced by parent_credentials(). |