protected virtual byte[] GenerateCertificateStatus(DtlsServerProtocol.ServerHandshakeState state, CertificateStatus certificateStatus) { MemoryStream memoryStream = new MemoryStream(); certificateStatus.Encode(memoryStream); return(memoryStream.ToArray()); }
protected virtual byte[] GenerateCertificateStatus(ServerHandshakeState state, CertificateStatus certificateStatus) { MemoryStream buf = new MemoryStream(); certificateStatus.Encode(buf); return(buf.ToArray()); }
protected virtual void SendCertificateStatusMessage(CertificateStatus certificateStatus) { HandshakeMessage handshakeMessage = new HandshakeMessage(22); certificateStatus.Encode((Stream)(object)handshakeMessage); handshakeMessage.WriteToRecordStream(this); }
protected virtual void SendCertificateStatusMessage(CertificateStatus certificateStatus) { HandshakeMessage message = new HandshakeMessage(HandshakeType.certificate_status); certificateStatus.Encode(message); message.WriteToRecordStream(this); }
protected virtual byte[] GenerateCertificateStatus(ServerHandshakeState state, CertificateStatus certificateStatus) { //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(); certificateStatus.Encode((Stream)(object)val); return(val.ToArray()); }
protected virtual byte[] GenerateCertificateStatus(ServerHandshakeState state, CertificateStatus certificateStatus) { MemoryStream buf = new MemoryStream(); certificateStatus.Encode(buf); return buf.ToArray(); }
protected virtual void SendCertificateStatusMessage(CertificateStatus certificateStatus) { TlsProtocol.HandshakeMessage handshakeMessage = new TlsProtocol.HandshakeMessage(22); certificateStatus.Encode(handshakeMessage); handshakeMessage.WriteToRecordStream(this); }