
de.svws_nrw.api.privileged.PrivateKeyCertificateMultipartBody Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of svws-openapi Show documentation
Show all versions of svws-openapi Show documentation
Diese Bibliothek enthält die Java-Server-Definition der OpenApi-Schnittstelle für die Schulverwaltungssoftware in NRW
package de.svws_nrw.api.privileged;
import jakarta.ws.rs.FormParam;
import jakarta.ws.rs.core.MediaType;
import org.jboss.resteasy.annotations.providers.multipart.PartType;
import io.swagger.v3.oas.annotations.media.Schema;
/**
* Der Multipart-Body eines Open-API-Aufrufs mit dem privaten Schlüssel und dem Zertifikat für
* die TLS-Konfiguration des SVWS-Servers.
*/
public class PrivateKeyCertificateMultipartBody {
/** Die Datenbank als Binärdatei. */
@PartType(MediaType.APPLICATION_OCTET_STREAM)
@Schema(type = "string", format = "binary", description = "Der private Schlüssel")
@FormParam("key")
public byte[] key;
/** Die Datenbank als Binärdatei. */
@PartType(MediaType.APPLICATION_OCTET_STREAM)
@Schema(type = "string", format = "binary", description = "Das Zertifikat")
@FormParam("certificate")
public byte[] certificate;
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy