#include <OTSignatureMetadata.hpp>
Definition at line 139 of file OTSignatureMetadata.hpp.
opentxs::OTSignatureMetadata::OTSignatureMetadata |
( |
| ) |
|
char opentxs::OTSignatureMetadata::FirstCharMasterCredID |
( |
| ) |
const |
|
inline |
char opentxs::OTSignatureMetadata::FirstCharNymID |
( |
| ) |
const |
|
inline |
char opentxs::OTSignatureMetadata::FirstCharSubCredID |
( |
| ) |
const |
|
inline |
char opentxs::OTSignatureMetadata::GetKeyType |
( |
| ) |
const |
|
inline |
bool opentxs::OTSignatureMetadata::HasMetadata |
( |
| ) |
const |
|
inline |
bool opentxs::OTSignatureMetadata::SetMetadata |
( |
char |
metaKeyType, |
|
|
char |
metaNymID, |
|
|
char |
metaMasterCredID, |
|
|
char |
metaSubCredID |
|
) |
| |
Definition at line 143 of file OTSignatureMetadata.cpp.
146 switch (metaKeyType) {
157 otErr << __FUNCTION__
158 <<
": Expected key type of A, E, or S, but instead found: "
159 << metaKeyType <<
" (bad data or error)\n";
163 std::string str_verify_base62;
165 str_verify_base62 += metaNymID;
166 str_verify_base62 += metaMasterCredID;
167 str_verify_base62 += metaSubCredID;
170 otErr << __FUNCTION__
171 <<
": Metadata for signature failed base62 validation: "
172 << str_verify_base62 <<
"\n";
176 metaKeyType_ = metaKeyType;
177 metaNymID_ = metaNymID;
178 metaMasterCredID_ = metaMasterCredID;
179 metaSubCredID_ = metaSubCredID;
static EXPORT OTCrypto * It()
OTLOG_IMPORT OTLogStream otErr
The documentation for this class was generated from the following files: