diff options
author | royb <roy.basmacier@primekey.com> | 2022-02-03 12:51:52 -0500 |
---|---|---|
committer | Peter Dettman <peter.dettman@bouncycastle.org> | 2022-06-23 21:58:04 +0700 |
commit | 004de388d03ebfc6734d4a613f5114ceb8f7a570 (patch) | |
tree | c796413a7589c47548c15f35ec4b27f4b17fe6a8 /crypto/src/util/IEncodable.cs | |
parent | New build organization (diff) | |
download | BouncyCastle.NET-ed25519-004de388d03ebfc6734d4a613f5114ceb8f7a570.tar.xz |
Initial merge of PQC port
Diffstat (limited to 'crypto/src/util/IEncodable.cs')
-rw-r--r-- | crypto/src/util/IEncodable.cs | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/crypto/src/util/IEncodable.cs b/crypto/src/util/IEncodable.cs new file mode 100644 index 000000000..29d5af7f8 --- /dev/null +++ b/crypto/src/util/IEncodable.cs @@ -0,0 +1,20 @@ +using System.IO; + +namespace Org.BouncyCastle.Utilities +{ + public interface IEncodable + { + ///<summary> + /// + /// + /// + /// + /// + // * Return a byte array representing the implementing object. + // * + // * @return a byte array representing the encoding. + // * @throws IOException if an issue arises generation the encoding. + // */ + byte[] GetEncoded(); + } +} \ No newline at end of file |