public CreateLeaseSetMessage(BufRef reader, I2CPSession session) : base(ProtocolMessageType.CreateLS) { SessionId = reader.ReadFlip16(); var cert = session.SessionIds[SessionId].Config.Destination.Certificate; DSAPrivateSigningKey = new I2PSigningPrivateKey( reader, new I2PCertificate(I2PSigningKey.SigningKeyTypes.DSA_SHA1)); PrivateKey = new I2PPrivateKey(reader, cert); Leases = new I2PLeaseSet(reader); }
internal WaitGetDateState(I2CPSession sess) : base(sess) { }
internal WaitForEstablishedDestinationState(I2CPSession sess) : base(sess) { }
internal WaitProtVer(I2CPSession sess) : base(sess) { }
internal EstablishedState(I2CPSession sess) : base(sess) { }
protected I2CPState(I2CPSession sess) { Session = sess; ReceiveWriter = new BufRefLen(ReceiveMessageBuffer); }
internal WaitForCreateSessionState(I2CPSession sess) : base(sess) { }
protected I2CPState(I2CPSession sess) { Session = sess; }