Struct coset::CoseSignature [−][src]
pub struct CoseSignature {
pub protected: Header,
pub unprotected: Header,
pub signature: Vec<u8>,
}
Expand description
Structure representing a cryptographic signature.
COSE_Signature = [
Headers,
signature : bstr
]
Fields
protected: Header
unprotected: Header
signature: Vec<u8>
Trait Implementations
Create an object instance by reading serialized CBOR data from std::io::Read
instance.
Create an object instance from serialized CBOR data in a slice.
Returns the “default value” for a type. Read more
Deserialize this value from the given Serde deserializer. Read more
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for CoseSignature
impl Send for CoseSignature
impl Sync for CoseSignature
impl Unpin for CoseSignature
impl UnwindSafe for CoseSignature
Blanket Implementations
Mutably borrows from an owned value. Read more