wip: Create demo endpoint for retrieving private keys
This commit is contained in:
parent
8a843dc300
commit
532d37ce81
2 changed files with 48 additions and 0 deletions
|
@ -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) {
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue