pub trait CoseKeyThumbprintExt {
// Required method
fn thumbprint(&self) -> Result<CoseKeyThumbprint, CryptoError>;
}Expand description
Computes the RFC 9679 COSE Key Thumbprint of a key.
Required Methods§
Sourcefn thumbprint(&self) -> Result<CoseKeyThumbprint, CryptoError>
fn thumbprint(&self) -> Result<CoseKeyThumbprint, CryptoError>
Returns the SHA-256 COSE Key Thumbprint of this key.
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".