| 1773 | |
| 1774 | |
| 1775 | void InternalCryptKey::setSymmetric(CheckStatusWrapper* status, const char* type, |
| 1776 | unsigned keyLength, const void* key) |
| 1777 | { |
| 1778 | try |
| 1779 | { |
| 1780 | if (type) |
| 1781 | keyName = type; |
| 1782 | encrypt.set(keyLength, key); |
| 1783 | decrypt.clear(); |
| 1784 | } |
| 1785 | catch (const Exception& ex) |
| 1786 | { |
| 1787 | ex.stuffException(status); |
| 1788 | } |
| 1789 | } |
| 1790 | |
| 1791 | void InternalCryptKey::setAsymmetric(CheckStatusWrapper* status, const char* type, |
| 1792 | unsigned encryptKeyLength, const void* encryptKey, unsigned decryptKeyLength, |
no test coverage detected