pub type CoseSign1Bytes = Bytes<CoseSign1ContentFormat>;
Expand description
CoseSign1Bytes is a type alias for Bytes with CoseSign1ContentFormat
. This is used for
serialized COSE Sign1 messages.
Aliased Type§
struct CoseSign1Bytes {
inner: Vec<u8>,
_marker: PhantomData<CoseSign1ContentFormat>,
}
Fields§
§inner: Vec<u8>
§_marker: PhantomData<CoseSign1ContentFormat>
Trait Implementations§
Source§impl From<SignedPublicKey> for CoseSign1Bytes
impl From<SignedPublicKey> for CoseSign1Bytes
Source§fn from(val: SignedPublicKey) -> Self
fn from(val: SignedPublicKey) -> Self
Converts to this type from the input type.