WriteSupplementalData() защищенный статический Метод

protected static WriteSupplementalData ( Stream output, IList supplementalData ) : void
output Stream
supplementalData IList
Результат void
Пример #1
0
        /// <exception cref="IOException"/>
        protected static byte[] GenerateSupplementalData(IList supplementalData)
        {
            MemoryStream buf = new MemoryStream();

            TlsProtocol.WriteSupplementalData(buf, supplementalData);
            return(buf.ToArray());
        }
Пример #2
0
        protected static byte[] GenerateSupplementalData(global::System.Collections.IList supplementalData)
        {
            //IL_0000: Unknown result type (might be due to invalid IL or missing references)
            //IL_0006: Expected O, but got Unknown
            MemoryStream val = new MemoryStream();

            TlsProtocol.WriteSupplementalData((Stream)(object)val, supplementalData);
            return(val.ToArray());
        }
Пример #3
0
 protected virtual void SendSupplementalDataMessage(IList supplementalData)
 {
     TlsProtocol.HandshakeMessage handshakeMessage = new TlsProtocol.HandshakeMessage(23);
     TlsProtocol.WriteSupplementalData(handshakeMessage, supplementalData);
     handshakeMessage.WriteToRecordStream(this);
 }