awslabs / mls-rs

An implementation of Messaging Layer Security (RFC 9420)
Apache License 2.0
99 stars 19 forks source link

Expose the KeyPackage held by AddProposal to crate consumers #165

Closed jszczepanik closed 4 months ago

jszczepanik commented 4 months ago

Description of feature:

mls_rs::group::proposal::AddProposal::key_package should be available to consumers of the crate.

Use case:

Some custom implementations of MlsRules could benefit from being able to inspect the KeyPackage when processing the AddProposal.

Implementation discussion (Optional)

It a matter of adding a getter method on AddProposal.