TAO_SSLIOP
2.2.7
|
SSLIOP-specific implementation of the SecurityLevel3::Credentials interface. More...
#include <SSLIOP_Credentials.h>
Public Types | |
typedef SSLIOP::Credentials_ptr | _ptr_type |
typedef SSLIOP::Credentials_var | _var_type |
typedef SSLIOP::Credentials_out | _out_type |
Public Member Functions | |
SSLIOP_Credentials (::X509 *cert,::EVP_PKEY *evp) | |
Constructor. More... | |
::EVP_PKEY * | evp (void) |
Return a pointer to the underlying private key. More... | |
bool | operator== (const SSLIOP_Credentials &rhs) |
CORBA::ULong | hash (void) const |
SecurityLevel3::Credentials Methods | |
virtual char * | creds_id (void) |
Return a pointer to the underlying X.509 certificate. More... | |
virtual SecurityLevel3::CredentialsType | creds_type (void)=0 |
Return a pointer to the underlying X.509 certificate. More... | |
virtual SecurityLevel3::CredentialsUsage | creds_usage () |
Return a pointer to the underlying X.509 certificate. More... | |
virtual TimeBase::UtcT | expiry_time (void) |
Return a pointer to the underlying X.509 certificate. More... | |
virtual SecurityLevel3::CredentialsState | creds_state () |
Return a pointer to the underlying X.509 certificate. More... | |
virtual char * | add_relinquished_listener (SecurityLevel3::RelinquishedCredentialsListener_ptr listener) |
Return a pointer to the underlying X.509 certificate. More... | |
virtual void | remove_relinquished_listener (const char *id) |
Return a pointer to the underlying X.509 certificate. More... | |
::X509 * | x509 (void) |
Return a pointer to the underlying X.509 certificate. More... | |
![]() | |
virtual TAO::ObjectKey * | _key (void) |
virtual CORBA::ULong | _hash (CORBA::ULong maximum) |
virtual CORBA::Boolean | _is_equivalent (CORBA::Object_ptr other_obj) |
virtual CORBA::Boolean | _non_existent (void) |
virtual InterfaceDef_ptr | _get_interface (void) |
virtual CORBA::Object_ptr | _get_component (void) |
virtual char * | _repository_id (void) |
virtual void | _create_request (CORBA::Context_ptr ctx, const char *operation, CORBA::NVList_ptr arg_list, CORBA::NamedValue_ptr result, CORBA::Request_ptr &request, CORBA::Flags req_flags) |
virtual void | _create_request (CORBA::Context_ptr ctx, const char *operation, CORBA::NVList_ptr arg_list, CORBA::NamedValue_ptr result, CORBA::ExceptionList_ptr exclist, CORBA::ContextList_ptr ctxtlist, CORBA::Request_ptr &request, CORBA::Flags req_flags) |
virtual CORBA::Request_ptr | _request (const char *operation) |
virtual CORBA::ORB_ptr | _get_orb (void) |
Static Public Member Functions | |
static SSLIOP::Credentials_ptr | _duplicate (SSLIOP::Credentials_ptr obj) |
static SSLIOP::Credentials_ptr | _narrow (CORBA::Object_ptr obj) |
static SSLIOP::Credentials_ptr | _nil (void) |
Protected Member Functions | |
~SSLIOP_Credentials (void) | |
Destructor. More... | |
Protected Attributes | |
SSLIOP::X509_var | x509_ |
SSLIOP::EVP_PKEY_var | evp_ |
CORBA::String_var | id_ |
Credentials Identifier. More... | |
SecurityLevel3::CredentialsUsage | creds_usage_ |
The intended usage of the Credentials. More... | |
TimeBase::UtcT | expiry_time_ |
The time these Credentials expire. More... | |
SecurityLevel3::CredentialsState | creds_state_ |
The validity of the Credentials. More... | |
SSLIOP-specific implementation of the SecurityLevel3::Credentials interface.
This class encapsulates the X.509 certificate associated with a given a principal.
typedef SSLIOP::Credentials_out TAO::SSLIOP_Credentials::_out_type |
typedef SSLIOP::Credentials_ptr TAO::SSLIOP_Credentials::_ptr_type |
typedef SSLIOP::Credentials_var TAO::SSLIOP_Credentials::_var_type |
|
protected |
Destructor.
Protected destructor to enforce proper memory management through the reference counting mechanism.
|
static |
|
static |
|
inlinestatic |
|
virtual |
Return a pointer to the underlying X.509 certificate.
|
virtual |
Return a pointer to the underlying X.509 certificate.
|
virtual |
Return a pointer to the underlying X.509 certificate.
|
pure virtual |
Return a pointer to the underlying X.509 certificate.
Implemented in TAO::SSLIOP::OwnCredentials, TAO::SSLIOP::ClientCredentials, and TAO::SSLIOP::TargetCredentials.
|
virtual |
Return a pointer to the underlying X.509 certificate.
EVP_PKEY * TAO::SSLIOP_Credentials::evp | ( | void | ) |
Return a pointer to the underlying private key.
|
virtual |
Return a pointer to the underlying X.509 certificate.
CORBA::ULong TAO::SSLIOP_Credentials::hash | ( | void | ) | const |
bool TAO::SSLIOP_Credentials::operator== | ( | const SSLIOP_Credentials & | rhs | ) |
|
virtual |
Return a pointer to the underlying X.509 certificate.
X509 * TAO::SSLIOP_Credentials::x509 | ( | void | ) |
Return a pointer to the underlying X.509 certificate.
|
protected |
The validity of the Credentials.
|
protected |
The intended usage of the Credentials.
|
protected |
Reference to the private key associated with the X.509 certificate.
|
protected |
The time these Credentials expire.
|
protected |
Credentials Identifier.
|
protected |
Reference to the X.509 certificate associated with this SSLIOP Credentials object.