Contents

init(_:kem:)

Creates an X-Wing public key for use with HPKE.

Declaration

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

Discussion

  • serialization: The serialized bytes of the public key.

  • kem: The key encapsulation mechanism to use with the public key.