| 576 | } |
| 577 | |
| 578 | const cElGamalSigPrivateKey* cPrivateKeyProxy::GetKey() const // throw eKeyFile() |
| 579 | { |
| 580 | if (mpKey == 0) |
| 581 | { |
| 582 | // This is a programming error |
| 583 | ASSERT(false); |
| 584 | throw eKeyFileUninitialized(_T("Private Key not initialized")); |
| 585 | } |
| 586 | |
| 587 | return mpKey; |
| 588 | } |