/* Options:
Date: 2026-01-25 18:50:38
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: GetPortalCertificatePublicKey.*
//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.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.Contracts.Models
{
public partial interface ISecuredCertificate
{
string Pin { get; set; }
}
}
namespace PwC.xEric.Core.Services.Contracts.Requests
{
///
///A synchronous service to get the public key of the provided portal certificate.
///
[Route("/GetPortalCertificatePublicKey", "POST")]
[Api(Description="A synchronous service to get the public key of the provided portal certificate.")]
public partial class GetPortalCertificatePublicKey
: GetPortalCertificatePublicKeyBase, IReturn
{
}
///
///A base service to get the public key of a password-protected portal certificate.
///
[Api(Description="A base service to get the public key of a password-protected portal certificate.")]
public partial class GetPortalCertificatePublicKeyBase
: IPost
{
///
///The portal certificate.
///
[ApiMember(Description="The portal certificate.")]
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 that retrieves the public key of a given certificate.
///
[Api(Description="Represents a type that encapsulates the return values of the ERiC API function that retrieves the public key of a given certificate.")]
public partial class GetPublicKeyResponse
: EricFehlerCodeResponse
{
///
///The public key of a given certificate.
///
[ApiMember(Description="The public key of a given certificate.")]
public virtual string Rueckgabe { get; set; }
}
}