Enum ethers::signers::yubihsm::ecdsa::sec1::Tag [−][src]
#[repr(u8)]
pub enum Tag {
Identity,
CompressedEvenY,
CompressedOddY,
Uncompressed,
Compact,
}
Expand description
Tag byte used by the Elliptic-Curve-Point-to-Octet-String
encoding.
Variants
Identity
Identity point (0x00
)
CompressedEvenY
Compressed point with even y-coordinate (0x02
)
CompressedOddY
Compressed point with odd y-coordinate (0x03
)
Uncompressed
Uncompressed point (0x04
)
Compact
Compact point (0x05
)
Implementations
Is this point compact?
Is this point compressed?
Is this point the identity point?
Compute the expected total message length for a message prefixed with this tag (including the tag byte), given the field element size (in bytes) for a particular elliptic curve.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Tag
impl UnwindSafe for Tag
Blanket Implementations
Mutably borrows from an owned value. Read more
Compare self to key
and return true
if they are equal.
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more