|
limal-ca-mgm
|
#include <LiteralValues.hpp>
Public Member Functions | |
| LiteralValue () | |
| LiteralValue (const String &type, const String &value) | |
| LiteralValue (const String &value) | |
| LiteralValue (const LiteralValue &value) | |
| LiteralValue & | operator= (const LiteralValue &value) |
| virtual | ~LiteralValue () |
| void | setLiteral (const String &type, const String &value) |
| void | setValue (const String &value) |
| String | getType () const |
| String | getValue () const |
| virtual bool | valid () const |
| virtual BLOCXX_NAMESPACE::StringArray | verify () const |
| virtual BLOCXX_NAMESPACE::StringArray | dump () const |
| String | toString () const |
| BLOCXX_NAMESPACE::String | commit2Config (CA &ca, Type type, BLOCXX_NAMESPACE::UInt32 num) const |
Private Attributes | |
| BLOCXX_NAMESPACE::COWIntrusiveReference < LiteralValueImpl > | m_impl |
Friends | |
| bool | operator== (const LiteralValue &l, const LiteralValue &r) |
| bool | operator< (const LiteralValue &l, const LiteralValue &r) |
A Literal Value is a pair of a type and a value Valid types are: URI, DNS, RID, IP, email, 1.3.6.1.4.1.311.20.2.3 (ms-upn) and 1.3.6.1.5.2.2 (KRB5PrincipalName)
| limal::ca_mgm::LiteralValue::LiteralValue | ( | ) |
Constructor
| type | Valid types are: URI, DNS, RID, IP, email, 1.3.6.1.4.1.311.20.2.3 and 1.3.6.1.5.2.2 |
| value | a value for the type |
| limal::ca_mgm::LiteralValue::LiteralValue | ( | const String & | value | ) |
Constructor
| value | in the form <type>:<value> Valid types are: URI, DNS, RID, IP, email, 1.3.6.1.4.1.311.20.2.3 and 1.3.6.1.5.2.2 |
| limal::ca_mgm::LiteralValue::LiteralValue | ( | const LiteralValue & | value | ) |
| virtual limal::ca_mgm::LiteralValue::~LiteralValue | ( | ) | [virtual] |
| BLOCXX_NAMESPACE::String limal::ca_mgm::LiteralValue::commit2Config | ( | CA & | ca, |
| Type | type, | ||
| BLOCXX_NAMESPACE::UInt32 | num | ||
| ) | const |
Return the string for the configuration. This method silently ignore unsupported types like othername.
| virtual BLOCXX_NAMESPACE::StringArray limal::ca_mgm::LiteralValue::dump | ( | ) | const [virtual] |
| String limal::ca_mgm::LiteralValue::getType | ( | ) | const |
Return the type of this Literal Value
| String limal::ca_mgm::LiteralValue::getValue | ( | ) | const |
Return the value of this Literal Value
| LiteralValue& limal::ca_mgm::LiteralValue::operator= | ( | const LiteralValue & | value | ) |
Set new values
| type | Valid types are: URI, DNS, RID, IP, email, 1.3.6.1.4.1.311.20.2.3 and 1.3.6.1.5.2.2 |
| value | a value for the type |
| void limal::ca_mgm::LiteralValue::setValue | ( | const String & | value | ) |
Set new values
| value | in the form <type>:<value> Valid types are: URI, DNS, RID, IP, email, 1.3.6.1.4.1.311.20.2.3 and 1.3.6.1.5.2.2 |
| String limal::ca_mgm::LiteralValue::toString | ( | ) | const |
Return the LiteralValue in the form <type>:<value>
| virtual bool limal::ca_mgm::LiteralValue::valid | ( | ) | const [virtual] |
| virtual BLOCXX_NAMESPACE::StringArray limal::ca_mgm::LiteralValue::verify | ( | ) | const [virtual] |
| bool operator< | ( | const LiteralValue & | l, |
| const LiteralValue & | r | ||
| ) | [friend] |
| bool operator== | ( | const LiteralValue & | l, |
| const LiteralValue & | r | ||
| ) | [friend] |
BLOCXX_NAMESPACE::COWIntrusiveReference<LiteralValueImpl> limal::ca_mgm::LiteralValue::m_impl [private] |
1.7.5.1