From 59076a6bda54c90a257eaf3dae32aad7ad178d31 Mon Sep 17 00:00:00 2001 From: manuroe Date: Tue, 23 Oct 2018 15:47:46 +0200 Subject: OLMKit: Expose PK private key length --- xcode/OLMKit/OLMPkDecryption.h | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'xcode/OLMKit/OLMPkDecryption.h') 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 -- cgit v1.2.3