123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354 |
- #if !BESTHTTP_DISABLE_ALTERNATE_SSL && (!UNITY_WEBGL || UNITY_EDITOR)
- using System;
- using System.Text;
- namespace Org.BouncyCastle.Crypto
- {
- public interface ISigner
- {
-
- string AlgorithmName { get; }
-
- void Init(bool forSigning, ICipherParameters parameters);
-
- void Update(byte input);
-
- void BlockUpdate(byte[] input, int inOff, int length);
-
- byte[] GenerateSignature();
-
- bool VerifySignature(byte[] signature);
-
- void Reset();
- }
- }
- #endif
|