wip: Create demo endpoint for retrieving private keys
Some checks failed
Build / build (pull_request) Successful in 1m7s
Check formatting / check-formatting (pull_request) Failing after 17s

This commit is contained in:
Magnus Leßmann (@Mark.TwoFive) 2025-06-21 00:41:36 +02:00
parent 8a843dc300
commit 532d37ce81
Signed by: Mark.TwoFive
GPG key ID: 58204042FE30B10C
2 changed files with 48 additions and 0 deletions

View file

@ -0,0 +1,11 @@
package de.mlessmann.certassist.web.dto;
import com.fasterxml.jackson.annotation.JsonProperty;
import io.swagger.v3.oas.annotations.media.Schema;
@Schema(description = "Represents the private key of a certificate.")
public record PrivateKey(
@JsonProperty
@Schema(description = "The content of the private key as it would be in a .pem file.")
String pemContent) {
}