init(_:kem:)
Creates a Curve25519 elliptic curve public key for use with Diffie-Hellman key exchange.
Declaration
init<D>(_ serialization: D, kem: HPKE.KEM) throws where D : ContiguousBytesDiscussion
serialization: The serialized bytes of the public key.
kem: The key encapsulation mechanism to use with the public key.