pub trait CredentialSign<SP = NotSpecialized> {
type Error;
// Required method
fn credential_sign<T: SigningContextProvider>(
&self,
text: impl AsRef<str>,
) -> Result<Vec<u8>, Self::Error>;
}Expand description
Sign with some public/private keypair credential
Required Associated Types§
Required Methods§
fn credential_sign<T: SigningContextProvider>( &self, text: impl AsRef<str>, ) -> Result<Vec<u8>, Self::Error>
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.