diff options
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 |