diff options
author | Filip Navara <filip.navara@gmail.com> | 2018-06-07 17:15:40 +0300 |
---|---|---|
committer | Marek Safar <marek.safar@gmail.com> | 2018-06-07 17:19:03 +0300 |
commit | b898ece84ad50834f9b369672abafb289aaa5b00 (patch) | |
tree | 8af43588ec4577df2b6a27bae31eec77cb978436 /src | |
parent | 3cb3efa3696ce6d6dc5ecd1ed673c1e0077c1106 (diff) |
Add definitions for IncrementalHash to monodroid and monotouch platforms.
Diffstat (limited to 'src')
-rw-r--r-- | src/monodroid/System.Core.cs | 11 | ||||
-rw-r--r-- | src/monotouch/System.Core.cs | 11 |
2 files changed, 22 insertions, 0 deletions
diff --git a/src/monodroid/System.Core.cs b/src/monodroid/System.Core.cs index 1677ef1..9353b66 100644 --- a/src/monodroid/System.Core.cs +++ b/src/monodroid/System.Core.cs @@ -2922,6 +2922,17 @@ namespace System.Security.Cryptography public byte[] X; public byte[] Y; } + public sealed partial class IncrementalHash : System.IDisposable + { + internal IncrementalHash() { } + public System.Security.Cryptography.HashAlgorithmName AlgorithmName { get { throw null; } } + public void AppendData(byte[] data) { } + public void AppendData(byte[] data, int offset, int count) { } + public static System.Security.Cryptography.IncrementalHash CreateHash(System.Security.Cryptography.HashAlgorithmName hashAlgorithm) { throw null; } + public static System.Security.Cryptography.IncrementalHash CreateHMAC(System.Security.Cryptography.HashAlgorithmName hashAlgorithm, byte[] key) { throw null; } + public void Dispose() { } + public byte[] GetHashAndReset() { throw null; } + } public sealed partial class RSACng : System.Security.Cryptography.RSA { public RSACng() { } diff --git a/src/monotouch/System.Core.cs b/src/monotouch/System.Core.cs index 7beebcc..6f17a10 100644 --- a/src/monotouch/System.Core.cs +++ b/src/monotouch/System.Core.cs @@ -2895,6 +2895,17 @@ namespace System.Security.Cryptography public byte[] X; public byte[] Y; } + public sealed partial class IncrementalHash : System.IDisposable + { + internal IncrementalHash() { } + public System.Security.Cryptography.HashAlgorithmName AlgorithmName { get { throw null; } } + public void AppendData(byte[] data) { } + public void AppendData(byte[] data, int offset, int count) { } + public static System.Security.Cryptography.IncrementalHash CreateHash(System.Security.Cryptography.HashAlgorithmName hashAlgorithm) { throw null; } + public static System.Security.Cryptography.IncrementalHash CreateHMAC(System.Security.Cryptography.HashAlgorithmName hashAlgorithm, byte[] key) { throw null; } + public void Dispose() { } + public byte[] GetHashAndReset() { throw null; } + } public sealed partial class RSACng : System.Security.Cryptography.RSA { public RSACng() { } |