| 1789 | } |
| 1790 | |
| 1791 | void InternalCryptKey::setAsymmetric(CheckStatusWrapper* status, const char* type, |
| 1792 | unsigned encryptKeyLength, const void* encryptKey, unsigned decryptKeyLength, |
| 1793 | const void* decryptKey) |
| 1794 | { |
| 1795 | try |
| 1796 | { |
| 1797 | if (type) |
| 1798 | keyName = type; |
| 1799 | encrypt.set(encryptKeyLength, encryptKey); |
| 1800 | decrypt.set(decryptKeyLength, decryptKey); |
| 1801 | } |
| 1802 | catch (const Exception& ex) |
| 1803 | { |
| 1804 | ex.stuffException(status); |
| 1805 | } |
| 1806 | } |
| 1807 | |
| 1808 | const void* InternalCryptKey::getEncryptKey(unsigned* length) |
| 1809 | { |
nothing calls this directly
no test coverage detected