diff --git a/src/header.rs b/src/header.rs index ba4b685..b45c191 100644 --- a/src/header.rs +++ b/src/header.rs @@ -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, + /// 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>, /// 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, } }