@citrineos/data
Version:
The OCPP data module which includes all persistence layer implementation.
17 lines • 869 B
JavaScript
// SPDX-FileCopyrightText: 2025 Contributors to the CitrineOS Project
//
// SPDX-License-Identifier: Apache-2.0
export class TlsCertificatesRequest {
certificateChain; // file ids for the certificate chain,
// order is leaf certificate followed by the intermediate certificates
privateKey; // file id for the private key corresponding to the leaf certificate in the certificate chain
rootCA; // file id for the root CA to override the default root CAs which are allowed by Mozilla
subCAKey; // file id for the private key of sub CA for signing charging station certificate
constructor(certificateChain, privateKey, rootCA, subCAKey) {
this.certificateChain = certificateChain;
this.privateKey = privateKey;
this.rootCA = rootCA;
this.subCAKey = subCAKey;
}
}
//# sourceMappingURL=TlsCertificatesRequest.js.map