ocpp-standard-schema
Version:
Contains OCPP JSON schemas for validation purposes
43 lines (42 loc) • 1.06 kB
TypeScript
/**
* Used algorithms for the hashes provided.
*
*/
export declare type HashAlgorithmEnumType = 'SHA256' | 'SHA384' | 'SHA512';
export default interface GetCertificateStatusRequest {
customData?: CustomDataType;
ocspRequestData: OCSPRequestDataType;
}
/**
* 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 OCSPRequestDataType {
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;
/**
* This contains the responder URL (Case insensitive).
*
*
*/
responderURL: string;
}