/* Options: Date: 2026-01-25 03:22:26 Version: 8.90 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://taxfiling.staging.pwc.de //Package: //GlobalNamespace: dtos //AddPropertyAccessors: True //SettersReturnThis: True //AddServiceStackTypes: True //AddResponseStatus: False //AddDescriptionAsComments: True //AddImplicitVersion: IncludeTypes: HolePortalZertifikatEigenschaften.* //ExcludeTypes: //TreatTypesAsStrings: //DefaultImports: java.math.*,java.util.*,java.io.InputStream,net.servicestack.client.* */ import java.math.*; import java.util.*; import java.io.InputStream; import net.servicestack.client.*; public class dtos { /** * A synchronous service to get the properties of a specified portal certificate. */ @Route(Path="/HolePortalZertifikatEigenschaften", Verbs="POST") @Api(Description="A synchronous service to get the properties of a specified portal certificate.") public static class HolePortalZertifikatEigenschaften extends HolePortalZertifikatEigenschaftenBase implements IReturn { private static Object responseType = HoleZertifikatEigenschaftenResponse.class; public Object getResponseType() { return responseType; } } /** * Represents a type that encapsulates the return values of the ERiC API function, which retrieves the details of a certificate. */ @Api(Description="Represents a type that encapsulates the return values of the ERiC API function, which retrieves the details of a certificate.") public static class HoleZertifikatEigenschaftenResponse extends EricFehlerCodeResponse { /** * The list of test fiscal authoririties. */ @ApiMember(Description="The list of test fiscal authoririties.") public EricHoleZertifikatEigenschaften rueckgabe = null; public EricHoleZertifikatEigenschaften getRueckgabe() { return rueckgabe; } public HoleZertifikatEigenschaftenResponse setRueckgabe(EricHoleZertifikatEigenschaften value) { this.rueckgabe = value; return this; } } /** * Represents a portal certificate that is protected by a password. */ @Api(Description="Represents a portal certificate that is protected by a password.") public static class PortalCertificate extends FileBase implements ISecuredCertificate { /** * The file name of the certificate. */ @ApiMember(Description="The file name of the certificate.") @StringLength(MaximumLength=128) public String name = null; /** * The password to protect the certificate from unauthorized access. */ @StringLength(MaximumLength=255) @ApiMember(Description="The password to protect the certificate from unauthorized access.") public String pin = null; /** * The description of the certificate. */ @StringLength(MaximumLength=2147483647) @ApiMember(Description="The description of the certificate.") public String description = null; /** * Tags that can be used to label or identify the certificate. */ @ApiMember(Description="Tags that can be used to label or identify the certificate.") public ArrayList tags = new ArrayList(); public String getName() { return name; } public PortalCertificate setName(String value) { this.name = value; return this; } public String getPin() { return pin; } public PortalCertificate setPin(String value) { this.pin = value; return this; } public String getDescription() { return description; } public PortalCertificate setDescription(String value) { this.description = value; return this; } public ArrayList getTags() { return tags; } public PortalCertificate setTags(ArrayList value) { this.tags = value; return this; } } /** * A base service to get the properties of a specified portal certificate. */ @Api(Description="A base service to get the properties of a specified portal certificate.") public static class HolePortalZertifikatEigenschaftenBase implements IPost { /** * The portal certificate. */ @ApiMember(Description="The portal certificate.", Name="Zertifikat") public PortalCertificate zertifikat = null; public PortalCertificate getZertifikat() { return zertifikat; } public HolePortalZertifikatEigenschaftenBase setZertifikat(PortalCertificate value) { this.zertifikat = value; return this; } } /** * Represents a list of properties for a specified certificate. */ @Api(Description="Represents a list of properties for a specified certificate.") public static class EricHoleZertifikatEigenschaften { /** * The properties of the certificate used for signing. These are not available for client-side certificates. */ @ApiMember(Description="The properties of the certificate used for signing. These are not available for client-side certificates.") public Zertifikateigenschaften signaturzertifikateigenschaften = null; /** * The properties of certificates used for encryption. */ @ApiMember(Description="The properties of certificates used for encryption.") public Zertifikateigenschaften verschluesselungszertifikateigenschaften = null; public Zertifikateigenschaften getSignaturzertifikateigenschaften() { return signaturzertifikateigenschaften; } public EricHoleZertifikatEigenschaften setSignaturzertifikateigenschaften(Zertifikateigenschaften value) { this.signaturzertifikateigenschaften = value; return this; } public Zertifikateigenschaften getVerschluesselungszertifikateigenschaften() { return verschluesselungszertifikateigenschaften; } public EricHoleZertifikatEigenschaften setVerschluesselungszertifikateigenschaften(Zertifikateigenschaften value) { this.verschluesselungszertifikateigenschaften = value; return this; } } /** * Represents a base class for a file with raw data. */ @Api(Description="Represents a base class for a file with raw data.") public static class FileBase { /** * The raw data content of the file in bytes. */ @ApiMember(Description="The raw data content of the file in bytes.", Name="Content") public byte[] content = null; public byte[] getContent() { return content; } public FileBase setContent(byte[] value) { this.content = value; return this; } } public static interface ISecuredCertificate { public String pin = null; } /** * Represents the characteristics of a certificate. */ @Api(Description="Represents the characteristics of a certificate.") public static class Zertifikateigenschaften { /** * The start validity date of the certificate. */ @ApiMember(Description="The start validity date of the certificate.") public Date ausgestelltAm = null; /** * The expiry date of the certificate. */ @ApiMember(Description="The expiry date of the certificate.") public Date gueltigBis = null; /** * The signing algorithm and Object Identifier (for more information on OIDs, please see 'http://www.oid-info.com/') */ @ApiMember(Description="The signing algorithm and Object Identifier (for more information on OIDs, please see 'http://www.oid-info.com/')") public String signaturalgorithmus = null; /** * The MD5-hash of the public key. */ @ApiMember(Description="The MD5-hash of the public key.") public String publicKeyMD5 = null; /** * The SHA1-hash of the public key. */ @ApiMember(Description="The SHA1-hash of the public key.") public String publicKeySHA1 = null; /** * The key length of the public key in units of bits. For example '2048 bits' */ @ApiMember(Description="The key length of the public key in units of bits. For example '2048 bits'") public Integer publicKeyBitLength = null; /** * The issuer of the certificate. */ @ApiMember(Description="The issuer of the certificate.") public Issuer issuer = null; /** * The subject of the certificate. */ @ApiMember(Description="The subject of the certificate.") public Subjekt subjekt = null; /** * The identification characteristics of the certificate. */ @ApiMember(Description="The identification characteristics of the certificate.") public Identifikationsmerkmaltyp identifikationsmerkmaltyp = null; /** * The type of registrar, to which the key is issued. */ @ApiMember(Description="The type of registrar, to which the key is issued.") public Registrierertyp registrierertyp = null; /** * The type of verification conducted for the person or organisation, to which the certificate is issued. */ @ApiMember(Description="The type of verification conducted for the person or organisation, to which the certificate is issued.") public VerifikationsartTyp verifikationsart = null; /** * The type of token used to create the certificate. */ @ApiMember(Description="The type of token used to create the certificate.") public TokenTyp tokenTyp = null; /** * Is the certificate is a test certificate? True if it is a test certificate; otherwise false. */ @ApiMember(Description="Is the certificate is a test certificate? True if it is a test certificate; otherwise false.") public Boolean testzertifikat = null; public Date getAusgestelltAm() { return ausgestelltAm; } public Zertifikateigenschaften setAusgestelltAm(Date value) { this.ausgestelltAm = value; return this; } public Date getGueltigBis() { return gueltigBis; } public Zertifikateigenschaften setGueltigBis(Date value) { this.gueltigBis = value; return this; } public String getSignaturalgorithmus() { return signaturalgorithmus; } public Zertifikateigenschaften setSignaturalgorithmus(String value) { this.signaturalgorithmus = value; return this; } public String getPublicKeyMD5() { return publicKeyMD5; } public Zertifikateigenschaften setPublicKeyMD5(String value) { this.publicKeyMD5 = value; return this; } public String getPublicKeySHA1() { return publicKeySHA1; } public Zertifikateigenschaften setPublicKeySHA1(String value) { this.publicKeySHA1 = value; return this; } public Integer getPublicKeyBitLength() { return publicKeyBitLength; } public Zertifikateigenschaften setPublicKeyBitLength(Integer value) { this.publicKeyBitLength = value; return this; } public Issuer getIssuer() { return issuer; } public Zertifikateigenschaften setIssuer(Issuer value) { this.issuer = value; return this; } public Subjekt getSubjekt() { return subjekt; } public Zertifikateigenschaften setSubjekt(Subjekt value) { this.subjekt = value; return this; } public Identifikationsmerkmaltyp getIdentifikationsmerkmaltyp() { return identifikationsmerkmaltyp; } public Zertifikateigenschaften setIdentifikationsmerkmaltyp(Identifikationsmerkmaltyp value) { this.identifikationsmerkmaltyp = value; return this; } public Registrierertyp getRegistrierertyp() { return registrierertyp; } public Zertifikateigenschaften setRegistrierertyp(Registrierertyp value) { this.registrierertyp = value; return this; } public VerifikationsartTyp getVerifikationsart() { return verifikationsart; } public Zertifikateigenschaften setVerifikationsart(VerifikationsartTyp value) { this.verifikationsart = value; return this; } public TokenTyp getTokenTyp() { return tokenTyp; } public Zertifikateigenschaften setTokenTyp(TokenTyp value) { this.tokenTyp = value; return this; } public Boolean isTestzertifikat() { return testzertifikat; } public Zertifikateigenschaften setTestzertifikat(Boolean value) { this.testzertifikat = value; return this; } } /** * Represents an issuer of certificates. */ @Api(Description="Represents an issuer of certificates.") public static class Issuer { /** * Details about the issuer of certificates. */ @ApiMember(Description="Details about the issuer of certificates.") public ArrayList infos = new ArrayList(); public ArrayList getInfos() { return infos; } public Issuer setInfos(ArrayList value) { this.infos = value; return this; } } /** * Represents the subject of the certificate. */ @Api(Description="Represents the subject of the certificate.") public static class Subjekt { /** * Details about the subject of the certificate. */ @ApiMember(Description="Details about the subject of the certificate.") public ArrayList infos = new ArrayList(); public ArrayList getInfos() { return infos; } public Subjekt setInfos(ArrayList value) { this.infos = value; return this; } } /** * Represents a type of Identification characteristic. Identification marker that was specified when the certificate was generated. For portal certificates usually tax number or identification number. */ public static enum Identifikationsmerkmaltyp { Unbekannt, Steuernummer, Identifikationsnummer, BzStNummer, Bearbeiternummer, Clienterzeugt; } /** * Represents a type of registrar. Contains informatiom on the type of person or organization, for which a certificate is issued. Often 'Person' or 'Organisation'. */ public static enum Registrierertyp { Unbekannt, Person, Organisation, Rechteverwalter, BzStInland, BzStAusland, BzStKevizz; } /** * Represents a type of verification. Contains information on the verification of a person or organisation by an issuer of certificates. */ public static enum VerifikationsartTyp { Unbekannt, Postweg, Neuerpersonalausweis; } /** * Represents a type of token.Contains information about the type of token used to create a certificate. */ public static enum TokenTyp { Unbekannt, Software, Stick, Karte, Ausweis; } /** * Represent issuer details of a certificate. */ @Api(Description="Represent issuer details of a certificate.") public static class Info { /** * The name of the issuer detail. */ @ApiMember(Description="The name of the issuer detail.") public String name = null; /** * The value of the issuer detail. */ @ApiMember(Description="The value of the issuer detail.") public String wert = null; public String getName() { return name; } public Info setName(String value) { this.name = value; return this; } public String getWert() { return wert; } public Info setWert(String value) { this.wert = value; return this; } } /** * Represent a base response that encapsulate any ERiC API function return value. */ @Api(Description="Represent a base response that encapsulate any ERiC API function return value.") public static class EricFehlerCodeResponse extends ServiceReponseBase { /** * The status code that the ERiC API function returns. */ @ApiMember(Description="The status code that the ERiC API function returns.") public EricFehlerCode statusCode = null; /** * The status message that the ERiC API function returns. */ @ApiMember(Description="The status message that the ERiC API function returns.") public String statusText = null; public EricFehlerCode getStatusCode() { return statusCode; } public EricFehlerCodeResponse setStatusCode(EricFehlerCode value) { this.statusCode = value; return this; } public String getStatusText() { return statusText; } public EricFehlerCodeResponse setStatusText(String value) { this.statusText = value; return this; } } }