UNPKG

ocpp-messages

Version:

TypeScript definitions for Open Charge Point Protocol (OCPP)

45 lines (42 loc) 1.15 kB
/* tslint:disable */ /** * This file was automatically generated by json-schema-to-typescript. * DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file, * and run json-schema-to-typescript to regenerate this file. */ /** * Used algorithms for the hashes provided. * */ export type HashAlgorithmEnumType = "SHA256" | "SHA384" | "SHA512"; export interface UrnOCPPCp220203DeleteCertificateRequest { customData?: CustomDataType; certificateHashData: CertificateHashDataType; } /** * This class does not get 'AdditionalProperties = false' in the schema generation, so it can be extended with arbitrary JSON properties to allow adding custom data. */ export interface CustomDataType { vendorId: string; [k: string]: unknown; } export interface CertificateHashDataType { customData?: CustomDataType; hashAlgorithm: HashAlgorithmEnumType; /** * Hashed value of the Issuer DN (Distinguished Name). * * */ issuerNameHash: string; /** * Hashed value of the issuers public key * */ issuerKeyHash: string; /** * The serial number of the certificate. * */ serialNumber: string; }