pub struct SignParams {
pub certificate_id: String,
pub scheme: String,
pub blob: SecretBox<Base64Bytes>,
}Expand description
Parameters for the sign method.
Fields§
§certificate_id: StringThe certificate ID (from InitializeResult) identifying which key to use.
scheme: StringThe signature scheme name (e.g., "ECDSA_NISTP256_SHA256").
blob: SecretBox<Base64Bytes>The data to sign. Base64-encoded on the wire. Blobs to sign are not considered sensitive,
but we wrap them with SecretBox to avoid accidental logging or exposure in debug builds.
Trait Implementations§
Source§impl Clone for SignParams
impl Clone for SignParams
Source§fn clone(&self) -> SignParams
fn clone(&self) -> SignParams
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for SignParams
impl Debug for SignParams
Source§impl<'de> Deserialize<'de> for SignParams
impl<'de> Deserialize<'de> for SignParams
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for SignParams
impl RefUnwindSafe for SignParams
impl Send for SignParams
impl Sync for SignParams
impl Unpin for SignParams
impl UnsafeUnpin for SignParams
impl UnwindSafe for SignParams
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