aboutsummaryrefslogtreecommitdiffstats
path: root/src/bls.cpp
diff options
context:
space:
mode:
authorMITSUNARI Shigeo <herumi@nifty.com>2016-08-15 15:27:51 +0800
committerMITSUNARI Shigeo <herumi@nifty.com>2016-08-15 15:27:51 +0800
commit7e2aacd8b7e7f3d9acc6313b64a811d93b674216 (patch)
treef6655960d93b864300cca9cdaddd34fa0937b431 /src/bls.cpp
parent6ab490cb6ae5321c991b9ce24c2b2f908d8c3490 (diff)
downloaddexon-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/bls.cpp')
-rw-r--r--src/bls.cpp39
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;