pub enum ProvisionerRequest {
GenerateKeyPair {
responder: ProvisionerGenerateKeyPairResponder,
},
}
Expand description
This protocol is used for just-in-time provisioning operations.
Variants§
GenerateKeyPair
Generate key for just-in-time provisioning operations, used when
working with Weave operational certificates. On success, a wrapped
private key and public key pair is returned in result
. The
wrapped_private_key
can be passed to [Signer.SignHashWithPrivateKey
]
to sign Weave messages.
Currently, Weave only supports ECDSA signatures. This protocol returns a key-pair compatible with the Signer protocol (e.g. P256).
Fields
§
responder: ProvisionerGenerateKeyPairResponder
Implementations§
Source§impl ProvisionerRequest
impl ProvisionerRequest
pub fn into_generate_key_pair( self, ) -> Option<ProvisionerGenerateKeyPairResponder>
Sourcepub fn method_name(&self) -> &'static str
pub fn method_name(&self) -> &'static str
Name of the method defined in FIDL
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ProvisionerRequest
impl !RefUnwindSafe for ProvisionerRequest
impl Send for ProvisionerRequest
impl Sync for ProvisionerRequest
impl Unpin for ProvisionerRequest
impl !UnwindSafe for ProvisionerRequest
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more