Decode and store the public key
| 564 | |
| 565 | // Decode and store the public key |
| 566 | void DSS::DSSImpl::SetPrivate(const byte* key, unsigned int sz) |
| 567 | { |
| 568 | TaoCrypt::Source source(key, sz); |
| 569 | privateKey_.Initialize(source); |
| 570 | publicKey_ = TaoCrypt::DSA_PublicKey(privateKey_); |
| 571 | |
| 572 | } |
| 573 | |
| 574 | |
| 575 | // Set public or private key |
no test coverage detected