anothertls 0.1.3

Yet another TLS implementation, but written from scratch (including the crypto) in pure Rust - of course.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
/*
 * Copyright (c) 2023, Tobias Müller <git@tsmr.eu>
 *
 */

use super::{Point, Curve};


pub struct PublicKey {
    pub point: Point,
    pub curve: Curve
}

impl PublicKey {
    pub fn new (point: Point, curve: Curve) -> Self {
        Self {point, curve }
    }
}