package
0.18.2
Repository: https://github.com/glcharge/ocpp-go.git
Documentation: pkg.go.dev

# Functions

Creates a new CertificateSignedRequest, containing all required fields.
Creates a new CertificateSignedResponse, containing all required fields.
Creates a new SecurityEventNotificationRequest, containing all required fields.
Creates a new SecurityEventNotificationResponse, which doesn't contain any required or optional fields.
Creates a new SignCertificateRequest, containing all required fields.
Creates a new SignCertificateResponse, containing all required fields.

# Constants

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Variables

No description provided by the author

# Structs

During the a certificate update procedure, the CSMS sends a new certificate, signed by a CA, to the Charging Station with a CertificateSignedRequest.
The field definition of the CertificateSignedRequest PDU sent by the CSMS to the Charging Station.
The field definition of the CertificateSignedResponse payload sent by the Charging Station to the CSMS in response to a CertificateSignedRequest.
In case of critical security events, a Charging Station may immediately inform the CSMS of such events, via a SecurityEventNotificationRequest.
The field definition of the SecurityEventNotification request payload sent by the Charging Station to the CSMS.
This field definition of the SecurityEventNotification response payload, sent by the CSMS to the Charging Station in response to a SecurityEventNotificationRequest.
If a Charging Station detected, that its certificate is due to expire, it will generate a new public/private key pair, then send a SignCertificateRequest to the CSMS containing a valid Certificate Signing Request.
The field definition of the SignCertificate request payload sent by the Charging Station to the CSMS.
This field definition of the SignCertificate response payload, sent by the CSMS to the Charging Station in response to a SignCertificateRequest.

# Interfaces

Needs to be implemented by Charging stations for handling messages part of the OCPP 2.0 Security profile.
Needs to be implemented by a CSMS for handling messages part of the OCPP 2.0 Security profile.

# Type aliases

Status returned in response to CertificateSignedRequest, that indicates whether certificate signing has been accepted or rejected.