protected static WriteSupplementalData ( Stream output, IList supplementalData ) : void | ||
output | Stream | |
supplementalData | IList | |
return | void |
/// <exception cref="IOException"/> protected static byte[] GenerateSupplementalData(IList supplementalData) { MemoryStream buf = new MemoryStream(); TlsProtocol.WriteSupplementalData(buf, supplementalData); return(buf.ToArray()); }
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()); }
protected virtual void SendSupplementalDataMessage(IList supplementalData) { TlsProtocol.HandshakeMessage handshakeMessage = new TlsProtocol.HandshakeMessage(23); TlsProtocol.WriteSupplementalData(handshakeMessage, supplementalData); handshakeMessage.WriteToRecordStream(this); }