diff options
author | manuroe <manu@matrix.org> | 2018-10-23 15:47:46 +0200 |
---|---|---|
committer | manuroe <manu@matrix.org> | 2018-10-23 15:47:46 +0200 |
commit | 59076a6bda54c90a257eaf3dae32aad7ad178d31 (patch) | |
tree | a926197ac4f6179da3af54fe93b458a7d748041b /xcode/OLMKit/OLMPkDecryption.h | |
parent | 1aafac2874affafd8c8fc7e3022c6ca6d2d078d6 (diff) |
OLMKit: Expose PK private key length
Diffstat (limited to 'xcode/OLMKit/OLMPkDecryption.h')
-rw-r--r-- | xcode/OLMKit/OLMPkDecryption.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/xcode/OLMKit/OLMPkDecryption.h b/xcode/OLMKit/OLMPkDecryption.h index 8715a99..823dc78 100644 --- a/xcode/OLMKit/OLMPkDecryption.h +++ b/xcode/OLMKit/OLMPkDecryption.h @@ -59,6 +59,13 @@ NS_ASSUME_NONNULL_BEGIN */ - (NSString *)decryptMessage:(OLMPkMessage*)message error:(NSError* _Nullable *)error; +/** + Private key length. + + @return the length in bytes. + */ ++ (NSUInteger)privateKeyLength; + @end NS_ASSUME_NONNULL_END |