diff options
author | MITSUNARI Shigeo <herumi@nifty.com> | 2016-08-15 15:27:51 +0800 |
---|---|---|
committer | MITSUNARI Shigeo <herumi@nifty.com> | 2016-08-15 15:27:51 +0800 |
commit | 7e2aacd8b7e7f3d9acc6313b64a811d93b674216 (patch) | |
tree | f6655960d93b864300cca9cdaddd34fa0937b431 /src | |
parent | 6ab490cb6ae5321c991b9ce24c2b2f908d8c3490 (diff) | |
download | dexon-bls-7e2aacd8b7e7f3d9acc6313b64a811d93b674216.tar dexon-bls-7e2aacd8b7e7f3d9acc6313b64a811d93b674216.tar.gz dexon-bls-7e2aacd8b7e7f3d9acc6313b64a811d93b674216.tar.bz2 dexon-bls-7e2aacd8b7e7f3d9acc6313b64a811d93b674216.tar.lz dexon-bls-7e2aacd8b7e7f3d9acc6313b64a811d93b674216.tar.xz dexon-bls-7e2aacd8b7e7f3d9acc6313b64a811d93b674216.tar.zst dexon-bls-7e2aacd8b7e7f3d9acc6313b64a811d93b674216.zip |
setStr, getStr were removed
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; |