ocpp-standard-schema
Version:
Contains OCPP JSON schemas for validation purposes
37 lines (36 loc) • 953 B
TypeScript
/**
* Used algorithms for the hashes provided.
*
*/
export declare type HashAlgorithmEnumType = 'SHA256' | 'SHA384' | 'SHA512';
export default interface DeleteCertificateRequest {
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;
}