1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
use picky_asn1::wrapper::IntegerAsn1;
use serde::{Deserialize, Serialize};

/// Defined in [RFC 3279](https://tools.ietf.org/html/rfc3279#section-2.2.3)
///
/// ```not_rust
/// Ecdsa-Sig-Value ::= SEQUENCE {
///     r INTEGER,
///     s INTEGER
/// }
/// ```
#[derive(Serialize, Deserialize, Debug, PartialEq, Eq, Clone)]
pub struct EcdsaSignatureValue {
    pub r: IntegerAsn1,
    pub s: IntegerAsn1,
}