diff options
author | Hubert Chathi <hubert@uhoreg.ca> | 2018-10-23 10:56:52 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-10-23 10:56:52 -0400 |
commit | 238c512d203d22e93b2c30630b12f4269175bb85 (patch) | |
tree | 0af897d773709df39312f34505a3490e428160b4 /xcode/OLMKit/OLMPkDecryption.h | |
parent | 1aafac2874affafd8c8fc7e3022c6ca6d2d078d6 (diff) | |
parent | c0d118f407ee2b0956bad2cccb5e61e6c472d533 (diff) |
Merge pull request #75 from matrix-org/manuroe/objc_pk_private_key_length
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 |