UNPKG

@citrineos/data

Version:

The OCPP data module which includes all persistence layer implementation.

30 lines 1.14 kB
// SPDX-FileCopyrightText: 2025 Contributors to the CitrineOS Project // // SPDX-License-Identifier: Apache-2.0 import { CountryNameEnumType, SignatureAlgorithmEnumType } from '../../layers/sequelize/index.js'; export class GenerateCertificateChainRequest { // Fields for generating a certificate // Refer to 1.4.1. Certificate Properties in OCPP 2.0.1 Part 2 selfSigned; organizationName; commonName; keyLength; validBefore; countryName; signatureAlgorithm; pathLen; // The file path to store the generated certificate. filePath; constructor(selfSigned, organizationName, commonName, keyLength, validBefore, countryName, signatureAlgorithm, pathLen, filePath) { this.selfSigned = selfSigned; this.organizationName = organizationName; this.commonName = commonName; this.keyLength = keyLength; this.validBefore = validBefore; this.countryName = countryName; this.signatureAlgorithm = signatureAlgorithm; this.pathLen = pathLen; this.filePath = filePath; } } //# sourceMappingURL=GenerateCertificateChainRequest.js.map