/* Options: Date: 2026-01-25 01:27:42 Version: 8.90 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://taxfiling.staging.pwc.de //Package: //AddServiceStackTypes: True //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True IncludeTypes: HolePortalZertifikatEigenschaften.* //ExcludeTypes: //InitializeCollections: False //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.* /** * 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.") open class HolePortalZertifikatEigenschaften : HolePortalZertifikatEigenschaftenBase(), IReturn { companion object { private val responseType = HoleZertifikatEigenschaftenResponse::class.java } override fun getResponseType(): Any? = HolePortalZertifikatEigenschaften.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.") open class HoleZertifikatEigenschaftenResponse : EricFehlerCodeResponse() { /** * The list of test fiscal authoririties. */ @ApiMember(Description="The list of test fiscal authoririties.") open var rueckgabe:EricHoleZertifikatEigenschaften? = null } /** * Represents a portal certificate that is protected by a password. */ @Api(Description="Represents a portal certificate that is protected by a password.") open class PortalCertificate : FileBase(), ISecuredCertificate { /** * The file name of the certificate. */ @ApiMember(Description="The file name of the certificate.") @StringLength(MaximumLength=128) open var name:String? = null /** * The password to protect the certificate from unauthorized access. */ @StringLength(MaximumLength=255) @ApiMember(Description="The password to protect the certificate from unauthorized access.") override var pin:String? = null /** * The description of the certificate. */ @StringLength(MaximumLength=2147483647) @ApiMember(Description="The description of the certificate.") open var description:String? = 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.") open var tags:ArrayList = ArrayList() } /** * 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.") open class HolePortalZertifikatEigenschaftenBase : IPost { /** * The portal certificate. */ @ApiMember(Description="The portal certificate.", Name="Zertifikat") open var zertifikat:PortalCertificate? = null } /** * Represents a list of properties for a specified certificate. */ @Api(Description="Represents a list of properties for a specified certificate.") open 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.") open var signaturzertifikateigenschaften:Zertifikateigenschaften? = null /** * The properties of certificates used for encryption. */ @ApiMember(Description="The properties of certificates used for encryption.") open var verschluesselungszertifikateigenschaften:Zertifikateigenschaften? = null } /** * Represents a base class for a file with raw data. */ @Api(Description="Represents a base class for a file with raw data.") open class FileBase { /** * The raw data content of the file in bytes. */ @ApiMember(Description="The raw data content of the file in bytes.", Name="Content") open var content:ByteArray? = null } interface ISecuredCertificate { var pin:String? } /** * Represents the characteristics of a certificate. */ @Api(Description="Represents the characteristics of a certificate.") open class Zertifikateigenschaften { /** * The start validity date of the certificate. */ @ApiMember(Description="The start validity date of the certificate.") open var ausgestelltAm:Date? = null /** * The expiry date of the certificate. */ @ApiMember(Description="The expiry date of the certificate.") open var gueltigBis:Date? = 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/')") open var signaturalgorithmus:String? = null /** * The MD5-hash of the public key. */ @ApiMember(Description="The MD5-hash of the public key.") open var publicKeyMD5:String? = null /** * The SHA1-hash of the public key. */ @ApiMember(Description="The SHA1-hash of the public key.") open var publicKeySHA1:String? = 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'") open var publicKeyBitLength:Int? = null /** * The issuer of the certificate. */ @ApiMember(Description="The issuer of the certificate.") open var issuer:Issuer? = null /** * The subject of the certificate. */ @ApiMember(Description="The subject of the certificate.") open var subjekt:Subjekt? = null /** * The identification characteristics of the certificate. */ @ApiMember(Description="The identification characteristics of the certificate.") open var 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.") open var 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.") open var verifikationsart:VerifikationsartTyp? = null /** * The type of token used to create the certificate. */ @ApiMember(Description="The type of token used to create the certificate.") open var 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.") open var testzertifikat:Boolean? = null } /** * Represents an issuer of certificates. */ @Api(Description="Represents an issuer of certificates.") open class Issuer { /** * Details about the issuer of certificates. */ @ApiMember(Description="Details about the issuer of certificates.") open var infos:ArrayList = ArrayList() } /** * Represents the subject of the certificate. */ @Api(Description="Represents the subject of the certificate.") open class Subjekt { /** * Details about the subject of the certificate. */ @ApiMember(Description="Details about the subject of the certificate.") open var infos:ArrayList = ArrayList() } /** * 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. */ enum class 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'. */ enum class 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. */ enum class VerifikationsartTyp { Unbekannt, Postweg, Neuerpersonalausweis, } /** * Represents a type of token.Contains information about the type of token used to create a certificate. */ enum class TokenTyp { Unbekannt, Software, Stick, Karte, Ausweis, } /** * Represent issuer details of a certificate. */ @Api(Description="Represent issuer details of a certificate.") open class Info { /** * The name of the issuer detail. */ @ApiMember(Description="The name of the issuer detail.") open var name:String? = null /** * The value of the issuer detail. */ @ApiMember(Description="The value of the issuer detail.") open var wert:String? = null } /** * 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.") open class EricFehlerCodeResponse : ServiceReponseBase() { /** * The status code that the ERiC API function returns. */ @ApiMember(Description="The status code that the ERiC API function returns.") open var statusCode:EricFehlerCode? = null /** * The status message that the ERiC API function returns. */ @ApiMember(Description="The status message that the ERiC API function returns.") open var statusText:String? = null }