summary refs log tree commit diff
path: root/crypto/src/crypto/IDsaExt.cs
diff options
context:
space:
mode:
Diffstat (limited to 'crypto/src/crypto/IDsaExt.cs')
-rw-r--r--crypto/src/crypto/IDsaExt.cs17
1 files changed, 17 insertions, 0 deletions
diff --git a/crypto/src/crypto/IDsaExt.cs b/crypto/src/crypto/IDsaExt.cs
new file mode 100644

index 000000000..15b55787a --- /dev/null +++ b/crypto/src/crypto/IDsaExt.cs
@@ -0,0 +1,17 @@ +using System; + +using Org.BouncyCastle.Math; + +namespace Org.BouncyCastle.Crypto +{ + /// <summary> + /// An "extended" interface for classes implementing DSA-style algorithms, that provides access + /// to the group order. + /// </summary> + public interface IDsaExt + : IDsa + { + /// <summary>The order of the group that the r, s values in signatures belong to.</summary> + BigInteger Order { get; } + } +}