| POST | /HoleZertifikatFingerabdruck |
|---|
import 'package:servicestack/servicestack.dart';
import 'dart:typed_data';
/**
* Represents a base class for a file with raw data.
*/
// @Api(Description="Represents a base class for a file with raw data.")
abstract class FileBase
{
/**
* The raw data content of the file in bytes.
*/
// @ApiMember(Description="The raw data content of the file in bytes.", Name="Content")
Uint8List? content;
FileBase({this.content});
FileBase.fromJson(Map<String, dynamic> json) { fromMap(json); }
fromMap(Map<String, dynamic> json) {
content = JsonConverters.fromJson(json['content'],'Uint8List',context!);
return this;
}
Map<String, dynamic> toJson() => {
'content': JsonConverters.toJson(content,'Uint8List',context!)
};
getTypeName() => "FileBase";
TypeContext? context = _ctx;
}
/**
* Represents information about a file or directory.
*/
// @Api(Description="Represents information about a file or directory.")
class FileMetadata implements IFileMetadata, IConvertible
{
/**
* The name of the file.For files, gets the name of the file.For directories, gets the name of the last directory in the hierarchy if a hierarchy exists; otherwise, the name of the directory.
*/
// @ApiMember(Description="The name of the file.\nFor files, gets the name of the file.\nFor directories, gets the name of the last directory in the hierarchy if a hierarchy exists; otherwise, the name of the directory.")
String? name;
/**
* The full path of the directory or file.
*/
// @ApiMember(Description="The full path of the directory or file.")
String? fullName;
/**
* The time the current file or directory was last accessed.
*/
// @ApiMember(Description="The time the current file or directory was last accessed.")
DateTime? lastAccessTime;
/**
* The name of the file.
*/
// @ApiMember(Description="The name of the file.")
DateTime? lastAccessTimeUtc;
/**
* The time when the current file or directory was last written to.
*/
// @ApiMember(Description="The time when the current file or directory was last written to.")
DateTime? lastWriteTime;
/**
* The time, in coordinated universal time (UTC), when the current file or directory was last written to.
*/
// @ApiMember(Description="The time, in coordinated universal time (UTC), when the current file or directory was last written to.")
DateTime? lastWriteTimeUtc;
/**
* The size, in bytes, of the current file.
*/
// @ApiMember(Description="The size, in bytes, of the current file.")
int? length;
/**
* The size, in bytes, of the current file.
*/
// @ApiMember(Description="The size, in bytes, of the current file.")
int? userId;
/**
* The file group id.
*/
// @ApiMember(Description="The file group id.")
int? groupId;
/**
* A value that indicates whether the others can read from this file.
*/
// @ApiMember(Description="A value that indicates whether the others can read from this file.")
bool? othersCanRead;
/**
* A value that indicates whether the group members can execute this file.
*/
// @ApiMember(Description="A value that indicates whether the group members can execute this file.")
bool? groupCanExecute;
/**
* A value that indicates whether the group members can write into this file.
*/
// @ApiMember(Description="A value that indicates whether the group members can write into this file.")
bool? groupCanWrite;
/**
* A value that indicates whether the group members can read from this file.
*/
// @ApiMember(Description="A value that indicates whether the group members can read from this file.")
bool? groupCanRead;
/**
* A value that indicates whether the owner can execute this file.
*/
// @ApiMember(Description="A value that indicates whether the owner can execute this file.")
bool? ownerCanExecute;
/**
* A value that indicates whether the owner can write into this file.
*/
// @ApiMember(Description="A value that indicates whether the owner can write into this file.")
bool? ownerCanWrite;
/**
* A value that indicates whether the owner can read from this file.
*/
// @ApiMember(Description="A value that indicates whether the owner can read from this file.")
bool? ownerCanRead;
/**
* A value that indicates whether others can read from this file.
*/
// @ApiMember(Description="A value that indicates whether others can read from this file.")
bool? othersCanExecute;
/**
* A value that indicates whether others can write into this file.
*/
// @ApiMember(Description="A value that indicates whether others can write into this file.")
bool? othersCanWrite;
/**
* Extensions to the file attributes.
*/
// @ApiMember(Description="Extensions to the file attributes.")
Map<String,String?>? extensions = {};
FileMetadata({this.name,this.fullName,this.lastAccessTime,this.lastAccessTimeUtc,this.lastWriteTime,this.lastWriteTimeUtc,this.length,this.userId,this.groupId,this.othersCanRead,this.groupCanExecute,this.groupCanWrite,this.groupCanRead,this.ownerCanExecute,this.ownerCanWrite,this.ownerCanRead,this.othersCanExecute,this.othersCanWrite,this.extensions});
FileMetadata.fromJson(Map<String, dynamic> json) { fromMap(json); }
fromMap(Map<String, dynamic> json) {
name = json['name'];
fullName = json['fullName'];
lastAccessTime = JsonConverters.fromJson(json['lastAccessTime'],'DateTime',context!);
lastAccessTimeUtc = JsonConverters.fromJson(json['lastAccessTimeUtc'],'DateTime',context!);
lastWriteTime = JsonConverters.fromJson(json['lastWriteTime'],'DateTime',context!);
lastWriteTimeUtc = JsonConverters.fromJson(json['lastWriteTimeUtc'],'DateTime',context!);
length = json['length'];
userId = json['userId'];
groupId = json['groupId'];
othersCanRead = json['othersCanRead'];
groupCanExecute = json['groupCanExecute'];
groupCanWrite = json['groupCanWrite'];
groupCanRead = json['groupCanRead'];
ownerCanExecute = json['ownerCanExecute'];
ownerCanWrite = json['ownerCanWrite'];
ownerCanRead = json['ownerCanRead'];
othersCanExecute = json['othersCanExecute'];
othersCanWrite = json['othersCanWrite'];
extensions = JsonConverters.toStringMap(json['extensions']);
return this;
}
Map<String, dynamic> toJson() => {
'name': name,
'fullName': fullName,
'lastAccessTime': JsonConverters.toJson(lastAccessTime,'DateTime',context!),
'lastAccessTimeUtc': JsonConverters.toJson(lastAccessTimeUtc,'DateTime',context!),
'lastWriteTime': JsonConverters.toJson(lastWriteTime,'DateTime',context!),
'lastWriteTimeUtc': JsonConverters.toJson(lastWriteTimeUtc,'DateTime',context!),
'length': length,
'userId': userId,
'groupId': groupId,
'othersCanRead': othersCanRead,
'groupCanExecute': groupCanExecute,
'groupCanWrite': groupCanWrite,
'groupCanRead': groupCanRead,
'ownerCanExecute': ownerCanExecute,
'ownerCanWrite': ownerCanWrite,
'ownerCanRead': ownerCanRead,
'othersCanExecute': othersCanExecute,
'othersCanWrite': othersCanWrite,
'extensions': extensions
};
getTypeName() => "FileMetadata";
TypeContext? context = _ctx;
}
/**
* Represents a generic file that contains raw data content in bytes
*/
// @Api(Description="Represents a generic file that contains raw data content in bytes")
class BinaryFile extends FileBase implements IConvertible
{
/**
* The attributes of the file.
*/
// @ApiMember(Description="The attributes of the file.")
FileMetadata? metadata;
/**
* The name of the file without information on its directory path.
*/
// @ApiMember(Description="The name of the file without information on its directory path.")
String? name;
BinaryFile({this.metadata,this.name});
BinaryFile.fromJson(Map<String, dynamic> json) { fromMap(json); }
fromMap(Map<String, dynamic> json) {
super.fromMap(json);
metadata = JsonConverters.fromJson(json['metadata'],'FileMetadata',context!);
name = json['name'];
return this;
}
Map<String, dynamic> toJson() => super.toJson()..addAll({
'metadata': JsonConverters.toJson(metadata,'FileMetadata',context!),
'name': name
});
getTypeName() => "BinaryFile";
TypeContext? context = _ctx;
}
/**
* Represents a client-side generated certificate that is protected by a password.
*/
// @Api(Description="Represents a client-side generated certificate that is protected by a password.")
class ClientSideCertificate implements ISecuredCertificate, IConvertible
{
/**
* The friendly name of the certificate.
*/
// @ApiMember(Description="The friendly name of the certificate.", IsRequired=true)
String? name;
/**
* The password to protect the certificate from unauthorized access.
*/
// @StringLength(255)
// @ApiMember(Description="The password to protect the certificate from unauthorized access.", IsRequired=true)
String? pin;
/**
* The file that contains the private key. Access is protected by the PIN.
*/
// @ApiMember(Description="The file that contains the private key. Access is protected by the PIN.", IsRequired=true)
BinaryFile? privateKeyFile;
/**
* The file that contains the certificate data and public key.
*/
// @ApiMember(Description="The file that contains the certificate data and public key.", IsRequired=true)
BinaryFile? publicKeyFile;
/**
* Contains the checksum of the files PublicKeyFile and PrivateKeyFile.
*/
// @ApiMember(Description="Contains the checksum of the files PublicKeyFile and PrivateKeyFile.", IsRequired=true)
BinaryFile? checksumFile;
/**
* The description for the certificate.
*/
// @StringLength(2147483647)
// @ApiMember(Description="The description for the certificate.")
String? description;
/**
* The tags that can be used to label or identify the certificate.
*/
// @ApiMember(Description="The tags that can be used to label or identify the certificate.")
List<String>? tags = [];
ClientSideCertificate({this.name,this.pin,this.privateKeyFile,this.publicKeyFile,this.checksumFile,this.description,this.tags});
ClientSideCertificate.fromJson(Map<String, dynamic> json) { fromMap(json); }
fromMap(Map<String, dynamic> json) {
name = json['name'];
pin = json['pin'];
privateKeyFile = JsonConverters.fromJson(json['privateKeyFile'],'BinaryFile',context!);
publicKeyFile = JsonConverters.fromJson(json['publicKeyFile'],'BinaryFile',context!);
checksumFile = JsonConverters.fromJson(json['checksumFile'],'BinaryFile',context!);
description = json['description'];
tags = JsonConverters.fromJson(json['tags'],'List<String>',context!);
return this;
}
Map<String, dynamic> toJson() => {
'name': name,
'pin': pin,
'privateKeyFile': JsonConverters.toJson(privateKeyFile,'BinaryFile',context!),
'publicKeyFile': JsonConverters.toJson(publicKeyFile,'BinaryFile',context!),
'checksumFile': JsonConverters.toJson(checksumFile,'BinaryFile',context!),
'description': description,
'tags': JsonConverters.toJson(tags,'List<String>',context!)
};
getTypeName() => "ClientSideCertificate";
TypeContext? context = _ctx;
}
abstract class HoleZertifikatFingerabdruckBase implements IPost
{
/**
* The client-side certificate. Access is protected by a PIN.
*/
// @ApiMember(Description="The client-side certificate. Access is protected by a PIN.")
ClientSideCertificate? zertifikat;
HoleZertifikatFingerabdruckBase({this.zertifikat});
HoleZertifikatFingerabdruckBase.fromJson(Map<String, dynamic> json) { fromMap(json); }
fromMap(Map<String, dynamic> json) {
zertifikat = JsonConverters.fromJson(json['zertifikat'],'ClientSideCertificate',context!);
return this;
}
Map<String, dynamic> toJson() => {
'zertifikat': JsonConverters.toJson(zertifikat,'ClientSideCertificate',context!)
};
getTypeName() => "HoleZertifikatFingerabdruckBase";
TypeContext? context = _ctx;
}
/**
* Specifies a service response from an ERiC service operation.
*/
// @Api(Description="Specifies a service response from an ERiC service operation.")
abstract class ServiceReponseBase implements IHasIndex
{
/**
* The unique identifier of the response.
*/
// @ApiMember(Description="The unique identifier of the response.")
String? id;
/**
* The position of the response element in an indexed collection.
*/
// @ApiMember(Description="The position of the response element in an indexed collection.")
int? index;
/**
* Metadata that contains structured error information on the service response.
*/
// @ApiMember(Description="Metadata that contains structured error information on the service response.")
ResponseStatus? responseStatus;
ServiceReponseBase({this.id,this.index,this.responseStatus});
ServiceReponseBase.fromJson(Map<String, dynamic> json) { fromMap(json); }
fromMap(Map<String, dynamic> json) {
id = json['id'];
index = json['index'];
responseStatus = JsonConverters.fromJson(json['responseStatus'],'ResponseStatus',context!);
return this;
}
Map<String, dynamic> toJson() => {
'id': id,
'index': index,
'responseStatus': JsonConverters.toJson(responseStatus,'ResponseStatus',context!)
};
getTypeName() => "ServiceReponseBase";
TypeContext? context = _ctx;
}
/**
* Enumeration of ERiC API error codes.
*/
enum EricFehlerCode
{
ERIC_OK,
ERIC_GLOBAL_UNKNOWN,
ERIC_GLOBAL_PRUEF_FEHLER,
ERIC_GLOBAL_HINWEISE,
ERIC_GLOBAL_FEHLERMELDUNG_NICHT_VORHANDEN,
ERIC_GLOBAL_KEINE_DATEN_VORHANDEN,
ERIC_GLOBAL_NICHT_GENUEGEND_ARBEITSSPEICHER,
ERIC_GLOBAL_DATEI_NICHT_GEFUNDEN,
ERIC_GLOBAL_HERSTELLER_ID_NICHT_ERLAUBT,
ERIC_GLOBAL_ILLEGAL_STATE,
ERIC_GLOBAL_FUNKTION_NICHT_ERLAUBT,
ERIC_GLOBAL_ECHTFALL_NICHT_ERLAUBT,
ERIC_GLOBAL_NO_VERSAND_IN_BETA_VERSION,
ERIC_GLOBAL_TESTMERKER_UNGUELTIG,
ERIC_GLOBAL_DATENSATZ_ZU_GROSS,
ERIC_GLOBAL_VERSCHLUESSELUNGS_PARAMETER_NICHT_ERLAUBT,
ERIC_GLOBAL_NUR_PORTALZERTIFIKAT_ERLAUBT,
ERIC_GLOBAL_ERROR_XML_CREATE,
ERIC_GLOBAL_TEXTPUFFERGROESSE_FIX,
ERIC_GLOBAL_INTERNER_FEHLER,
ERIC_GLOBAL_ARITHMETIKFEHLER,
ERIC_GLOBAL_STEUERNUMMER_UNGUELTIG,
ERIC_GLOBAL_STEUERNUMMER_FALSCHE_LAENGE,
ERIC_GLOBAL_STEUERNUMMER_NICHT_NUMERISCH,
ERIC_GLOBAL_LANDESNUMMER_UNBEKANNT,
ERIC_GLOBAL_BUFANR_UNBEKANNT,
ERIC_GLOBAL_LANDESNUMMER_BUFANR,
ERIC_GLOBAL_PUFFER_ZUGRIFFSKONFLIKT,
ERIC_GLOBAL_PUFFER_UEBERLAUF,
ERIC_GLOBAL_DATENARTVERSION_UNBEKANNT,
ERIC_GLOBAL_DATENARTVERSION_XML_INKONSISTENT,
ERIC_GLOBAL_COMMONDATA_NICHT_VERFUEGBAR,
ERIC_GLOBAL_LOG_EXCEPTION,
ERIC_GLOBAL_TRANSPORTSCHLUESSEL_NICHT_ERLAUBT,
ERIC_GLOBAL_OEFFENTLICHER_SCHLUESSEL_UNGUELTIG,
ERIC_GLOBAL_TRANSPORTSCHLUESSEL_TYP_FALSCH,
ERIC_GLOBAL_PUFFER_UNGLEICHER_INSTANZ,
ERIC_GLOBAL_VORSATZ_UNGUELTIG,
ERIC_GLOBAL_DATEIZUGRIFF_VERWEIGERT,
ERIC_GLOBAL_UNGUELTIGE_INSTANZ,
ERIC_GLOBAL_NICHT_INITIALISIERT,
ERIC_GLOBAL_MEHRFACHE_INITIALISIERUNG,
ERIC_GLOBAL_FEHLER_INITIALISIERUNG,
ERIC_GLOBAL_UNKNOWN_PARAMETER_ERROR,
ERIC_GLOBAL_CHECK_CORRUPTED_NDS,
ERIC_GLOBAL_VERSCHLUESSELUNGS_PARAMETER_NICHT_ANGEGEBEN,
ERIC_GLOBAL_SEND_FLAG_MEHR_ALS_EINES,
ERIC_GLOBAL_UNGUELTIGE_FLAG_KOMBINATION,
ERIC_GLOBAL_UNGUELTIGER_PARAMETER,
ERIC_GLOBAL_DRUCK_FUER_VERFAHREN_NICHT_ERLAUBT,
ERIC_GLOBAL_VERSAND_ART_NICHT_UNTERSTUETZT,
ERIC_GLOBAL_UNGUELTIGE_PARAMETER_VERSION,
ERIC_GLOBAL_TRANSFERHANDLE,
ERIC_GLOBAL_PLUGININITIALISIERUNG,
ERIC_GLOBAL_INKOMPATIBLE_VERSIONEN,
ERIC_GLOBAL_VERSCHLUESSELUNGSVERFAHREN_NICHT_UNTERSTUETZT,
ERIC_GLOBAL_MEHRFACHAUFRUFE_NICHT_UNTERSTUETZT,
ERIC_GLOBAL_UTI_COUNTRY_NOT_SUPPORTED,
ERIC_GLOBAL_IBAN_FORMALER_FEHLER,
ERIC_GLOBAL_IBAN_LAENDERCODE_FEHLER,
ERIC_GLOBAL_IBAN_LANDESFORMAT_FEHLER,
ERIC_GLOBAL_IBAN_PRUEFZIFFER_FEHLER,
ERIC_GLOBAL_BIC_FORMALER_FEHLER,
ERIC_GLOBAL_BIC_LAENDERCODE_FEHLER,
ERIC_GLOBAL_ZULASSUNGSNUMMER_ZU_LANG,
ERIC_GLOBAL_IDNUMMER_UNGUELTIG,
ERIC_GLOBAL_NULL_PARAMETER,
ERIC_GLOBAL_EWAZ_UNGUELTIG,
ERIC_GLOBAL_EWAZ_LANDESKUERZEL_UNBEKANNT,
ERIC_GLOBAL_UPDATE_NECESSARY,
ERIC_GLOBAL_EINSTELLUNG_NAME_UNGUELTIG,
ERIC_GLOBAL_EINSTELLUNG_WERT_UNGUELTIG,
ERIC_GLOBAL_ERR_DEKODIEREN,
ERIC_GLOBAL_FUNKTION_NICHT_UNTERSTUETZT,
ERIC_GLOBAL_NUTZDATENTICKETS_NICHT_EINDEUTIG,
ERIC_GLOBAL_NUTZDATENHEADERVERSIONEN_UNEINHEITLICH,
ERIC_GLOBAL_BUNDESLAENDER_UNEINHEITLICH,
ERIC_GLOBAL_ZEITRAEUME_UNEINHEITLICH,
ERIC_GLOBAL_NUTZDATENHEADER_EMPFAENGER_NICHT_KORREKT,
ERIC_TRANSFER_COM_ERROR,
ERIC_TRANSFER_VORGANG_NICHT_UNTERSTUETZT,
ERIC_TRANSFER_ERR_XML_THEADER,
ERIC_TRANSFER_ERR_PARAM,
ERIC_TRANSFER_ERR_DATENTEILENDNOTFOUND,
ERIC_TRANSFER_ERR_BEGINDATENLIEFERANT,
ERIC_TRANSFER_ERR_ENDDATENLIEFERANT,
ERIC_TRANSFER_ERR_BEGINTRANSPORTSCHLUESSEL,
ERIC_TRANSFER_ERR_ENDTRANSPORTSCHLUESSEL,
ERIC_TRANSFER_ERR_BEGINDATENGROESSE,
ERIC_TRANSFER_ERR_ENDDATENGROESSE,
ERIC_TRANSFER_ERR_SEND,
ERIC_TRANSFER_ERR_NOTENCRYPTED,
ERIC_TRANSFER_ERR_PROXYCONNECT,
ERIC_TRANSFER_ERR_CONNECTSERVER,
ERIC_TRANSFER_ERR_NORESPONSE,
ERIC_TRANSFER_ERR_PROXYAUTH,
ERIC_TRANSFER_ERR_SEND_INIT,
ERIC_TRANSFER_ERR_TIMEOUT,
ERIC_TRANSFER_ERR_PROXYPORT_INVALID,
ERIC_TRANSFER_ERR_OTHER,
ERIC_TRANSFER_ERR_XML_NHEADER,
ERIC_TRANSFER_ERR_XML_ENCODING,
ERIC_TRANSFER_ERR_ENDSIGUSER,
ERIC_TRANSFER_ERR_XMLTAG_NICHT_GEFUNDEN,
ERIC_TRANSFER_ERR_DATENTEILFEHLER,
ERIC_TRANSFER_EID_ZERTIFIKATFEHLER,
ERIC_TRANSFER_EID_KEINKONTO,
ERIC_TRANSFER_EID_IDNRNICHTEINDEUTIG,
ERIC_TRANSFER_EID_SERVERFEHLER,
ERIC_TRANSFER_EID_KEINCLIENT,
ERIC_TRANSFER_EID_CLIENTFEHLER,
ERIC_TRANSFER_EID_FEHLENDEFELDER,
ERIC_TRANSFER_EID_IDENTIFIKATIONABGEBROCHEN,
ERIC_TRANSFER_EID_NPABLOCKIERT,
ERIC_CRYPT_ERROR_CREATE_KEY,
ERIC_CRYPT_E_INVALID_HANDLE,
ERIC_CRYPT_E_MAX_SESSION,
ERIC_CRYPT_E_BUSY,
ERIC_CRYPT_E_OUT_OF_MEM,
ERIC_CRYPT_E_PSE_PATH,
ERIC_CRYPT_E_PIN_WRONG,
ERIC_CRYPT_E_PIN_LOCKED,
ERIC_CRYPT_E_P7_READ,
ERIC_CRYPT_E_P7_DECODE,
ERIC_CRYPT_E_P7_RECIPIENT,
ERIC_CRYPT_E_P12_READ,
ERIC_CRYPT_E_P12_DECODE,
ERIC_CRYPT_E_P12_SIG_KEY,
ERIC_CRYPT_E_P12_ENC_KEY,
ERIC_CRYPT_E_P11_SIG_KEY,
ERIC_CRYPT_E_P11_ENC_KEY,
ERIC_CRYPT_E_XML_PARSE,
ERIC_CRYPT_E_XML_SIG_ADD,
ERIC_CRYPT_E_XML_SIG_TAG,
ERIC_CRYPT_E_XML_SIG_SIGN,
ERIC_CRYPT_E_ENCODE_UNKNOWN,
ERIC_CRYPT_E_ENCODE_ERROR,
ERIC_CRYPT_E_XML_INIT,
ERIC_CRYPT_E_ENCRYPT,
ERIC_CRYPT_E_DECRYPT,
ERIC_CRYPT_E_P11_SLOT_EMPTY,
ERIC_CRYPT_E_NO_SIG_ENC_KEY,
ERIC_CRYPT_E_LOAD_DLL,
ERIC_CRYPT_E_NO_SERVICE,
ERIC_CRYPT_E_ESICL_EXCEPTION,
ERIC_CRYPT_E_ESIGNER_NICHT_GELADEN,
ERIC_CRYPT_E_INKOMPATIBLE_ESIGNER_VERSION,
ERIC_CRYPT_E_VERALTETE_ESIGNER_VERSION,
ERIC_CRYPT_E_TOKEN_TYPE_MISMATCH,
ERIC_CRYPT_E_P12_CREATE,
ERIC_CRYPT_E_VERIFY_CERT_CHAIN,
ERIC_CRYPT_E_P11_ENGINE_LOADED,
ERIC_CRYPT_E_USER_CANCEL,
ERIC_CRYPT_ZERTIFIKAT,
ERIC_CRYPT_SIGNATUR,
ERIC_CRYPT_NICHT_UNTERSTUETZTES_PSE_FORMAT,
ERIC_CRYPT_PIN_BENOETIGT,
ERIC_CRYPT_PIN_STAERKE_NICHT_AUSREICHEND,
ERIC_CRYPT_E_INTERN,
ERIC_CRYPT_ZERTIFIKATSPFAD_KEIN_VERZEICHNIS,
ERIC_CRYPT_ZERTIFIKATSDATEI_EXISTIERT_BEREITS,
ERIC_CRYPT_PIN_ENTHAELT_UNGUELTIGE_ZEICHEN,
ERIC_CRYPT_CORRUPTED,
ERIC_CRYPT_EIDKARTE_NICHT_UNTERSTUETZT,
ERIC_CRYPT_E_SC_SLOT_EMPTY,
ERIC_CRYPT_E_SC_NO_APPLET,
ERIC_CRYPT_E_SC_SESSION,
ERIC_CRYPT_E_P11_NO_SIG_CERT,
ERIC_CRYPT_E_P11_INIT_FAILED,
ERIC_CRYPT_E_P11_NO_ENC_CERT,
ERIC_CRYPT_E_P12_NO_SIG_CERT,
ERIC_CRYPT_E_P12_NO_ENC_CERT,
ERIC_CRYPT_E_SC_ENC_KEY,
ERIC_CRYPT_E_SC_NO_SIG_CERT,
ERIC_CRYPT_E_SC_NO_ENC_CERT,
ERIC_CRYPT_E_SC_INIT_FAILED,
ERIC_CRYPT_E_SC_SIG_KEY,
ERIC_CRYPT_E_DATA_NOT_INITIALIZED,
ERIC_CRYPT_E_ASN1_READ_BUFFER_TOO_SMALL,
ERIC_CRYPT_E_ASN1_READ_DATA_INCOMPLETE,
ERIC_CRYPT_E_ASN1_NO_ENVELOPED_DATA,
ERIC_CRYPT_E_ASN1_NO_CONTENT_DATA,
ERIC_IO_FEHLER,
ERIC_IO_DATEI_INKORREKT,
ERIC_IO_PARSE_FEHLER,
ERIC_IO_NDS_GENERIERUNG_FEHLGESCHLAGEN,
ERIC_IO_MASTERDATENSERVICE_NICHT_VERFUEGBAR,
ERIC_IO_STEUERZEICHEN_IM_NDS,
ERIC_IO_VERSIONSINFORMATIONEN_NICHT_GEFUNDEN,
ERIC_IO_FALSCHES_VERFAHREN,
ERIC_IO_READER_MEHRFACHE_STEUERFAELLE,
ERIC_IO_READER_UNERWARTETE_ELEMENTE,
ERIC_IO_READER_FORMALE_FEHLER,
ERIC_IO_READER_FALSCHES_ENCODING,
ERIC_IO_READER_MEHRFACHE_NUTZDATEN_ELEMENTE,
ERIC_IO_READER_MEHRFACHE_NUTZDATENBLOCK_ELEMENTE,
ERIC_IO_UNBEKANNTE_DATENART,
ERIC_IO_READER_UNTERSACHBEREICH_UNGUELTIG,
ERIC_IO_READER_ZU_VIELE_NUTZDATENBLOCK_ELEMENTE,
ERIC_IO_READER_STEUERZEICHEN_IM_TRANSFERHEADER,
ERIC_IO_READER_STEUERZEICHEN_IM_NUTZDATENHEADER,
ERIC_IO_READER_STEUERZEICHEN_IN_DEN_NUTZDATEN,
ERIC_IO_READER_RABE_FEHLER,
ERIC_IO_READER_KEINE_RABEID,
ERIC_IO_READER_RABEID_UNGUELTIG,
ERIC_IO_READER_RABE_VERIFIKATIONSID_UNGUELTIG,
ERIC_IO_READER_RABE_REFERENZID_UNGUELTIG,
ERIC_IO_READER_RABE_REFERENZID_NICHT_ERLAUBT,
ERIC_IO_READER_RABE_REFERENZIDS_NICHT_EINDEUTIG,
ERIC_IO_READER_ZU_VIELE_ANHAENGE,
ERIC_IO_READER_ANHANG_ZU_GROSS,
ERIC_IO_READER_ANHAENGE_ZU_GROSS,
ERIC_IO_READER_ANHANG_ZU_KLEIN,
ERIC_IO_READER_SCHEMA_VALIDIERUNGSFEHLER,
ERIC_IO_READER_UNBEKANNTE_XML_ENTITY,
ERIC_IO_TESTHERSTELLERID_GESPERRT,
ERIC_IO_DATENTEILNOTFOUND,
ERIC_IO_DATENTEILENDNOTFOUND,
ERIC_IO_UEBERGABEPARAMETER_FEHLERHAFT,
ERIC_IO_UNGUELTIGE_UTF8_SEQUENZ,
ERIC_IO_UNGUELTIGE_ZEICHEN_IN_PARAMETER,
ERIC_PRINT_INTERNER_FEHLER,
ERIC_PRINT_DRUCKVORLAGE_NICHT_GEFUNDEN,
ERIC_PRINT_UNGUELTIGER_DATEI_PFAD,
ERIC_PRINT_INITIALISIERUNG_FEHLERHAFT,
ERIC_PRINT_AUSGABEZIEL_UNBEKANNT,
ERIC_PRINT_ABBRUCH_DRUCKVORBEREITUNG,
ERIC_PRINT_ABBRUCH_GENERIERUNG,
ERIC_PRINT_STEUERFALL_NICHT_UNTERSTUETZT,
ERIC_PRINT_FUSSTEXT_ZU_LANG,
ERIC_PRINT_PDFCALLBACK,
}
/**
* 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.")
class EricFehlerCodeResponse extends ServiceReponseBase implements IConvertible
{
/**
* The status code that the ERiC API function returns.
*/
// @ApiMember(Description="The status code that the ERiC API function returns.")
EricFehlerCode? statusCode;
/**
* The status message that the ERiC API function returns.
*/
// @ApiMember(Description="The status message that the ERiC API function returns.")
String? statusText;
EricFehlerCodeResponse({this.statusCode,this.statusText});
EricFehlerCodeResponse.fromJson(Map<String, dynamic> json) { fromMap(json); }
fromMap(Map<String, dynamic> json) {
super.fromMap(json);
statusCode = JsonConverters.fromJson(json['statusCode'],'EricFehlerCode',context!);
statusText = json['statusText'];
return this;
}
Map<String, dynamic> toJson() => super.toJson()..addAll({
'statusCode': JsonConverters.toJson(statusCode,'EricFehlerCode',context!),
'statusText': statusText
});
getTypeName() => "EricFehlerCodeResponse";
TypeContext? context = _ctx;
}
/**
* Represents a type that encapsulates the return values of the ERiC API function, which retrieves the fingerprint of a specified certificate.
*/
// @Api(Description="Represents a type that encapsulates the return values of the ERiC API function, which retrieves the fingerprint of a specified certificate.")
class HoleZertifikatFingerabdruckResponse extends EricFehlerCodeResponse implements IConvertible
{
/**
* The fingerprint of the return type.
*/
// @ApiMember(Description="The fingerprint of the return type.")
String? fingerabdruck;
/**
* The signature of the return type.
*/
// @ApiMember(Description="The signature of the return type.")
String? signatur;
HoleZertifikatFingerabdruckResponse({this.fingerabdruck,this.signatur});
HoleZertifikatFingerabdruckResponse.fromJson(Map<String, dynamic> json) { fromMap(json); }
fromMap(Map<String, dynamic> json) {
super.fromMap(json);
fingerabdruck = json['fingerabdruck'];
signatur = json['signatur'];
return this;
}
Map<String, dynamic> toJson() => super.toJson()..addAll({
'fingerabdruck': fingerabdruck,
'signatur': signatur
});
getTypeName() => "HoleZertifikatFingerabdruckResponse";
TypeContext? context = _ctx;
}
/**
* An asynchronous service to get the fingerprint of a specified client-side certificate
*/
// @Api(Description="An asynchronous service to get the fingerprint of a specified client-side certificate")
class HoleZertifikatFingerabdruckAsync extends HoleZertifikatFingerabdruckBase implements IConvertible
{
HoleZertifikatFingerabdruckAsync();
HoleZertifikatFingerabdruckAsync.fromJson(Map<String, dynamic> json) : super.fromJson(json);
fromMap(Map<String, dynamic> json) {
super.fromMap(json);
return this;
}
Map<String, dynamic> toJson() => super.toJson();
getTypeName() => "HoleZertifikatFingerabdruckAsync";
TypeContext? context = _ctx;
}
TypeContext _ctx = TypeContext(library: 'taxfiling.staging.pwc.de', types: <String, TypeInfo> {
'FileBase': TypeInfo(TypeOf.AbstractClass),
'Uint8List': TypeInfo(TypeOf.Class, create:() => Uint8List(0)),
'FileMetadata': TypeInfo(TypeOf.Class, create:() => FileMetadata()),
'BinaryFile': TypeInfo(TypeOf.Class, create:() => BinaryFile()),
'ClientSideCertificate': TypeInfo(TypeOf.Class, create:() => ClientSideCertificate()),
'HoleZertifikatFingerabdruckBase': TypeInfo(TypeOf.AbstractClass),
'ServiceReponseBase': TypeInfo(TypeOf.AbstractClass),
'EricFehlerCode': TypeInfo(TypeOf.Enum, enumValues:EricFehlerCode.values),
'EricFehlerCodeResponse': TypeInfo(TypeOf.Class, create:() => EricFehlerCodeResponse()),
'HoleZertifikatFingerabdruckResponse': TypeInfo(TypeOf.Class, create:() => HoleZertifikatFingerabdruckResponse()),
'HoleZertifikatFingerabdruckAsync': TypeInfo(TypeOf.Class, create:() => HoleZertifikatFingerabdruckAsync()),
});
Dart HoleZertifikatFingerabdruckAsync DTOs
To override the Content-type in your clients, use the HTTP Accept Header, append the .json suffix or ?format=json
To embed the response in a jsonp callback, append ?callback=myCallback
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
POST /HoleZertifikatFingerabdruck HTTP/1.1
Host: taxfiling.staging.pwc.de
Accept: application/json
Content-Type: application/json
Content-Length: length
{"zertifikat":{"name":"String","pin":"String","privateKeyFile":{"metadata":{"name":"String","fullName":"String","lastAccessTime":"\/Date(-62135596800000-0000)\/","lastAccessTimeUtc":"\/Date(-62135596800000-0000)\/","lastWriteTime":"\/Date(-62135596800000-0000)\/","lastWriteTimeUtc":"\/Date(-62135596800000-0000)\/","length":0,"userId":0,"groupId":0,"othersCanRead":false,"groupCanExecute":false,"groupCanWrite":false,"groupCanRead":false,"ownerCanExecute":false,"ownerCanWrite":false,"ownerCanRead":false,"othersCanExecute":false,"othersCanWrite":false,"extensions":{"String":"String"}},"name":"String","content":"AA=="},"publicKeyFile":{"metadata":{"name":"String","fullName":"String","lastAccessTime":"\/Date(-62135596800000-0000)\/","lastAccessTimeUtc":"\/Date(-62135596800000-0000)\/","lastWriteTime":"\/Date(-62135596800000-0000)\/","lastWriteTimeUtc":"\/Date(-62135596800000-0000)\/","length":0,"userId":0,"groupId":0,"othersCanRead":false,"groupCanExecute":false,"groupCanWrite":false,"groupCanRead":false,"ownerCanExecute":false,"ownerCanWrite":false,"ownerCanRead":false,"othersCanExecute":false,"othersCanWrite":false,"extensions":{"String":"String"}},"name":"String","content":"AA=="},"checksumFile":{"metadata":{"name":"String","fullName":"String","lastAccessTime":"\/Date(-62135596800000-0000)\/","lastAccessTimeUtc":"\/Date(-62135596800000-0000)\/","lastWriteTime":"\/Date(-62135596800000-0000)\/","lastWriteTimeUtc":"\/Date(-62135596800000-0000)\/","length":0,"userId":0,"groupId":0,"othersCanRead":false,"groupCanExecute":false,"groupCanWrite":false,"groupCanRead":false,"ownerCanExecute":false,"ownerCanWrite":false,"ownerCanRead":false,"othersCanExecute":false,"othersCanWrite":false,"extensions":{"String":"String"}},"name":"String","content":"AA=="},"description":"String","tags":["String"]}}
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: length
{"fingerabdruck":"String","signatur":"String","statusCode":"ERIC_OK","statusText":"String","id":"String","index":0,"responseStatus":{"errorCode":"String","message":"String","stackTrace":"String","errors":[{"errorCode":"String","fieldName":"String","message":"String","meta":{"String":"String"}}],"meta":{"String":"String"}}}