Contents

init(_:kem:)

Creates a public key from an encoded representation.

Declaration

init<D>(_ serialization: D, kem: HPKE.KEM) throws where D : ContiguousBytes

Discussion

  • serialization: The serialized key data.

  • kem: The key encapsulation mechanism that the sender used to encapsulate the key.