aboutsummaryrefslogtreecommitdiff
path: root/xcode/OLMKit/OLMPkDecryption.h
diff options
context:
space:
mode:
Diffstat (limited to 'xcode/OLMKit/OLMPkDecryption.h')
-rw-r--r--xcode/OLMKit/OLMPkDecryption.h7
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