Enum tink_proto::EcdsaSignatureEncoding [−][src]
#[repr(i32)]
pub enum EcdsaSignatureEncoding {
UnknownEncoding,
IeeeP1363,
Der,
}
Variants
UnknownEncoding
IeeeP1363
The signature’s format is r || s, where r and s are zero-padded and have the same size in bytes as the order of the curve. For example, for NIST P-256 curve, r and s are zero-padded to 32 bytes.
Der
The signature is encoded using ASN.1 (https://tools.ietf.org/html/rfc5480#appendix-A): ECDSA-Sig-Value :: = SEQUENCE { r INTEGER, s INTEGER }
Implementations
Trait Implementations
Returns the “default value” for a type. Read more
Performs the conversion.
This method returns an ordering between self
and other
values if one exists. Read more
This method tests less than (for self
and other
) and is used by the <
operator. Read more
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
This method tests greater than (for self
and other
) and is used by the >
operator. Read more
Auto Trait Implementations
impl RefUnwindSafe for EcdsaSignatureEncoding
impl Send for EcdsaSignatureEncoding
impl Sync for EcdsaSignatureEncoding
impl Unpin for EcdsaSignatureEncoding
impl UnwindSafe for EcdsaSignatureEncoding
Blanket Implementations
Mutably borrows from an owned value. Read more