TAO_SSLIOP
2.2.2
|
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 |
![]() | |
typedef Object_ptr | _ptr_type |
typedef Object_var | _var_type |
typedef Object_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... | |
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) |
![]() | |
static CORBA::Boolean | marshal (const Object_ptr x, TAO_OutputCDR &cdr) |
static void | _tao_any_destructor (void *) |
static CORBA::Boolean | is_nil_i (CORBA::Object_ptr obj) |
static void | tao_object_initialize (Object *) |
static CORBA::Object_ptr | _duplicate (CORBA::Object_ptr obj) |
static CORBA::Object_ptr | _nil (void) |
static CORBA::Object_ptr | _narrow (CORBA::Object_ptr obj) |
Protected Member Functions | |
~SSLIOP_Credentials (void) | |
Destructor. More... | |
![]() | |
Object (int dummy=0) | |
TAO::Object_Proxy_Broker * | proxy_broker () const |
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.