/* Options: Date: 2026-01-25 16:02:28 Version: 8.90 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://taxfiling.staging.pwc.de //GlobalNamespace: //MakePartial: True //MakeVirtual: True //MakeInternal: False //MakeDataContractsExtensible: False //AddNullableAnnotations: False //AddReturnMarker: True //AddDescriptionAsComments: True //AddDataContractAttributes: False //AddIndexesToDataMembers: False //AddGeneratedCodeAttributes: False //AddResponseStatus: False //AddImplicitVersion: //InitializeCollections: False //ExportValueTypes: False IncludeTypes: HolePortalZertifikatEigenschaften.* //ExcludeTypes: //AddNamespaces: //AddDefaultXmlNamespace: http://schemas.servicestack.net/types */ using System; using System.IO; using System.Collections; using System.Collections.Generic; using System.Runtime.Serialization; using ServiceStack; using ServiceStack.DataAnnotations; using System.Net; using PwC.xEric.Core.Domain.Concretes.Certificates; using PwC.xEric.Core.Services.Contracts.Requests; using PwC.xEric.Core.Domain.Concretes.Models; using PwC.DigitalHub.Utilities.Domain.IO.Contracts; using PwC.xEric.Core.Domain.Contracts.Models; using PwC.xEric.Core.Services.Contracts.Responses; namespace PwC.DigitalHub.Utilities.Domain.IO.Contracts { /// ///Represents a base class for a file with raw data. /// [Api(Description="Represents a base class for a file with raw data.")] public partial 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 virtual byte[] Content { get; set; } } } namespace PwC.xEric.Core.Domain.Concretes.Certificates { /// ///Represents a portal certificate that is protected by a password. /// [Api(Description="Represents a portal certificate that is protected by a password.")] public partial class PortalCertificate : FileBase, ISecuredCertificate { /// ///The file name of the certificate. /// [ApiMember(Description="The file name of the certificate.")] [StringLength(128)] public virtual string Name { get; set; } /// ///The password to protect the certificate from unauthorized access. /// [StringLength(255)] [ApiMember(Description="The password to protect the certificate from unauthorized access.")] public virtual string Pin { get; set; } /// ///The description of the certificate. /// [StringLength(int.MaxValue)] [ApiMember(Description="The description of the certificate.")] public virtual string Description { get; set; } /// ///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 virtual List Tags { get; set; } = []; } } namespace PwC.xEric.Core.Domain.Concretes.Models { /// ///Represents a list of properties for a specified certificate. /// [Api(Description="Represents a list of properties for a specified certificate.")] public partial 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 virtual Zertifikateigenschaften Signaturzertifikateigenschaften { get; set; } /// ///The properties of certificates used for encryption. /// [ApiMember(Description="The properties of certificates used for encryption.")] public virtual Zertifikateigenschaften Verschluesselungszertifikateigenschaften { get; set; } } /// ///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 enum Identifikationsmerkmaltyp { Unbekannt, Steuernummer, Identifikationsnummer, BZStNummer, Bearbeiternummer, Clienterzeugt, } /// ///Represent issuer details of a certificate. /// [Api(Description="Represent issuer details of a certificate.")] public partial class Info { /// ///The name of the issuer detail. /// [ApiMember(Description="The name of the issuer detail.")] public virtual string Name { get; set; } /// ///The value of the issuer detail. /// [ApiMember(Description="The value of the issuer detail.")] public virtual string Wert { get; set; } } /// ///Represents an issuer of certificates. /// [Api(Description="Represents an issuer of certificates.")] public partial class Issuer { /// ///Details about the issuer of certificates. /// [ApiMember(Description="Details about the issuer of certificates.")] public virtual List Infos { get; set; } = []; } /// ///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 enum Registrierertyp { Unbekannt, Person, Organisation, Rechteverwalter, BZStInland, BZStAusland, BZStKevizz, } /// ///Represents the subject of the certificate. /// [Api(Description="Represents the subject of the certificate.")] public partial class Subjekt { /// ///Details about the subject of the certificate. /// [ApiMember(Description="Details about the subject of the certificate.")] public virtual List Infos { get; set; } = []; } /// ///Represents a type of token.Contains information about the type of token used to create a certificate. /// public enum TokenTyp { Unbekannt, Software, Stick, Karte, Ausweis, } /// ///Represents a type of verification. Contains information on the verification of a person or organisation by an issuer of certificates. /// public enum VerifikationsartTyp { Unbekannt, Postweg, Neuerpersonalausweis, } /// ///Represents the characteristics of a certificate. /// [Api(Description="Represents the characteristics of a certificate.")] public partial class Zertifikateigenschaften { /// ///The start validity date of the certificate. /// [ApiMember(Description="The start validity date of the certificate.")] public virtual DateTime? AusgestelltAm { get; set; } /// ///The expiry date of the certificate. /// [ApiMember(Description="The expiry date of the certificate.")] public virtual DateTime? GueltigBis { get; set; } /// ///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 virtual string Signaturalgorithmus { get; set; } /// ///The MD5-hash of the public key. /// [ApiMember(Description="The MD5-hash of the public key.")] public virtual string PublicKeyMD5 { get; set; } /// ///The SHA1-hash of the public key. /// [ApiMember(Description="The SHA1-hash of the public key.")] public virtual string PublicKeySHA1 { get; set; } /// ///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 virtual int PublicKeyBitLength { get; set; } /// ///The issuer of the certificate. /// [ApiMember(Description="The issuer of the certificate.")] public virtual Issuer Issuer { get; set; } /// ///The subject of the certificate. /// [ApiMember(Description="The subject of the certificate.")] public virtual Subjekt Subjekt { get; set; } /// ///The identification characteristics of the certificate. /// [ApiMember(Description="The identification characteristics of the certificate.")] public virtual Identifikationsmerkmaltyp Identifikationsmerkmaltyp { get; set; } /// ///The type of registrar, to which the key is issued. /// [ApiMember(Description="The type of registrar, to which the key is issued.")] public virtual Registrierertyp? Registrierertyp { get; set; } /// ///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 virtual VerifikationsartTyp? Verifikationsart { get; set; } /// ///The type of token used to create the certificate. /// [ApiMember(Description="The type of token used to create the certificate.")] public virtual TokenTyp TokenTyp { get; set; } /// ///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 virtual bool? Testzertifikat { get; set; } } } namespace PwC.xEric.Core.Domain.Contracts.Models { public partial interface ISecuredCertificate { string Pin { get; set; } } } namespace PwC.xEric.Core.Services.Contracts.Requests { /// ///A synchronous service to get the properties of a specified portal certificate. /// [Route("/HolePortalZertifikatEigenschaften", "POST")] [Api(Description="A synchronous service to get the properties of a specified portal certificate.")] public partial class HolePortalZertifikatEigenschaften : HolePortalZertifikatEigenschaftenBase, IReturn { } /// ///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 partial class HolePortalZertifikatEigenschaftenBase : IPost { /// ///The portal certificate. /// [ApiMember(Description="The portal certificate.", Name="Zertifikat")] public virtual PortalCertificate Zertifikat { get; set; } } } namespace PwC.xEric.Core.Services.Contracts.Responses { /// ///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 partial class EricFehlerCodeResponse : ServiceReponseBase { /// ///The status code that the ERiC API function returns. /// [ApiMember(Description="The status code that the ERiC API function returns.")] public virtual EricFehlerCode StatusCode { get; set; } /// ///The status message that the ERiC API function returns. /// [ApiMember(Description="The status message that the ERiC API function returns.")] public virtual string StatusText { get; set; } } /// ///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 partial class HoleZertifikatEigenschaftenResponse : EricFehlerCodeResponse { /// ///The list of test fiscal authoririties. /// [ApiMember(Description="The list of test fiscal authoririties.")] public virtual EricHoleZertifikatEigenschaften Rueckgabe { get; set; } } }