Skip to content

Commit

Permalink
Added support for extra GetKeyPairResult parameter
Browse files Browse the repository at this point in the history
Signed-off-by: AssemblyJohn <ioan.bogdann@gmail.com>
  • Loading branch information
AssemblyJohn committed Jan 24, 2024
1 parent e2077b7 commit 1a2c523
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
2 changes: 2 additions & 0 deletions modules/EvseSecurity/conversions.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -190,6 +190,7 @@ evse_security::KeyPair from_everest(types::evse_security::KeyPair other) {
evse_security::KeyPair lhs;
lhs.key = other.key;
lhs.certificate = other.certificate;
lhs.certificate_single = other.certificate_single;
lhs.password = other.password;
return lhs;
}
Expand Down Expand Up @@ -393,6 +394,7 @@ types::evse_security::KeyPair to_everest(evse_security::KeyPair other) {
types::evse_security::KeyPair lhs;
lhs.key = other.key;
lhs.certificate = other.certificate;
lhs.certificate_single = other.certificate_single;
lhs.password = other.password;
return lhs;
}
Expand Down
6 changes: 5 additions & 1 deletion types/evse_security.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -176,12 +176,16 @@ types:
required:
- key
- certificate
- certificate_single
properties:
key:
description: The path of the PEM or DER encoded private key
type: string
certificate:
description: The path of the PEM or DER encoded certificate
description: The path of the PEM or DER encoded certificate chain
type: string
certificate_single:
description: The path of the PEM or DER encoded single certificate
type: string
password:
description: Specifies the password for the private key if encrypted
Expand Down

0 comments on commit 1a2c523

Please sign in to comment.