13.3.11. evse_security

Types for evse security

EncodingFormat:string
Enum specifies the encoding of certificates or keys
enum:
- DER
- PEM
CaCertificateType:string
Enum specifies the type of a CA certificate
enum:
- V2G
- MO
- CSMS
- MF
LeafCertificateType:string
Enum specifies the type of a leaf certificate
enum:
- CSMS
- V2G
- MF
- MO
CertificateType:string
Enum specifies certificate type of leaf and CA certificates
enum:
- V2GRootCertificate
- MORootCertificate
- CSMSRootCertificate
- V2GCertificateChain
- MFRootCertificate
HashAlgorithm:string
Enum specifies a hash algorithm
enum:
- SHA256
- SHA384
- SHA512
InstallCertificateResult:string
Result of the attempt to install a certificate
enum:
- InvalidSignature
- InvalidCertificateChain
- InvalidFormat
- InvalidCommonName
- NoRootCertificateInstalled
- Expired
- CertificateStoreMaxLengthExceeded
- WriteError
- Accepted
CertificateValidationResult:string
Result of the attempt to validate a certificate
enum:
- Valid
- Expired
- InvalidSignature
- IssuerNotFound
- InvalidLeafSignature
- InvalidChain
- Unknown
DeleteCertificateResult:string
Result of the attempt to delete a certificate
enum:
- Accepted
- Failed
- NotFound
GetInstalledCertificatesStatus:string
Status indicates the result of the attempt to retrieve certificates
enum:
- Accepted
- NotFound
GetCertificateSignRequestStatus:string
Status indicates the result to generate a certificate signing request
enum:
- Accepted
- InvalidRequestedType
- KeyGenError
- GenerationError
GetCertificateInfoStatus:string
Status indicates the result of the attempt to retrieve a certificate
enum:
- Accepted
- Rejected
- NotFound
- NotFoundValid
- PrivateKeyNotFound
CertificateHashData:object
Type specifies the hash data of a certificate
properties:
hash_algorithm:string <required> (evse_security-HashAlgorithm)
Algorithm used for the hashes provided
There is an extended definition for this object here.
issuer_name_hash:string <required>
The hash of the issuer’s distinguished name (DN), calculated over the DER encoding of the issuer’s name field.
issuer_key_hash:string <required>
The hash of the DER encoded public key: the value (excluding tag and length) of the subject public key field
serial_number:string <required>
The string representation of the hexadecimal value of the serial number without the prefix “0x” and without leading zeroes.
CertificateHashDataChain:object
Type specifies the hash data chain of a certificate
properties:
certificate_type:string <required> (evse_security-CertificateType)
Indicates the type of the certificate for which the hash data is provided
There is an extended definition for this object here.
certificate_hash_data:object <required> (evse_security-CertificateHashData)
Contains the hash data of the certificate
There is an extended definition for this object here.
child_certificate_hash_data:array <optional>
Contains the hash data of the child’s certificates

There is an extended definition for this object here.

GetInstalledCertificatesResult:object
Result to a request to retrieve certificates
properties:
Indicates the status of the request
There is an extended definition for this object here.
certificate_hash_data_chain:array <required>
the hashed certificate data for each requested certificates

There is an extended definition for this object here.

OCSPRequestData:object
Type that specifies OCSP data
properties:
certificate_hash_data:object <required> (evse_security-CertificateHashData)
Contains the hash data of the certificate
There is an extended definition for this object here.
responder_url:string <required>
Contains the responder URL
OCSPRequestDataList:object
List of OCSP Request data
properties:
ocsp_request_data_list:array <required>
A list of OCSP request data
array_item:object (evse_security-OCSPRequestData)

There is an extended definition for this object here.

CertificateOCSP:object
OCSP data related to requested the certificates
properties:
hash:object <required> (evse_security-CertificateHashData)
Hash of certificate linked to the provided data
There is an extended definition for this object here.
ocsp_path:string <optional>
OCSP path of the file containing the data
GetCertificateSignRequestResult:object
Response related to a CSR generation
properties:
Status of the request
There is an extended definition for this object here.
csr:string <optional>
PEM encoded certificate signing request
CertificateInfo:object
Type that specifies the paths of a certificate and the respective private key
properties:
key:string <required>
The path of the PEM or DER encoded private key
certificate_root:string <optional>
The PEM of the root certificate that issued this leaf
certificate:string <optional>
The path of the PEM or DER encoded certificate chain
certificate_single:string <optional>
The path of the PEM or DER encoded single certificate
certificate_count:integer <required>
The count of certificates in the chain
password:string <optional>
Specifies the password for the private key if encrypted
ocsp:array <optional>
Certificate related OCSP data, if requested
array_item:object (evse_security-CertificateOCSP)

There is an extended definition for this object here.

GetCertificateInfoResult:object
Response to the command get_leaf_certificate_info
properties:
status:string <required> (evse_security-GetCertificateInfoStatus)
The status of the requested command
There is an extended definition for this object here.
info:object <optional> (evse_security-CertificateInfo)
The requested info
There is an extended definition for this object here.
GetCertificateFullInfoResult:object
Response to the command get_all_valid_certificates_info
properties:
status:string <required> (evse_security-GetCertificateInfoStatus)
The status of the requested command
There is an extended definition for this object here.
info:array <required>
The requested info
array_item:object (evse_security-CertificateInfo)

There is an extended definition for this object here.