Exemplo n.º 1
0
        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);
        }
Exemplo n.º 2
0
 internal WaitGetDateState(I2CPSession sess) : base(sess)
 {
 }
 internal WaitForEstablishedDestinationState(I2CPSession sess) : base(sess)
 {
 }
Exemplo n.º 4
0
 internal WaitProtVer(I2CPSession sess) : base(sess)
 {
 }
Exemplo n.º 5
0
 internal EstablishedState(I2CPSession sess) : base(sess)
 {
 }
Exemplo n.º 6
0
 protected I2CPState(I2CPSession sess)
 {
     Session       = sess;
     ReceiveWriter = new BufRefLen(ReceiveMessageBuffer);
 }
Exemplo n.º 7
0
 internal WaitForCreateSessionState(I2CPSession sess) : base(sess)
 {
 }
Exemplo n.º 8
0
 protected I2CPState(I2CPSession sess)
 {
     Session = sess;
 }