You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
18 lines
346 B
18 lines
346 B
2 months ago
|
using System;
|
||
|
using System.IO;
|
||
|
|
||
|
using Org.BouncyCastle.Crypto.IO;
|
||
|
using Org.BouncyCastle.Utilities.IO;
|
||
|
|
||
|
namespace Org.BouncyCastle.Crypto.Tls
|
||
|
{
|
||
|
internal class DigestInputBuffer
|
||
|
: MemoryStream
|
||
|
{
|
||
|
internal void UpdateDigest(IDigest d)
|
||
|
{
|
||
|
Streams.WriteBufTo(this, new DigestSink(d));
|
||
|
}
|
||
|
}
|
||
|
}
|