Function hpke_kem::DeserializePublicKey
source · [−]pub fn DeserializePublicKey(alg: KEM, enc: &ByteSeq) -> HpkeByteSeqResult
Expand description
Parse a byte string of length Npk
to recover a
public key. This function can raise a DeserializeError
error upon pkXm
deserialization failure.