home-cert-assistant/src/main/java/de/mlessmann/certassist/web/dto/PrivateKey.java
Magnus Leßmann (@Mark.TwoFive) 532d37ce81
Some checks failed
Build / build (pull_request) Successful in 1m7s
Check formatting / check-formatting (pull_request) Failing after 17s
wip: Create demo endpoint for retrieving private keys
2025-06-21 00:41:36 +02:00

11 lines
392 B
Java

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) {
}