diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/bls.cpp | 39 |
1 files changed, 0 insertions, 39 deletions
diff --git a/src/bls.cpp b/src/bls.cpp index 898542b..3747c18 100644 --- a/src/bls.cpp +++ b/src/bls.cpp @@ -213,19 +213,6 @@ Sign& Sign::operator=(const Sign& rhs) return *this; } -void Sign::setStr(const std::string& str) -{ - std::istringstream iss(str); - iss >> *this; -} - -void Sign::getStr(std::string& str) const -{ - std::ostringstream oss(str); - oss << *this; - str = oss.str(); -} - bool Sign::operator==(const Sign& rhs) const { return id_ == rhs.id_ && self_->sHm == rhs.self_->sHm; @@ -320,19 +307,6 @@ PublicKey& PublicKey::operator=(const PublicKey& rhs) return *this; } -void PublicKey::setStr(const std::string& str) -{ - std::istringstream iss(str); - iss >> *this; -} - -void PublicKey::getStr(std::string& str) const -{ - std::ostringstream oss(str); - oss << *this; - str = oss.str(); -} - bool PublicKey::operator==(const PublicKey& rhs) const { return id_ == rhs.id_ && self_->sQ == rhs.self_->sQ; @@ -392,19 +366,6 @@ PrivateKey& PrivateKey::operator=(const PrivateKey& rhs) return *this; } -void PrivateKey::setStr(const std::string& str) -{ - std::istringstream iss(str); - iss >> *this; -} - -void PrivateKey::getStr(std::string& str) const -{ - std::ostringstream oss(str); - oss << *this; - str = oss.str(); -} - bool PrivateKey::operator==(const PrivateKey& rhs) const { return id_ == rhs.id_ && self_->s == rhs.self_->s; |