parent
f3566ecd82
commit
de5a1903b0
|
@ -37,6 +37,11 @@ pub struct Header {
|
|||
/// Defined in [RFC7515#4.1.5](https://tools.ietf.org/html/rfc7515#section-4.1.5).
|
||||
#[serde(skip_serializing_if = "Option::is_none")]
|
||||
pub x5u: Option<String>,
|
||||
/// X.509 certificate chain. A Vec of base64 encoded ASN.1 DER certificates.
|
||||
///
|
||||
/// Defined in [RFC7515#](https://tools.ietf.org/html/rfc7515#section-4.1.6).
|
||||
#[serde(skip_serializing_if = "Option::is_none")]
|
||||
pub x5c: Option<Vec<String>>,
|
||||
/// X.509 certificate thumbprint
|
||||
///
|
||||
/// Defined in [RFC7515#4.1.7](https://tools.ietf.org/html/rfc7515#section-4.1.7).
|
||||
|
@ -55,6 +60,7 @@ impl Header {
|
|||
kid: None,
|
||||
x5u: None,
|
||||
x5t: None,
|
||||
x5c: None,
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue