Skip to main content

CoseKeyThumbprintExt

Trait CoseKeyThumbprintExt 

Source
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§

Source

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".

Implementors§