Closed Firstyear closed 6 months ago
I think it's a good idea. AFAIUI it would pre-populate the builder with some known good combinations and still require specifying e.g. exact algorithms...?
Yes that's what I was thinking. Some examples could be from the tpm spec section 25.1.5, such as "sealed data object", "general purpose key", "storage key".
Yeah, that can be useful as long as we do not specify key sizes or algorithms
There are some common cases we could add to public builder to save users from having to determine all the required feature flags and combinations needed. An example could be PublicBuilder::new_sealed_data_object() where we have this yield and create a value objectattributes and public that meet the requirements. Is that something that would be wanted? I'm sure there are other use cases too.