Set public or private key
| 645 | |
| 646 | // Set public or private key |
| 647 | RSA::RSA(const byte* key, unsigned int sz, bool publicKey) |
| 648 | : pimpl_(NEW_YS RSAImpl) |
| 649 | { |
| 650 | if (publicKey) |
| 651 | pimpl_->SetPublic(key, sz); |
| 652 | else |
| 653 | pimpl_->SetPrivate(key, sz); |
| 654 | } |
| 655 | |
| 656 | RSA::~RSA() |
| 657 | { |
nothing calls this directly
no test coverage detected