pub struct CertificateSignedRequest {
pub certificate_chain: String,
pub certificate_type: Option<CertificateSigningUseEnumType>,
}
Expand description
CertificateSignedRequest
, sent by the CSMS to the Charging Station.
Fields§
§certificate_chain: String
The signed PEM encoded X.509 certificate. This can also contain the necessary sub CA certificates. In that case, the order of the bundle should follow the certificate chain, starting from the leaf certificate.
The Configuration Variable MaxCertificateChainSize
can be used to limit the
maximum size of this field.
certificate_type: Option<CertificateSigningUseEnumType>
Indicates the type of the signed certificate that is returned. When omitted the certificate is used for both the 15118 connection (if implemented) and the Charging Station to CSMS connection. This field is required when a typeOfCertificate was included in the SignCertificateRequest that requested this certificate to be signed AND both the 15118 connection and the Charging Station connection are implemented.
Trait Implementations§
source§impl Clone for CertificateSignedRequest
impl Clone for CertificateSignedRequest
source§fn clone(&self) -> CertificateSignedRequest
fn clone(&self) -> CertificateSignedRequest
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for CertificateSignedRequest
impl Debug for CertificateSignedRequest
source§impl Default for CertificateSignedRequest
impl Default for CertificateSignedRequest
source§fn default() -> CertificateSignedRequest
fn default() -> CertificateSignedRequest
source§impl<'de> Deserialize<'de> for CertificateSignedRequest
impl<'de> Deserialize<'de> for CertificateSignedRequest
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
source§impl PartialEq for CertificateSignedRequest
impl PartialEq for CertificateSignedRequest
source§fn eq(&self, other: &CertificateSignedRequest) -> bool
fn eq(&self, other: &CertificateSignedRequest) -> bool
self
and other
values to be equal, and is used
by ==
.