├── .gitignore
├── ERezeptClientSimpleExample
├── ERezeptClientSimpleExample.sln
└── ERezeptClientSimpleExample
│ ├── App.config
│ ├── BrainPoolP256r1EcdhKeyManagement.cs
│ ├── BrainPoolP256r1JwsAlgorithm.cs
│ ├── Connected Services
│ ├── AuthSignatureService
│ │ ├── AuthSignatureService.wsdl
│ │ ├── CertificateServiceCommon.xsd
│ │ ├── ConnectorCommon.xsd
│ │ ├── ConnectorContext.xsd
│ │ ├── ERezeptClientSimpleExample.AuthSignatureService.ExternalAuthenticateResponse.datasource
│ │ ├── ERezeptClientSimpleExample.AuthSignatureService.ExternalAuthenticateResponse1.datasource
│ │ ├── Reference.cs
│ │ ├── Reference.svcmap
│ │ ├── SignatureService.xsd
│ │ ├── TelematikError.xsd
│ │ ├── XAdES.xsd
│ │ ├── configuration.svcinfo
│ │ ├── configuration91.svcinfo
│ │ ├── oasis-dss-core-schema-v1.xsd
│ │ ├── oasis-dssx-1.xsd
│ │ ├── oasis-dssx-11.xsd
│ │ ├── oasis-sstc-saml-schema-assertion-1.xsd
│ │ ├── saml-schema-assertion-2.xsd
│ │ ├── tsl.xsd
│ │ ├── xenc-schema.xsd
│ │ ├── xml.xsd
│ │ └── xmldsig-core-schema.xsd
│ ├── CardService
│ │ ├── CardService.wsdl
│ │ ├── CardService.xsd
│ │ ├── CardServiceCommon.xsd
│ │ ├── ConnectorCommon.xsd
│ │ ├── ConnectorContext.xsd
│ │ ├── ERezeptClientSimpleExample.CardService.ChangePinResponse.datasource
│ │ ├── ERezeptClientSimpleExample.CardService.DisablePinResponse.datasource
│ │ ├── ERezeptClientSimpleExample.CardService.EnablePinResponse.datasource
│ │ ├── ERezeptClientSimpleExample.CardService.GetPinStatusResponse.datasource
│ │ ├── ERezeptClientSimpleExample.CardService.GetPinStatusResponse1.datasource
│ │ ├── ERezeptClientSimpleExample.CardService.PinResponseType.datasource
│ │ ├── ERezeptClientSimpleExample.CardService.UnblockPinResponse.datasource
│ │ ├── ERezeptClientSimpleExample.CardService.VerifyPinResponse.datasource
│ │ ├── ProductInformation.xsd
│ │ ├── Reference.cs
│ │ ├── Reference.svcmap
│ │ ├── TelematikError.xsd
│ │ ├── configuration.svcinfo
│ │ ├── configuration91.svcinfo
│ │ ├── oasis-dss-core-schema-v1.xsd
│ │ ├── oasis-sstc-saml-schema-assertion-1.xsd
│ │ ├── xml.xsd
│ │ └── xmldsig-core-schema.xsd
│ ├── CertificateService
│ │ ├── CertificateService.wsdl
│ │ ├── CertificateService.xsd
│ │ ├── CertificateServiceCommon.xsd
│ │ ├── ConnectorCommon.xsd
│ │ ├── ConnectorContext.xsd
│ │ ├── ERezeptClientSimpleExample.CertificateService.CheckCertificateExpirationResponse.datasource
│ │ ├── ERezeptClientSimpleExample.CertificateService.CheckCertificateExpirationResponse1.datasource
│ │ ├── ERezeptClientSimpleExample.CertificateService.ReadCardCertificateResponse.datasource
│ │ ├── ERezeptClientSimpleExample.CertificateService.ReadCardCertificateResponse1.datasource
│ │ ├── ERezeptClientSimpleExample.CertificateService.VerifyCertificateResponse.datasource
│ │ ├── ERezeptClientSimpleExample.CertificateService.VerifyCertificateResponse1.datasource
│ │ ├── Reference.cs
│ │ ├── Reference.svcmap
│ │ ├── TelematikError.xsd
│ │ ├── configuration.svcinfo
│ │ ├── configuration91.svcinfo
│ │ ├── oasis-dss-core-schema-v1.xsd
│ │ ├── oasis-sstc-saml-schema-assertion-1.xsd
│ │ ├── xml.xsd
│ │ └── xmldsig-core-schema.xsd
│ └── EventService
│ │ ├── CardService.xsd
│ │ ├── CardServiceCommon.xsd
│ │ ├── CardTerminalInfo.xsd
│ │ ├── ConnectorCommon.xsd
│ │ ├── ConnectorContext.xsd
│ │ ├── ERezeptClientSimpleExample.EventService.GetCardTerminalsResponse.datasource
│ │ ├── ERezeptClientSimpleExample.EventService.GetCardTerminalsResponse1.datasource
│ │ ├── ERezeptClientSimpleExample.EventService.GetCardsResponse.datasource
│ │ ├── ERezeptClientSimpleExample.EventService.GetCardsResponse1.datasource
│ │ ├── ERezeptClientSimpleExample.EventService.GetResourceInformationResponse.datasource
│ │ ├── ERezeptClientSimpleExample.EventService.GetResourceInformationResponse1.datasource
│ │ ├── ERezeptClientSimpleExample.EventService.GetSubscriptionResponse.datasource
│ │ ├── ERezeptClientSimpleExample.EventService.GetSubscriptionResponse1.datasource
│ │ ├── ERezeptClientSimpleExample.EventService.RenewSubscriptionsResponse.datasource
│ │ ├── ERezeptClientSimpleExample.EventService.RenewSubscriptionsResponse1.datasource
│ │ ├── ERezeptClientSimpleExample.EventService.SubscribeResponse.datasource
│ │ ├── ERezeptClientSimpleExample.EventService.SubscribeResponse1.datasource
│ │ ├── ERezeptClientSimpleExample.EventService.UnsubscribeResponse.datasource
│ │ ├── ERezeptClientSimpleExample.EventService.UnsubscribeResponse1.datasource
│ │ ├── EventService.wsdl
│ │ ├── EventService.xsd
│ │ ├── ProductInformation.xsd
│ │ ├── Reference.cs
│ │ ├── Reference.svcmap
│ │ ├── TelematikError.xsd
│ │ ├── configuration.svcinfo
│ │ ├── configuration91.svcinfo
│ │ ├── oasis-dss-core-schema-v1.xsd
│ │ ├── oasis-sstc-saml-schema-assertion-1.xsd
│ │ ├── xml.xsd
│ │ └── xmldsig-core-schema.xsd
│ ├── ERezeptClientSimpleExample.csproj
│ ├── ERezeptClientSimpleExample.csproj.user
│ ├── IdpClient.cs
│ ├── Program.cs
│ ├── Properties
│ └── AssemblyInfo.cs
│ ├── ServiceEndpointFactory.cs
│ ├── VAU.cs
│ ├── VAUFixed.cs
│ ├── packages.config
│ └── xsds
│ ├── conn
│ ├── AuthSignatureService.wsdl
│ ├── CardEvents.xsd
│ ├── CardService.wsdl
│ ├── CardService.xsd
│ ├── CardServiceCommon.xsd
│ ├── CardService_v8_1_0.wsdl
│ ├── CardService_v8_1_0.xsd
│ ├── CardService_v8_1_1.wsdl
│ ├── CardService_v8_1_1.xsd
│ ├── CardTerminalInfo.xsd
│ ├── CardTerminalService.wsdl
│ ├── CardTerminalService.xsd
│ ├── CertificateService.wsdl
│ ├── CertificateService.xsd
│ ├── CertificateServiceCommon.xsd
│ ├── ConnectorCommon.xsd
│ ├── ConnectorContext.xsd
│ ├── EncryptionService.wsdl
│ ├── EncryptionService.xsd
│ ├── EventService.wsdl
│ ├── EventService.xsd
│ ├── README.CardService.txt
│ ├── ServiceDirectory.xsd
│ ├── ServiceInformation.xsd
│ ├── SignatureService.wsdl
│ └── SignatureService.xsd
│ ├── ext
│ ├── XAdES.xsd
│ ├── XMLSchema.dtd
│ ├── charset.xsd
│ ├── datatypes.dtd
│ ├── latinchars.xsd
│ ├── oasis-200401-wss-wssecurity-secext-1.0.xsd
│ ├── oasis-200401-wss-wssecurity-utility-1.0.xsd
│ ├── oasis-dss-core-schema-v1.0-os.xsd
│ ├── oasis-dssx-1.0-profiles-sigpolicy-schema-cd01.xsd
│ ├── oasis-dssx-1.0-profiles-vr-cd1.xsd
│ ├── oasis-sstc-saml-schema-assertion-1.1.xsd
│ ├── saml-schema-assertion-2.0.xsd
│ ├── tsl.xsd
│ ├── ws-addr.xsd
│ ├── ws-policy.xsd
│ ├── ws-trust-1.3.xsd
│ ├── xenc-schema-11.xsd
│ ├── xenc-schema.xsd
│ ├── xml.xsd
│ └── xmldsig-core-schema.xsd
│ └── tel
│ ├── error
│ └── TelematikError.xsd
│ └── version
│ └── ProductInformation.xsd
├── Gematik_Logo_Flag_With_Background.png
├── LICENSE
├── README.md
└── SECURITY.md
/.gitignore:
--------------------------------------------------------------------------------
1 | # Prerequisites
2 | *.d
3 |
4 | # Object files
5 | *.o
6 | *.ko
7 | *.obj
8 | *.elf
9 |
10 | # Linker output
11 | *.ilk
12 | *.map
13 | *.exp
14 |
15 | # Precompiled Headers
16 | *.gch
17 | *.pch
18 |
19 | # Libraries
20 | *.lib
21 | *.a
22 | *.la
23 | *.lo
24 |
25 | # Shared objects (inc. Windows DLLs)
26 | *.dll
27 | *.so
28 | *.so.*
29 | *.dylib
30 |
31 | # Executables
32 | *.exe
33 | *.out
34 | *.app
35 | *.i*86
36 | *.x86_64
37 | *.hex
38 |
39 | # Debug files
40 | *.dSYM/
41 | *.su
42 | *.idb
43 | *.pdb
44 |
45 | # Kernel Module Compile Results
46 | *.mod*
47 | *.cmd
48 | .tmp_versions/
49 | modules.order
50 | Module.symvers
51 | Mkfile.old
52 | dkms.conf
53 | /ERezeptClientSimpleExample/ERezeptClientSimpleExample/obj
54 | /ERezeptClientSimpleExample/packages
55 | /ERezeptClientSimpleExample/ERezeptClientSimpleExample/bin
56 | /.vs
57 | /ERezeptClientSimpleExample/.vs
58 |
59 | .idea/
60 |
--------------------------------------------------------------------------------
/ERezeptClientSimpleExample/ERezeptClientSimpleExample.sln:
--------------------------------------------------------------------------------
1 |
2 | Microsoft Visual Studio Solution File, Format Version 12.00
3 | # Visual Studio Version 16
4 | VisualStudioVersion = 16.0.31229.75
5 | MinimumVisualStudioVersion = 10.0.40219.1
6 | Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ERezeptClientSimpleExample", "ERezeptClientSimpleExample\ERezeptClientSimpleExample.csproj", "{778B24F6-32E4-4BE4-B863-36C337574BC8}"
7 | EndProject
8 | Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution Items", "{15E89B3C-2065-4D79-8A0C-E6288434E725}"
9 | ProjectSection(SolutionItems) = preProject
10 | ..\LICENSE = ..\LICENSE
11 | ..\README.md = ..\README.md
12 | EndProjectSection
13 | EndProject
14 | Global
15 | GlobalSection(SolutionConfigurationPlatforms) = preSolution
16 | Debug|Any CPU = Debug|Any CPU
17 | Release|Any CPU = Release|Any CPU
18 | EndGlobalSection
19 | GlobalSection(ProjectConfigurationPlatforms) = postSolution
20 | {778B24F6-32E4-4BE4-B863-36C337574BC8}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
21 | {778B24F6-32E4-4BE4-B863-36C337574BC8}.Debug|Any CPU.Build.0 = Debug|Any CPU
22 | {778B24F6-32E4-4BE4-B863-36C337574BC8}.Release|Any CPU.ActiveCfg = Release|Any CPU
23 | {778B24F6-32E4-4BE4-B863-36C337574BC8}.Release|Any CPU.Build.0 = Release|Any CPU
24 | EndGlobalSection
25 | GlobalSection(SolutionProperties) = preSolution
26 | HideSolutionNode = FALSE
27 | EndGlobalSection
28 | GlobalSection(ExtensibilityGlobals) = postSolution
29 | SolutionGuid = {436FC7F4-C8CB-4787-945F-E8B25CFA37AC}
30 | EndGlobalSection
31 | EndGlobal
32 |
--------------------------------------------------------------------------------
/ERezeptClientSimpleExample/ERezeptClientSimpleExample/App.config:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
20 |
23 |
26 |
29 |
30 |
31 |
--------------------------------------------------------------------------------
/ERezeptClientSimpleExample/ERezeptClientSimpleExample/BrainPoolP256r1JwsAlgorithm.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Linq;
3 | using Jose;
4 | using Org.BouncyCastle.Asn1;
5 | using Org.BouncyCastle.Asn1.X9;
6 | using Org.BouncyCastle.Crypto;
7 | using Org.BouncyCastle.Crypto.Parameters;
8 | using Org.BouncyCastle.Math;
9 | using Org.BouncyCastle.Security;
10 |
11 | namespace ERezeptClientSimpleExample {
12 | ///
13 | /// Plugin für jose-jwt um JWTs mit BrainPool-Curven zur Signaturprüfung zu nutzen Signaturerstellung ist derzeit nicht umgesetzt
14 | ///
15 | public class BrainPoolP256r1JwsAlgorithm : IJwsAlgorithm {
16 | public byte[] Sign(byte[] securedInput, object key) {
17 | throw new NotImplementedException();
18 | }
19 |
20 | public bool Verify(byte[] signature, byte[] securedInput, object key) {
21 | if (key is not ECPublicKeyParameters publicKey) {
22 | throw new ArgumentException("key must be ECPublicKeyParameters");
23 | }
24 |
25 | ISigner signer = SignerUtilities.GetSigner(X9ObjectIdentifiers.ECDsaWithSha256.Id);
26 | signer.Init(false, publicKey);
27 | signer.BlockUpdate(securedInput, 0, securedInput.Length);
28 |
29 | var derSignature = new DerSequence(
30 | // first 32 bytes is "r" number
31 | new DerInteger(new BigInteger(1, signature.Take(32).ToArray())),
32 | // last 32 bytes is "s" number
33 | new DerInteger(new BigInteger(1, signature.Skip(32).ToArray())))
34 | .GetDerEncoded();
35 |
36 | var verifySignature = signer.VerifySignature(derSignature);
37 | return verifySignature;
38 | }
39 | }
40 | }
--------------------------------------------------------------------------------
/ERezeptClientSimpleExample/ERezeptClientSimpleExample/Connected Services/AuthSignatureService/AuthSignatureService.wsdl:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | Copyright (c) 2016, gematik - Gesellschaft für Telematikanwendungen der Gesundheitskarte mbH. Alle Rechte vorbehalten.
5 | Beschreibung: Konnektor Signatur Basisanwendung Authentifizierung
6 | version=7.4.0
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
27 |
28 |
29 |
30 |
31 |
32 |
33 |
34 |
35 |
36 |
37 |
38 |
39 |
40 |
41 |
42 |
43 |
44 |
45 |
46 |
47 |
48 |
49 |
50 |
51 |
--------------------------------------------------------------------------------
/ERezeptClientSimpleExample/ERezeptClientSimpleExample/Connected Services/AuthSignatureService/CertificateServiceCommon.xsd:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | Copyright (c) 2012, gematik - Gesellschaft für Telematikanwendungen der Gesundheitskarte mbH.
6 | Alle Rechte vorbehalten.
7 | Beschreibung: Schema für gemeinsam nutzbare Elemente des Zertifikatsdienstes
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
27 |
28 |
29 |
30 |
31 |
32 |
33 |
34 |
35 |
36 |
37 |
38 |
39 |
40 |
41 |
42 |
43 |
44 |
45 |
46 |
47 |
48 |
49 |
50 |
51 |
52 |
53 |
54 |
55 |
56 |
57 |
58 |
59 |
60 |
61 |
62 |
63 |
64 |
65 |
66 |
67 |
68 |
69 |
70 |
71 |
--------------------------------------------------------------------------------
/ERezeptClientSimpleExample/ERezeptClientSimpleExample/Connected Services/AuthSignatureService/ConnectorContext.xsd:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 | Copyright (c) 2012, gematik - Gesellschaft für Telematikanwendungen der Gesundheitskarte mbH. Alle Rechte vorbehalten.
7 | Beschreibung: Definition des Aufrufkontexts für Dienste des Konnektors.
8 |
9 |
10 |
11 |
12 |
13 |
14 | Die ID des Mandanten.
15 |
16 |
17 |
18 |
19 | Die ID des Clientsystems, von dem bzw. für das der Aufruf des Konnektors erfolgt.
20 | Unter einem Clientsystem wird hier ein einzelnes oder eine Gruppe von Systemen verstanden,
21 | welche im LAN des Leistungserbringers auf die Clientsystem-Schnittstelle des Konnektors zugreifen.
22 |
23 |
24 |
25 |
26 | Die ID des Arbeitsplatzes, von dem bzw. für den der Aufruf des Konnektors erfolgt.
27 | Bei fachlichen Aufrufen ist sie immer erforderlich.
28 |
29 |
30 |
31 |
32 | Die ID des Nutzers im Primärsystem. Ist nur dann erforderlich, falls ein HBA verwendet wird.
33 |
34 |
35 |
36 |
37 |
38 |
--------------------------------------------------------------------------------
/ERezeptClientSimpleExample/ERezeptClientSimpleExample/Connected Services/AuthSignatureService/ERezeptClientSimpleExample.AuthSignatureService.ExternalAuthenticateResponse.datasource:
--------------------------------------------------------------------------------
1 |
2 |
8 |
9 | ERezeptClientSimpleExample.AuthSignatureService.ExternalAuthenticateResponse, Connected Services.AuthSignatureService.Reference.cs.dll, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null
10 |
--------------------------------------------------------------------------------
/ERezeptClientSimpleExample/ERezeptClientSimpleExample/Connected Services/AuthSignatureService/ERezeptClientSimpleExample.AuthSignatureService.ExternalAuthenticateResponse1.datasource:
--------------------------------------------------------------------------------
1 |
2 |
8 |
9 | ERezeptClientSimpleExample.AuthSignatureService.ExternalAuthenticateResponse1, Connected Services.AuthSignatureService.Reference.cs.dll, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null
10 |
--------------------------------------------------------------------------------
/ERezeptClientSimpleExample/ERezeptClientSimpleExample/Connected Services/AuthSignatureService/Reference.svcmap:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | false
5 | true
6 | true
7 |
8 | false
9 | false
10 | false
11 |
12 |
13 | true
14 | Auto
15 | true
16 | true
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
27 |
28 |
29 |
30 |
31 |
32 |
33 |
34 |
35 |
36 |
37 |
38 |
39 |
40 |
41 |
42 |
43 |
44 |
45 |
46 |
--------------------------------------------------------------------------------
/ERezeptClientSimpleExample/ERezeptClientSimpleExample/Connected Services/AuthSignatureService/TelematikError.xsd:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | Copyright (c) 2012, gematik - Gesellschaft für
6 | Telematikanwendungen der Gesundheitskarte mbH. Alle Rechte
7 | vorbehalten.
8 | Beschreibung: Dienst zur Verwaltung der Karten
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
27 |
28 |
29 |
30 |
31 |
32 |
33 |
34 |
35 |
36 |
37 |
38 |
39 |
40 |
41 |
42 |
--------------------------------------------------------------------------------
/ERezeptClientSimpleExample/ERezeptClientSimpleExample/Connected Services/AuthSignatureService/configuration.svcinfo:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
--------------------------------------------------------------------------------
/ERezeptClientSimpleExample/ERezeptClientSimpleExample/Connected Services/AuthSignatureService/oasis-dssx-1.xsd:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
27 |
28 |
29 |
30 |
31 |
32 |
33 |
34 |
35 |
36 |
37 |
38 |
39 |
40 |
41 |
42 |
43 |
44 |
45 |
46 |
47 |
48 |
49 |
50 |
51 |
52 |
53 |
54 |
--------------------------------------------------------------------------------
/ERezeptClientSimpleExample/ERezeptClientSimpleExample/Connected Services/AuthSignatureService/xenc-schema.xsd:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
27 |
28 |
29 |
30 |
31 |
32 |
33 |
34 |
35 |
36 |
37 |
38 |
39 |
40 |
41 |
42 |
43 |
44 |
45 |
46 |
47 |
48 |
49 |
50 |
51 |
52 |
53 |
54 |
55 |
56 |
57 |
58 |
59 |
60 |
61 |
62 |
63 |
64 |
65 |
66 |
67 |
68 |
69 |
70 |
71 |
72 |
73 |
74 |
75 |
76 |
77 |
78 |
79 |
80 |
81 |
82 |
83 |
84 |
85 |
86 |
87 |
88 |
89 |
90 |
91 |
92 |
93 |
94 |
95 |
96 |
97 |
98 |
99 |
100 |
101 |
102 |
103 |
104 |
105 |
106 |
107 |
108 |
109 |
110 |
111 |
112 |
113 |
114 |
115 |
116 |
117 |
118 |
119 |
--------------------------------------------------------------------------------
/ERezeptClientSimpleExample/ERezeptClientSimpleExample/Connected Services/AuthSignatureService/xml.xsd:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | See http://www.w3.org/XML/1998/namespace.html and
6 | http://www.w3.org/TR/REC-xml for information about this namespace.
7 |
8 | This schema document describes the XML namespace, in a form
9 | suitable for import by other schema documents.
10 |
11 | Note that local names in this namespace are intended to be defined
12 | only by the World Wide Web Consortium or its subgroups. The
13 | following names are currently defined in this namespace and should
14 | not be used with conflicting semantics by any Working Group,
15 | specification, or document instance:
16 |
17 | base (as an attribute name): denotes an attribute whose value
18 | provides a URI to be used as the base for interpreting any
19 | relative URIs in the scope of the element on which it
20 | appears; its value is inherited. This name is reserved
21 | by virtue of its definition in the XML Base specification.
22 |
23 | lang (as an attribute name): denotes an attribute whose value
24 | is a language code for the natural language of the content of
25 | any element; its value is inherited. This name is reserved
26 | by virtue of its definition in the XML specification.
27 |
28 | space (as an attribute name): denotes an attribute whose
29 | value is a keyword indicating what whitespace processing
30 | discipline is intended for the content of the element; its
31 | value is inherited. This name is reserved by virtue of its
32 | definition in the XML specification.
33 |
34 | Father (in any context at all): denotes Jon Bosak, the chair of
35 | the original XML Working Group. This name is reserved by
36 | the following decision of the W3C XML Plenary and
37 | XML Coordination groups:
38 |
39 | In appreciation for his vision, leadership and dedication
40 | the W3C XML Plenary on this 10th day of February, 2000
41 | reserves for Jon Bosak in perpetuity the XML name
42 | xml:Father
43 |
44 |
45 |
46 | This schema defines attributes and an attribute group
47 | suitable for use by
48 | schemas wishing to allow xml:base, xml:lang or xml:space attributes
49 | on elements they define.
50 |
51 | To enable this, such a schema must import this schema
52 | for the XML namespace, e.g. as follows:
53 | <schema . . .>
54 | . . .
55 | <import namespace="http://www.w3.org/XML/1998/namespace"
56 | schemaLocation="http://www.w3.org/2001/03/xml.xsd"/>
57 |
58 | Subsequently, qualified reference to any of the attributes
59 | or the group defined below will have the desired effect, e.g.
60 |
61 | <type . . .>
62 | . . .
63 | <attributeGroup ref="xml:specialAttrs"/>
64 |
65 | will define a type which will schema-validate an instance
66 | element with any of those attributes
67 |
68 |
69 | In keeping with the XML Schema WG's standard versioning
70 | policy, this schema document will persist at
71 | http://www.w3.org/2001/03/xml.xsd.
72 | At the date of issue it can also be found at
73 | http://www.w3.org/2001/xml.xsd.
74 | The schema document at that URI may however change in the future,
75 | in order to remain compatible with the latest version of XML Schema
76 | itself. In other words, if the XML Schema namespace changes, the version
77 | of this document at
78 | http://www.w3.org/2001/xml.xsd will change
79 | accordingly; the version at
80 | http://www.w3.org/2001/03/xml.xsd will not change.
81 |
82 |
83 |
84 |
85 | In due course, we should install the relevant ISO 2- and 3-letter
86 | codes as the enumerated possible values . . .
87 |
88 |
89 |
90 |
91 |
92 |
93 |
94 |
95 |
96 |
97 |
98 |
99 | See http://www.w3.org/TR/xmlbase/ for
100 | information about this attribute.
101 |
102 |
103 |
104 |
105 |
106 |
107 |
108 |
--------------------------------------------------------------------------------
/ERezeptClientSimpleExample/ERezeptClientSimpleExample/Connected Services/CardService/CardServiceCommon.xsd:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 | Copyright (c) 2012, gematik - Gesellschaft für
7 | Telematikanwendungen der Gesundheitskarte mbH. Alle Rechte
8 | vorbehalten.
9 | Beschreibung: Enthält Elemente und Typen, die sowohl vom CardService als auch von CardEvents genutzt werden
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
27 |
28 |
29 |
30 |
31 |
32 |
33 |
34 |
35 |
36 |
37 |
38 |
39 |
40 |
41 |
42 |
43 |
44 |
45 |
46 |
47 |
48 |
49 |
50 |
51 |
52 |
53 |
54 |
55 |
56 |
57 |
58 |
59 |
60 |
61 |
62 |
63 |
64 |
65 |
66 |
67 |
68 |
69 |
70 |
71 |
72 |
73 |
74 |
75 |
76 |
77 |
78 |
79 |
80 |
81 |
82 |
--------------------------------------------------------------------------------
/ERezeptClientSimpleExample/ERezeptClientSimpleExample/Connected Services/CardService/ConnectorContext.xsd:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 | Copyright (c) 2012, gematik - Gesellschaft für Telematikanwendungen der Gesundheitskarte mbH. Alle Rechte vorbehalten.
7 | Beschreibung: Definition des Aufrufkontexts für Dienste des Konnektors.
8 |
9 |
10 |
11 |
12 |
13 |
14 | Die ID des Mandanten.
15 |
16 |
17 |
18 |
19 | Die ID des Clientsystems, von dem bzw. für das der Aufruf des Konnektors erfolgt.
20 | Unter einem Clientsystem wird hier ein einzelnes oder eine Gruppe von Systemen verstanden,
21 | welche im LAN des Leistungserbringers auf die Clientsystem-Schnittstelle des Konnektors zugreifen.
22 |
23 |
24 |
25 |
26 | Die ID des Arbeitsplatzes, von dem bzw. für den der Aufruf des Konnektors erfolgt.
27 | Bei fachlichen Aufrufen ist sie immer erforderlich.
28 |
29 |
30 |
31 |
32 | Die ID des Nutzers im Primärsystem. Ist nur dann erforderlich, falls ein HBA verwendet wird.
33 |
34 |
35 |
36 |
37 |
38 |
--------------------------------------------------------------------------------
/ERezeptClientSimpleExample/ERezeptClientSimpleExample/Connected Services/CardService/ERezeptClientSimpleExample.CardService.ChangePinResponse.datasource:
--------------------------------------------------------------------------------
1 |
2 |
8 |
9 | ERezeptClientSimpleExample.CardService.ChangePinResponse, Connected Services.CardService.Reference.cs.dll, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null
10 |
--------------------------------------------------------------------------------
/ERezeptClientSimpleExample/ERezeptClientSimpleExample/Connected Services/CardService/ERezeptClientSimpleExample.CardService.DisablePinResponse.datasource:
--------------------------------------------------------------------------------
1 |
2 |
8 |
9 | ERezeptClientSimpleExample.CardService.DisablePinResponse, Connected Services.CardService.Reference.cs.dll, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null
10 |
--------------------------------------------------------------------------------
/ERezeptClientSimpleExample/ERezeptClientSimpleExample/Connected Services/CardService/ERezeptClientSimpleExample.CardService.EnablePinResponse.datasource:
--------------------------------------------------------------------------------
1 |
2 |
8 |
9 | ERezeptClientSimpleExample.CardService.EnablePinResponse, Connected Services.CardService.Reference.cs.dll, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null
10 |
--------------------------------------------------------------------------------
/ERezeptClientSimpleExample/ERezeptClientSimpleExample/Connected Services/CardService/ERezeptClientSimpleExample.CardService.GetPinStatusResponse.datasource:
--------------------------------------------------------------------------------
1 |
2 |
8 |
9 | ERezeptClientSimpleExample.CardService.GetPinStatusResponse, Connected Services.CardService.Reference.cs.dll, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null
10 |
--------------------------------------------------------------------------------
/ERezeptClientSimpleExample/ERezeptClientSimpleExample/Connected Services/CardService/ERezeptClientSimpleExample.CardService.GetPinStatusResponse1.datasource:
--------------------------------------------------------------------------------
1 |
2 |
8 |
9 | ERezeptClientSimpleExample.CardService.GetPinStatusResponse1, Connected Services.CardService.Reference.cs.dll, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null
10 |
--------------------------------------------------------------------------------
/ERezeptClientSimpleExample/ERezeptClientSimpleExample/Connected Services/CardService/ERezeptClientSimpleExample.CardService.PinResponseType.datasource:
--------------------------------------------------------------------------------
1 |
2 |
8 |
9 | ERezeptClientSimpleExample.CardService.PinResponseType, Connected Services.CardService.Reference.cs.dll, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null
10 |
--------------------------------------------------------------------------------
/ERezeptClientSimpleExample/ERezeptClientSimpleExample/Connected Services/CardService/ERezeptClientSimpleExample.CardService.UnblockPinResponse.datasource:
--------------------------------------------------------------------------------
1 |
2 |
8 |
9 | ERezeptClientSimpleExample.CardService.UnblockPinResponse, Connected Services.CardService.Reference.cs.dll, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null
10 |
--------------------------------------------------------------------------------
/ERezeptClientSimpleExample/ERezeptClientSimpleExample/Connected Services/CardService/ERezeptClientSimpleExample.CardService.VerifyPinResponse.datasource:
--------------------------------------------------------------------------------
1 |
2 |
8 |
9 | ERezeptClientSimpleExample.CardService.VerifyPinResponse, Connected Services.CardService.Reference.cs.dll, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null
10 |
--------------------------------------------------------------------------------
/ERezeptClientSimpleExample/ERezeptClientSimpleExample/Connected Services/CardService/Reference.svcmap:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | false
5 | true
6 | true
7 |
8 | false
9 | false
10 | false
11 |
12 |
13 | true
14 | Auto
15 | true
16 | true
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
27 |
28 |
29 |
30 |
31 |
32 |
33 |
34 |
35 |
36 |
37 |
38 |
39 |
40 |
41 |
--------------------------------------------------------------------------------
/ERezeptClientSimpleExample/ERezeptClientSimpleExample/Connected Services/CardService/TelematikError.xsd:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | Copyright (c) 2012, gematik - Gesellschaft für
6 | Telematikanwendungen der Gesundheitskarte mbH. Alle Rechte
7 | vorbehalten.
8 | Beschreibung: Dienst zur Verwaltung der Karten
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
27 |
28 |
29 |
30 |
31 |
32 |
33 |
34 |
35 |
36 |
37 |
38 |
39 |
40 |
41 |
42 |
--------------------------------------------------------------------------------
/ERezeptClientSimpleExample/ERezeptClientSimpleExample/Connected Services/CardService/configuration.svcinfo:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
--------------------------------------------------------------------------------
/ERezeptClientSimpleExample/ERezeptClientSimpleExample/Connected Services/CardService/xml.xsd:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | See http://www.w3.org/XML/1998/namespace.html and
6 | http://www.w3.org/TR/REC-xml for information about this namespace.
7 |
8 | This schema document describes the XML namespace, in a form
9 | suitable for import by other schema documents.
10 |
11 | Note that local names in this namespace are intended to be defined
12 | only by the World Wide Web Consortium or its subgroups. The
13 | following names are currently defined in this namespace and should
14 | not be used with conflicting semantics by any Working Group,
15 | specification, or document instance:
16 |
17 | base (as an attribute name): denotes an attribute whose value
18 | provides a URI to be used as the base for interpreting any
19 | relative URIs in the scope of the element on which it
20 | appears; its value is inherited. This name is reserved
21 | by virtue of its definition in the XML Base specification.
22 |
23 | lang (as an attribute name): denotes an attribute whose value
24 | is a language code for the natural language of the content of
25 | any element; its value is inherited. This name is reserved
26 | by virtue of its definition in the XML specification.
27 |
28 | space (as an attribute name): denotes an attribute whose
29 | value is a keyword indicating what whitespace processing
30 | discipline is intended for the content of the element; its
31 | value is inherited. This name is reserved by virtue of its
32 | definition in the XML specification.
33 |
34 | Father (in any context at all): denotes Jon Bosak, the chair of
35 | the original XML Working Group. This name is reserved by
36 | the following decision of the W3C XML Plenary and
37 | XML Coordination groups:
38 |
39 | In appreciation for his vision, leadership and dedication
40 | the W3C XML Plenary on this 10th day of February, 2000
41 | reserves for Jon Bosak in perpetuity the XML name
42 | xml:Father
43 |
44 |
45 |
46 | This schema defines attributes and an attribute group
47 | suitable for use by
48 | schemas wishing to allow xml:base, xml:lang or xml:space attributes
49 | on elements they define.
50 |
51 | To enable this, such a schema must import this schema
52 | for the XML namespace, e.g. as follows:
53 | <schema . . .>
54 | . . .
55 | <import namespace="http://www.w3.org/XML/1998/namespace"
56 | schemaLocation="http://www.w3.org/2001/03/xml.xsd"/>
57 |
58 | Subsequently, qualified reference to any of the attributes
59 | or the group defined below will have the desired effect, e.g.
60 |
61 | <type . . .>
62 | . . .
63 | <attributeGroup ref="xml:specialAttrs"/>
64 |
65 | will define a type which will schema-validate an instance
66 | element with any of those attributes
67 |
68 |
69 | In keeping with the XML Schema WG's standard versioning
70 | policy, this schema document will persist at
71 | http://www.w3.org/2001/03/xml.xsd.
72 | At the date of issue it can also be found at
73 | http://www.w3.org/2001/xml.xsd.
74 | The schema document at that URI may however change in the future,
75 | in order to remain compatible with the latest version of XML Schema
76 | itself. In other words, if the XML Schema namespace changes, the version
77 | of this document at
78 | http://www.w3.org/2001/xml.xsd will change
79 | accordingly; the version at
80 | http://www.w3.org/2001/03/xml.xsd will not change.
81 |
82 |
83 |
84 |
85 | In due course, we should install the relevant ISO 2- and 3-letter
86 | codes as the enumerated possible values . . .
87 |
88 |
89 |
90 |
91 |
92 |
93 |
94 |
95 |
96 |
97 |
98 |
99 | See http://www.w3.org/TR/xmlbase/ for
100 | information about this attribute.
101 |
102 |
103 |
104 |
105 |
106 |
107 |
108 |
--------------------------------------------------------------------------------
/ERezeptClientSimpleExample/ERezeptClientSimpleExample/Connected Services/CertificateService/CertificateService.wsdl:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | Copyright (c) 2012, gematik - Gesellschaft für Telematikanwendungen der Gesundheitskarte mbH. Alle Rechte vorbehalten.
5 | Beschreibung: Zertifikatsdienst
6 | version=6.0.0
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
27 |
28 |
29 |
30 |
31 |
32 |
33 |
34 |
35 |
36 |
37 |
38 |
39 |
40 |
41 |
42 |
43 |
44 |
45 |
46 |
47 |
48 |
49 |
50 |
51 |
52 |
53 |
54 |
55 |
56 |
57 |
58 |
59 |
60 |
61 |
62 |
63 |
64 |
65 |
66 |
67 |
68 |
69 |
70 |
71 |
72 |
73 |
74 |
75 |
76 |
77 |
78 |
79 |
80 |
81 |
82 |
83 |
84 |
85 |
86 |
87 |
88 |
89 |
90 |
91 |
92 |
93 |
94 |
95 |
96 |
97 |
--------------------------------------------------------------------------------
/ERezeptClientSimpleExample/ERezeptClientSimpleExample/Connected Services/CertificateService/CertificateServiceCommon.xsd:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | Copyright (c) 2012, gematik - Gesellschaft für Telematikanwendungen der Gesundheitskarte mbH.
6 | Alle Rechte vorbehalten.
7 | Beschreibung: Schema für gemeinsam nutzbare Elemente des Zertifikatsdienstes
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
27 |
28 |
29 |
30 |
31 |
32 |
33 |
34 |
35 |
36 |
37 |
38 |
39 |
40 |
41 |
42 |
43 |
44 |
45 |
46 |
47 |
48 |
49 |
50 |
51 |
52 |
53 |
54 |
55 |
56 |
57 |
58 |
59 |
60 |
61 |
62 |
63 |
64 |
65 |
66 |
67 |
68 |
69 |
70 |
71 |
--------------------------------------------------------------------------------
/ERezeptClientSimpleExample/ERezeptClientSimpleExample/Connected Services/CertificateService/ConnectorContext.xsd:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 | Copyright (c) 2012, gematik - Gesellschaft für Telematikanwendungen der Gesundheitskarte mbH. Alle Rechte vorbehalten.
7 | Beschreibung: Definition des Aufrufkontexts für Dienste des Konnektors.
8 |
9 |
10 |
11 |
12 |
13 |
14 | Die ID des Mandanten.
15 |
16 |
17 |
18 |
19 | Die ID des Clientsystems, von dem bzw. für das der Aufruf des Konnektors erfolgt.
20 | Unter einem Clientsystem wird hier ein einzelnes oder eine Gruppe von Systemen verstanden,
21 | welche im LAN des Leistungserbringers auf die Clientsystem-Schnittstelle des Konnektors zugreifen.
22 |
23 |
24 |
25 |
26 | Die ID des Arbeitsplatzes, von dem bzw. für den der Aufruf des Konnektors erfolgt.
27 | Bei fachlichen Aufrufen ist sie immer erforderlich.
28 |
29 |
30 |
31 |
32 | Die ID des Nutzers im Primärsystem. Ist nur dann erforderlich, falls ein HBA verwendet wird.
33 |
34 |
35 |
36 |
37 |
38 |
--------------------------------------------------------------------------------
/ERezeptClientSimpleExample/ERezeptClientSimpleExample/Connected Services/CertificateService/ERezeptClientSimpleExample.CertificateService.CheckCertificateExpirationResponse.datasource:
--------------------------------------------------------------------------------
1 |
2 |
8 |
9 | ERezeptClientSimpleExample.CertificateService.CheckCertificateExpirationResponse, Connected Services.CertificateService.Reference.cs.dll, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null
10 |
--------------------------------------------------------------------------------
/ERezeptClientSimpleExample/ERezeptClientSimpleExample/Connected Services/CertificateService/ERezeptClientSimpleExample.CertificateService.CheckCertificateExpirationResponse1.datasource:
--------------------------------------------------------------------------------
1 |
2 |
8 |
9 | ERezeptClientSimpleExample.CertificateService.CheckCertificateExpirationResponse1, Connected Services.CertificateService.Reference.cs.dll, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null
10 |
--------------------------------------------------------------------------------
/ERezeptClientSimpleExample/ERezeptClientSimpleExample/Connected Services/CertificateService/ERezeptClientSimpleExample.CertificateService.ReadCardCertificateResponse.datasource:
--------------------------------------------------------------------------------
1 |
2 |
8 |
9 | ERezeptClientSimpleExample.CertificateService.ReadCardCertificateResponse, Connected Services.CertificateService.Reference.cs.dll, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null
10 |
--------------------------------------------------------------------------------
/ERezeptClientSimpleExample/ERezeptClientSimpleExample/Connected Services/CertificateService/ERezeptClientSimpleExample.CertificateService.ReadCardCertificateResponse1.datasource:
--------------------------------------------------------------------------------
1 |
2 |
8 |
9 | ERezeptClientSimpleExample.CertificateService.ReadCardCertificateResponse1, Connected Services.CertificateService.Reference.cs.dll, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null
10 |
--------------------------------------------------------------------------------
/ERezeptClientSimpleExample/ERezeptClientSimpleExample/Connected Services/CertificateService/ERezeptClientSimpleExample.CertificateService.VerifyCertificateResponse.datasource:
--------------------------------------------------------------------------------
1 |
2 |
8 |
9 | ERezeptClientSimpleExample.CertificateService.VerifyCertificateResponse, Connected Services.CertificateService.Reference.cs.dll, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null
10 |
--------------------------------------------------------------------------------
/ERezeptClientSimpleExample/ERezeptClientSimpleExample/Connected Services/CertificateService/ERezeptClientSimpleExample.CertificateService.VerifyCertificateResponse1.datasource:
--------------------------------------------------------------------------------
1 |
2 |
8 |
9 | ERezeptClientSimpleExample.CertificateService.VerifyCertificateResponse1, Connected Services.CertificateService.Reference.cs.dll, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null
10 |
--------------------------------------------------------------------------------
/ERezeptClientSimpleExample/ERezeptClientSimpleExample/Connected Services/CertificateService/Reference.svcmap:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | false
5 | true
6 | true
7 |
8 | false
9 | false
10 | false
11 |
12 |
13 | true
14 | Auto
15 | true
16 | true
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
27 |
28 |
29 |
30 |
31 |
32 |
33 |
34 |
35 |
36 |
37 |
38 |
39 |
40 |
--------------------------------------------------------------------------------
/ERezeptClientSimpleExample/ERezeptClientSimpleExample/Connected Services/CertificateService/TelematikError.xsd:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | Copyright (c) 2012, gematik - Gesellschaft für
6 | Telematikanwendungen der Gesundheitskarte mbH. Alle Rechte
7 | vorbehalten.
8 | Beschreibung: Dienst zur Verwaltung der Karten
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
27 |
28 |
29 |
30 |
31 |
32 |
33 |
34 |
35 |
36 |
37 |
38 |
39 |
40 |
41 |
42 |
--------------------------------------------------------------------------------
/ERezeptClientSimpleExample/ERezeptClientSimpleExample/Connected Services/CertificateService/configuration.svcinfo:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
--------------------------------------------------------------------------------
/ERezeptClientSimpleExample/ERezeptClientSimpleExample/Connected Services/CertificateService/xml.xsd:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | See http://www.w3.org/XML/1998/namespace.html and
6 | http://www.w3.org/TR/REC-xml for information about this namespace.
7 |
8 | This schema document describes the XML namespace, in a form
9 | suitable for import by other schema documents.
10 |
11 | Note that local names in this namespace are intended to be defined
12 | only by the World Wide Web Consortium or its subgroups. The
13 | following names are currently defined in this namespace and should
14 | not be used with conflicting semantics by any Working Group,
15 | specification, or document instance:
16 |
17 | base (as an attribute name): denotes an attribute whose value
18 | provides a URI to be used as the base for interpreting any
19 | relative URIs in the scope of the element on which it
20 | appears; its value is inherited. This name is reserved
21 | by virtue of its definition in the XML Base specification.
22 |
23 | lang (as an attribute name): denotes an attribute whose value
24 | is a language code for the natural language of the content of
25 | any element; its value is inherited. This name is reserved
26 | by virtue of its definition in the XML specification.
27 |
28 | space (as an attribute name): denotes an attribute whose
29 | value is a keyword indicating what whitespace processing
30 | discipline is intended for the content of the element; its
31 | value is inherited. This name is reserved by virtue of its
32 | definition in the XML specification.
33 |
34 | Father (in any context at all): denotes Jon Bosak, the chair of
35 | the original XML Working Group. This name is reserved by
36 | the following decision of the W3C XML Plenary and
37 | XML Coordination groups:
38 |
39 | In appreciation for his vision, leadership and dedication
40 | the W3C XML Plenary on this 10th day of February, 2000
41 | reserves for Jon Bosak in perpetuity the XML name
42 | xml:Father
43 |
44 |
45 |
46 | This schema defines attributes and an attribute group
47 | suitable for use by
48 | schemas wishing to allow xml:base, xml:lang or xml:space attributes
49 | on elements they define.
50 |
51 | To enable this, such a schema must import this schema
52 | for the XML namespace, e.g. as follows:
53 | <schema . . .>
54 | . . .
55 | <import namespace="http://www.w3.org/XML/1998/namespace"
56 | schemaLocation="http://www.w3.org/2001/03/xml.xsd"/>
57 |
58 | Subsequently, qualified reference to any of the attributes
59 | or the group defined below will have the desired effect, e.g.
60 |
61 | <type . . .>
62 | . . .
63 | <attributeGroup ref="xml:specialAttrs"/>
64 |
65 | will define a type which will schema-validate an instance
66 | element with any of those attributes
67 |
68 |
69 | In keeping with the XML Schema WG's standard versioning
70 | policy, this schema document will persist at
71 | http://www.w3.org/2001/03/xml.xsd.
72 | At the date of issue it can also be found at
73 | http://www.w3.org/2001/xml.xsd.
74 | The schema document at that URI may however change in the future,
75 | in order to remain compatible with the latest version of XML Schema
76 | itself. In other words, if the XML Schema namespace changes, the version
77 | of this document at
78 | http://www.w3.org/2001/xml.xsd will change
79 | accordingly; the version at
80 | http://www.w3.org/2001/03/xml.xsd will not change.
81 |
82 |
83 |
84 |
85 | In due course, we should install the relevant ISO 2- and 3-letter
86 | codes as the enumerated possible values . . .
87 |
88 |
89 |
90 |
91 |
92 |
93 |
94 |
95 |
96 |
97 |
98 |
99 | See http://www.w3.org/TR/xmlbase/ for
100 | information about this attribute.
101 |
102 |
103 |
104 |
105 |
106 |
107 |
108 |
--------------------------------------------------------------------------------
/ERezeptClientSimpleExample/ERezeptClientSimpleExample/Connected Services/EventService/CardServiceCommon.xsd:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 | Copyright (c) 2012, gematik - Gesellschaft für
7 | Telematikanwendungen der Gesundheitskarte mbH. Alle Rechte
8 | vorbehalten.
9 | Beschreibung: Enthält Elemente und Typen, die sowohl vom CardService als auch von CardEvents genutzt werden
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
27 |
28 |
29 |
30 |
31 |
32 |
33 |
34 |
35 |
36 |
37 |
38 |
39 |
40 |
41 |
42 |
43 |
44 |
45 |
46 |
47 |
48 |
49 |
50 |
51 |
52 |
53 |
54 |
55 |
56 |
57 |
58 |
59 |
60 |
61 |
62 |
63 |
64 |
65 |
66 |
67 |
68 |
69 |
70 |
71 |
72 |
73 |
74 |
75 |
76 |
77 |
78 |
79 |
80 |
81 |
82 |
--------------------------------------------------------------------------------
/ERezeptClientSimpleExample/ERezeptClientSimpleExample/Connected Services/EventService/CardTerminalInfo.xsd:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 | Copyright (c) 2014, gematik - Gesellschaft für
10 | Telematikanwendungen der Gesundheitskarte mbH. Alle Rechte
11 | vorbehalten.
12 | Beschreibung: Dienst zur Verwaltung der Kartenterminals
13 |
14 |
15 |
16 |
17 | Kartenterminal
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
27 |
28 |
29 |
30 |
31 |
32 |
33 |
34 |
35 |
36 |
37 |
38 |
39 |
40 |
41 |
42 |
43 |
44 |
45 |
46 |
47 |
48 |
49 | An IP version 4 address.
50 |
51 |
52 |
53 |
54 |
55 |
56 |
57 |
58 |
59 |
60 | A mac address.
61 |
62 |
63 |
64 |
65 |
66 |
67 |
68 |
69 |
70 | An IP version 6 address, based on RFC 1884.
71 |
72 |
73 |
74 |
75 |
76 |
77 |
78 |
79 |
80 |
81 |
82 |
83 |
84 |
85 |
86 |
87 |
--------------------------------------------------------------------------------
/ERezeptClientSimpleExample/ERezeptClientSimpleExample/Connected Services/EventService/ConnectorContext.xsd:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 | Copyright (c) 2012, gematik - Gesellschaft für Telematikanwendungen der Gesundheitskarte mbH. Alle Rechte vorbehalten.
7 | Beschreibung: Definition des Aufrufkontexts für Dienste des Konnektors.
8 |
9 |
10 |
11 |
12 |
13 |
14 | Die ID des Mandanten.
15 |
16 |
17 |
18 |
19 | Die ID des Clientsystems, von dem bzw. für das der Aufruf des Konnektors erfolgt.
20 | Unter einem Clientsystem wird hier ein einzelnes oder eine Gruppe von Systemen verstanden,
21 | welche im LAN des Leistungserbringers auf die Clientsystem-Schnittstelle des Konnektors zugreifen.
22 |
23 |
24 |
25 |
26 | Die ID des Arbeitsplatzes, von dem bzw. für den der Aufruf des Konnektors erfolgt.
27 | Bei fachlichen Aufrufen ist sie immer erforderlich.
28 |
29 |
30 |
31 |
32 | Die ID des Nutzers im Primärsystem. Ist nur dann erforderlich, falls ein HBA verwendet wird.
33 |
34 |
35 |
36 |
37 |
38 |
--------------------------------------------------------------------------------
/ERezeptClientSimpleExample/ERezeptClientSimpleExample/Connected Services/EventService/ERezeptClientSimpleExample.EventService.GetCardTerminalsResponse.datasource:
--------------------------------------------------------------------------------
1 |
2 |
8 |
9 | ERezeptClientSimpleExample.EventService.GetCardTerminalsResponse, Connected Services.EventService.Reference.cs.dll, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null
10 |
--------------------------------------------------------------------------------
/ERezeptClientSimpleExample/ERezeptClientSimpleExample/Connected Services/EventService/ERezeptClientSimpleExample.EventService.GetCardTerminalsResponse1.datasource:
--------------------------------------------------------------------------------
1 |
2 |
8 |
9 | ERezeptClientSimpleExample.EventService.GetCardTerminalsResponse1, Connected Services.EventService.Reference.cs.dll, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null
10 |
--------------------------------------------------------------------------------
/ERezeptClientSimpleExample/ERezeptClientSimpleExample/Connected Services/EventService/ERezeptClientSimpleExample.EventService.GetCardsResponse.datasource:
--------------------------------------------------------------------------------
1 |
2 |
8 |
9 | ERezeptClientSimpleExample.EventService.GetCardsResponse, Connected Services.EventService.Reference.cs.dll, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null
10 |
--------------------------------------------------------------------------------
/ERezeptClientSimpleExample/ERezeptClientSimpleExample/Connected Services/EventService/ERezeptClientSimpleExample.EventService.GetCardsResponse1.datasource:
--------------------------------------------------------------------------------
1 |
2 |
8 |
9 | ERezeptClientSimpleExample.EventService.GetCardsResponse1, Connected Services.EventService.Reference.cs.dll, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null
10 |
--------------------------------------------------------------------------------
/ERezeptClientSimpleExample/ERezeptClientSimpleExample/Connected Services/EventService/ERezeptClientSimpleExample.EventService.GetResourceInformationResponse.datasource:
--------------------------------------------------------------------------------
1 |
2 |
8 |
9 | ERezeptClientSimpleExample.EventService.GetResourceInformationResponse, Connected Services.EventService.Reference.cs.dll, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null
10 |
--------------------------------------------------------------------------------
/ERezeptClientSimpleExample/ERezeptClientSimpleExample/Connected Services/EventService/ERezeptClientSimpleExample.EventService.GetResourceInformationResponse1.datasource:
--------------------------------------------------------------------------------
1 |
2 |
8 |
9 | ERezeptClientSimpleExample.EventService.GetResourceInformationResponse1, Connected Services.EventService.Reference.cs.dll, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null
10 |
--------------------------------------------------------------------------------
/ERezeptClientSimpleExample/ERezeptClientSimpleExample/Connected Services/EventService/ERezeptClientSimpleExample.EventService.GetSubscriptionResponse.datasource:
--------------------------------------------------------------------------------
1 |
2 |
8 |
9 | ERezeptClientSimpleExample.EventService.GetSubscriptionResponse, Connected Services.EventService.Reference.cs.dll, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null
10 |
--------------------------------------------------------------------------------
/ERezeptClientSimpleExample/ERezeptClientSimpleExample/Connected Services/EventService/ERezeptClientSimpleExample.EventService.GetSubscriptionResponse1.datasource:
--------------------------------------------------------------------------------
1 |
2 |
8 |
9 | ERezeptClientSimpleExample.EventService.GetSubscriptionResponse1, Connected Services.EventService.Reference.cs.dll, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null
10 |
--------------------------------------------------------------------------------
/ERezeptClientSimpleExample/ERezeptClientSimpleExample/Connected Services/EventService/ERezeptClientSimpleExample.EventService.RenewSubscriptionsResponse.datasource:
--------------------------------------------------------------------------------
1 |
2 |
8 |
9 | ERezeptClientSimpleExample.EventService.RenewSubscriptionsResponse, Connected Services.EventService.Reference.cs.dll, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null
10 |
--------------------------------------------------------------------------------
/ERezeptClientSimpleExample/ERezeptClientSimpleExample/Connected Services/EventService/ERezeptClientSimpleExample.EventService.RenewSubscriptionsResponse1.datasource:
--------------------------------------------------------------------------------
1 |
2 |
8 |
9 | ERezeptClientSimpleExample.EventService.RenewSubscriptionsResponse1, Connected Services.EventService.Reference.cs.dll, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null
10 |
--------------------------------------------------------------------------------
/ERezeptClientSimpleExample/ERezeptClientSimpleExample/Connected Services/EventService/ERezeptClientSimpleExample.EventService.SubscribeResponse.datasource:
--------------------------------------------------------------------------------
1 |
2 |
8 |
9 | ERezeptClientSimpleExample.EventService.SubscribeResponse, Connected Services.EventService.Reference.cs.dll, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null
10 |
--------------------------------------------------------------------------------
/ERezeptClientSimpleExample/ERezeptClientSimpleExample/Connected Services/EventService/ERezeptClientSimpleExample.EventService.SubscribeResponse1.datasource:
--------------------------------------------------------------------------------
1 |
2 |
8 |
9 | ERezeptClientSimpleExample.EventService.SubscribeResponse1, Connected Services.EventService.Reference.cs.dll, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null
10 |
--------------------------------------------------------------------------------
/ERezeptClientSimpleExample/ERezeptClientSimpleExample/Connected Services/EventService/ERezeptClientSimpleExample.EventService.UnsubscribeResponse.datasource:
--------------------------------------------------------------------------------
1 |
2 |
8 |
9 | ERezeptClientSimpleExample.EventService.UnsubscribeResponse, Connected Services.EventService.Reference.cs.dll, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null
10 |
--------------------------------------------------------------------------------
/ERezeptClientSimpleExample/ERezeptClientSimpleExample/Connected Services/EventService/ERezeptClientSimpleExample.EventService.UnsubscribeResponse1.datasource:
--------------------------------------------------------------------------------
1 |
2 |
8 |
9 | ERezeptClientSimpleExample.EventService.UnsubscribeResponse1, Connected Services.EventService.Reference.cs.dll, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null
10 |
--------------------------------------------------------------------------------
/ERezeptClientSimpleExample/ERezeptClientSimpleExample/Connected Services/EventService/Reference.svcmap:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | false
5 | true
6 | true
7 |
8 | false
9 | false
10 | false
11 |
12 |
13 | true
14 | Auto
15 | true
16 | true
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
27 |
28 |
29 |
30 |
31 |
32 |
33 |
34 |
35 |
36 |
37 |
38 |
39 |
40 |
41 |
42 |
43 |
--------------------------------------------------------------------------------
/ERezeptClientSimpleExample/ERezeptClientSimpleExample/Connected Services/EventService/TelematikError.xsd:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | Copyright (c) 2012, gematik - Gesellschaft für
6 | Telematikanwendungen der Gesundheitskarte mbH. Alle Rechte
7 | vorbehalten.
8 | Beschreibung: Dienst zur Verwaltung der Karten
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
27 |
28 |
29 |
30 |
31 |
32 |
33 |
34 |
35 |
36 |
37 |
38 |
39 |
40 |
41 |
42 |
--------------------------------------------------------------------------------
/ERezeptClientSimpleExample/ERezeptClientSimpleExample/Connected Services/EventService/configuration.svcinfo:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
--------------------------------------------------------------------------------
/ERezeptClientSimpleExample/ERezeptClientSimpleExample/Connected Services/EventService/xml.xsd:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | See http://www.w3.org/XML/1998/namespace.html and
6 | http://www.w3.org/TR/REC-xml for information about this namespace.
7 |
8 | This schema document describes the XML namespace, in a form
9 | suitable for import by other schema documents.
10 |
11 | Note that local names in this namespace are intended to be defined
12 | only by the World Wide Web Consortium or its subgroups. The
13 | following names are currently defined in this namespace and should
14 | not be used with conflicting semantics by any Working Group,
15 | specification, or document instance:
16 |
17 | base (as an attribute name): denotes an attribute whose value
18 | provides a URI to be used as the base for interpreting any
19 | relative URIs in the scope of the element on which it
20 | appears; its value is inherited. This name is reserved
21 | by virtue of its definition in the XML Base specification.
22 |
23 | lang (as an attribute name): denotes an attribute whose value
24 | is a language code for the natural language of the content of
25 | any element; its value is inherited. This name is reserved
26 | by virtue of its definition in the XML specification.
27 |
28 | space (as an attribute name): denotes an attribute whose
29 | value is a keyword indicating what whitespace processing
30 | discipline is intended for the content of the element; its
31 | value is inherited. This name is reserved by virtue of its
32 | definition in the XML specification.
33 |
34 | Father (in any context at all): denotes Jon Bosak, the chair of
35 | the original XML Working Group. This name is reserved by
36 | the following decision of the W3C XML Plenary and
37 | XML Coordination groups:
38 |
39 | In appreciation for his vision, leadership and dedication
40 | the W3C XML Plenary on this 10th day of February, 2000
41 | reserves for Jon Bosak in perpetuity the XML name
42 | xml:Father
43 |
44 |
45 |
46 | This schema defines attributes and an attribute group
47 | suitable for use by
48 | schemas wishing to allow xml:base, xml:lang or xml:space attributes
49 | on elements they define.
50 |
51 | To enable this, such a schema must import this schema
52 | for the XML namespace, e.g. as follows:
53 | <schema . . .>
54 | . . .
55 | <import namespace="http://www.w3.org/XML/1998/namespace"
56 | schemaLocation="http://www.w3.org/2001/03/xml.xsd"/>
57 |
58 | Subsequently, qualified reference to any of the attributes
59 | or the group defined below will have the desired effect, e.g.
60 |
61 | <type . . .>
62 | . . .
63 | <attributeGroup ref="xml:specialAttrs"/>
64 |
65 | will define a type which will schema-validate an instance
66 | element with any of those attributes
67 |
68 |
69 | In keeping with the XML Schema WG's standard versioning
70 | policy, this schema document will persist at
71 | http://www.w3.org/2001/03/xml.xsd.
72 | At the date of issue it can also be found at
73 | http://www.w3.org/2001/xml.xsd.
74 | The schema document at that URI may however change in the future,
75 | in order to remain compatible with the latest version of XML Schema
76 | itself. In other words, if the XML Schema namespace changes, the version
77 | of this document at
78 | http://www.w3.org/2001/xml.xsd will change
79 | accordingly; the version at
80 | http://www.w3.org/2001/03/xml.xsd will not change.
81 |
82 |
83 |
84 |
85 | In due course, we should install the relevant ISO 2- and 3-letter
86 | codes as the enumerated possible values . . .
87 |
88 |
89 |
90 |
91 |
92 |
93 |
94 |
95 |
96 |
97 |
98 |
99 | See http://www.w3.org/TR/xmlbase/ for
100 | information about this attribute.
101 |
102 |
103 |
104 |
105 |
106 |
107 |
108 |
--------------------------------------------------------------------------------
/ERezeptClientSimpleExample/ERezeptClientSimpleExample/ERezeptClientSimpleExample.csproj.user:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | ProjectFiles
5 |
6 |
--------------------------------------------------------------------------------
/ERezeptClientSimpleExample/ERezeptClientSimpleExample/Properties/AssemblyInfo.cs:
--------------------------------------------------------------------------------
1 | using System.Reflection;
2 | using System.Runtime.CompilerServices;
3 | using System.Runtime.InteropServices;
4 |
5 | // General Information about an assembly is controlled through the following
6 | // set of attributes. Change these attribute values to modify the information
7 | // associated with an assembly.
8 | [assembly: AssemblyTitle("ERezeptClientSimpleExample")]
9 | [assembly: AssemblyDescription("")]
10 | [assembly: AssemblyConfiguration("")]
11 | [assembly: AssemblyCompany("")]
12 | [assembly: AssemblyProduct("ERezeptClientSimpleExample")]
13 | [assembly: AssemblyCopyright("Copyright © 2021")]
14 | [assembly: AssemblyTrademark("")]
15 | [assembly: AssemblyCulture("")]
16 |
17 | // Setting ComVisible to false makes the types in this assembly not visible
18 | // to COM components. If you need to access a type in this assembly from
19 | // COM, set the ComVisible attribute to true on that type.
20 | [assembly: ComVisible(false)]
21 |
22 | // The following GUID is for the ID of the typelib if this project is exposed to COM
23 | [assembly: Guid("778b24f6-32e4-4be4-b863-36c337574bc8")]
24 |
25 | // Version information for an assembly consists of the following four values:
26 | //
27 | // Major Version
28 | // Minor Version
29 | // Build Number
30 | // Revision
31 | //
32 | // You can specify all the values or you can default the Build and Revision Numbers
33 | // by using the '*' as shown below:
34 | // [assembly: AssemblyVersion("1.0.*")]
35 | [assembly: AssemblyVersion("1.0.0.0")]
36 | [assembly: AssemblyFileVersion("1.0.0.0")]
37 |
--------------------------------------------------------------------------------
/ERezeptClientSimpleExample/ERezeptClientSimpleExample/ServiceEndpointFactory.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.ServiceModel;
3 | using System.ServiceModel.Channels;
4 | using System.ServiceModel.Description;
5 | using System.ServiceModel.Dispatcher;
6 |
7 | namespace ERezeptClientSimpleExample {
8 | public class ServiceEndpointFactory {
9 | private static readonly int Buffersize = 500000000;
10 |
11 | public static TPortClient CreateEndpoint(string url) where TPortClient : ClientBase, TPortType
12 | where TPortType : class {
13 | Binding binding;
14 | EndpointAddress endpointAddress = new EndpointAddress(url);
15 |
16 | if (url.StartsWith("https:")) {
17 | binding = new BasicHttpsBinding {
18 | MaxBufferSize = Buffersize, MaxReceivedMessageSize = Buffersize,
19 | ReaderQuotas = {MaxArrayLength = int.MaxValue, MaxDepth = int.MaxValue, MaxStringContentLength = int.MaxValue},
20 | Security = new BasicHttpsSecurity {
21 | Transport = new HttpTransportSecurity {
22 | ClientCredentialType = HttpClientCredentialType.Certificate
23 | }
24 | }
25 | };
26 | } else {
27 | binding = new BasicHttpBinding {
28 | MaxBufferSize = Buffersize, MaxReceivedMessageSize = Buffersize,
29 | ReaderQuotas = {MaxArrayLength = int.MaxValue, MaxDepth = int.MaxValue, MaxStringContentLength = int.MaxValue}
30 | };
31 | }
32 | var client = (TPortClient) Activator.CreateInstance(typeof(TPortClient), binding, endpointAddress);
33 | client.Endpoint.Behaviors.Add(new LoggingEndpointBehavior());
34 | return client;
35 | }
36 | }
37 |
38 | public class LoggingEndpointBehavior : IEndpointBehavior {
39 | public void AddBindingParameters(ServiceEndpoint endpoint, BindingParameterCollection bindingParameters) {
40 | }
41 |
42 | public void ApplyClientBehavior(ServiceEndpoint endpoint, ClientRuntime clientRuntime) {
43 | clientRuntime.MessageInspectors.Add(new LoggingClientMessageInspector());
44 | }
45 |
46 | public void ApplyDispatchBehavior(ServiceEndpoint endpoint, EndpointDispatcher endpointDispatcher) {
47 | }
48 |
49 | public void Validate(ServiceEndpoint endpoint) {
50 | }
51 | }
52 |
53 | public class LoggingClientMessageInspector : IClientMessageInspector {
54 | public void AfterReceiveReply(ref Message reply, object correlationState) {
55 | Console.Out.WriteLine($"Antwort {correlationState} Parameter {reply}");
56 | }
57 |
58 | public object BeforeSendRequest(ref Message request, IClientChannel channel) {
59 | var CallingInfo = Guid.NewGuid().ToString();
60 | Console.Out.WriteLine($"Aufruf {CallingInfo} Parameter {request}");
61 | return CallingInfo;
62 | }
63 | }
64 | }
--------------------------------------------------------------------------------
/ERezeptClientSimpleExample/ERezeptClientSimpleExample/VAUFixed.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using Org.BouncyCastle.Asn1.TeleTrust;
3 | using Org.BouncyCastle.Asn1.X9;
4 | using Org.BouncyCastle.Crypto;
5 | using Org.BouncyCastle.Crypto.Parameters;
6 | using Org.BouncyCastle.Math;
7 |
8 | namespace ERezeptClientSimpleExample {
9 | public class VAUFixed : VAU {
10 | protected override KeyCoords GetVauPublicKeyXY() {
11 | return new() {
12 | X = new BigInteger(CertPublicKeyX, 16),
13 | Y = new BigInteger(CertPublicKeyY, 16)
14 | };
15 | }
16 |
17 | protected override AsymmetricCipherKeyPair GenerateNewECDHKey() {
18 | X9ECParameters x9EC = ECNamedCurveTable.GetByOid(TeleTrusTObjectIdentifiers.BrainpoolP256R1);
19 | ECDomainParameters ecDomain = new ECDomainParameters(x9EC.Curve, x9EC.G, x9EC.N, x9EC.H, x9EC.GetSeed());
20 |
21 | return new AsymmetricCipherKeyPair(
22 | new ECPublicKeyParameters(x9EC.Curve.CreatePoint(
23 | new BigInteger(1, HexStringToByteArray(EphemeralPublicKeyX)),
24 | new BigInteger(1, HexStringToByteArray(EphemeralPublicKeyY))
25 | ), ecDomain),
26 | new ECPrivateKeyParameters(new BigInteger(1, HexStringToByteArray(EccPrivateKey)), ecDomain));
27 | }
28 |
29 | protected override byte[] GetIv() {
30 | return HexStringToByteArray(IVBytes);
31 | }
32 |
33 | public const string CertPublicKeyX = "8634212830dad457ca05305e6687134166b9c21a65ffebf555f4e75dfb048888";
34 | public const string CertPublicKeyY = "66e4b6843624cbda43c97ea89968bc41fd53576f82c03efa7d601b9facac2b29";
35 |
36 | public const string Message = "Hallo Test";
37 |
38 | public const string EccPrivateKey = "5bbba34d47502bd588ed680dfa2309ca375eb7a35ddbbd67cc7f8b6b687a1c1d";
39 | public const string EphemeralPublicKeyX = "754e548941e5cd073fed6d734578a484be9f0bbfa1b6fa3168ed7ffb22878f0f";
40 | public const string EphemeralPublicKeyY = "9aef9bbd932a020d8828367bd080a3e72b36c41ee40c87253f9b1b0beb8371bf";
41 |
42 | public const string IVBytes = "257db4604af8ae0dfced37ce";
43 |
44 | public static string CipherText =
45 | "01 754e548941e5cd073fed6d734578a484be9f0bbfa1b6fa3168ed7ffb22878f0f 9aef9bbd932a020d8828367bd080a3e72b36c41ee40c87253f9b1b0beb8371bf 257db4604af8ae0dfced37ce 86c2b491c7a8309e750b 4e6e307219863938c204dfe85502ee0a"
46 | .Replace(" ", "").ToUpperInvariant();
47 |
48 | public static void DemoBspAusGemSpecCrypt() {
49 | var gesamtoutput = new VAUFixed().Encrypt(Message);
50 | var byteArrayToHexString = ByteArrayToHexString(gesamtoutput);
51 | Console.Out.WriteLine("IST =" + byteArrayToHexString);
52 | Console.Out.WriteLine("SOLL=" + CipherText);
53 | var gleich = CipherText == byteArrayToHexString;
54 | Console.Out.WriteLine($"GLEICH={gleich}\n\n");
55 | }
56 |
57 | public VAUFixed() : base("test", "") { }
58 | }
59 | }
--------------------------------------------------------------------------------
/ERezeptClientSimpleExample/ERezeptClientSimpleExample/packages.config:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
--------------------------------------------------------------------------------
/ERezeptClientSimpleExample/ERezeptClientSimpleExample/xsds/conn/AuthSignatureService.wsdl:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
21 |
22 |
23 | Copyright (c) 2016, gematik - Gesellschaft für Telematikanwendungen der Gesundheitskarte mbH. Alle Rechte vorbehalten.
24 | Beschreibung: Konnektor Signatur Basisanwendung Authentifizierung
25 | version=7.4.0
26 |
27 |
28 |
29 |
30 |
31 |
32 |
33 |
34 |
35 |
36 |
37 |
38 |
39 |
40 |
41 |
42 |
43 |
44 |
45 |
46 |
47 |
48 |
49 |
50 |
51 |
52 |
53 |
54 |
55 |
56 |
57 |
58 |
59 |
60 |
61 |
62 |
63 |
64 |
65 |
66 |
67 |
68 |
69 |
70 |
71 |
--------------------------------------------------------------------------------
/ERezeptClientSimpleExample/ERezeptClientSimpleExample/xsds/conn/CardEvents.xsd:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 | Copyright (c) 2007, gematik - Gesellschaft für Telematikanwendungen der Gesundheitskarte mbH. Alle Rechte vorbehalten.
8 | Beschreibung: Definiert die kartenbezogenen Ereignisse
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 | Inhalt einer Kartenereignisnachricht
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
27 |
28 |
29 |
30 |
31 |
32 |
33 | Ereignisnachricht
34 |
35 |
36 |
37 |
38 |
39 | Topic: Inserted
40 |
41 |
42 |
43 |
44 | Topic: Removed
45 |
46 |
47 |
48 |
49 |
50 |
51 |
52 |
53 |
54 |
55 |
56 |
57 |
58 |
59 |
60 |
61 |
62 |
63 |
64 |
65 |
66 |
67 |
68 |
69 |
70 |
71 |
72 |
73 |
74 |
75 |
76 |
77 |
78 |
79 |
80 |
81 |
82 |
83 |
84 |
85 |
86 |
87 |
88 |
89 |
90 |
91 |
92 |
93 |
94 |
95 |
96 |
97 |
98 |
99 |
100 |
101 |
102 |
103 |
104 |
105 |
--------------------------------------------------------------------------------
/ERezeptClientSimpleExample/ERezeptClientSimpleExample/xsds/conn/CardServiceCommon.xsd:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 | Copyright (c) 2012, gematik - Gesellschaft für
8 | Telematikanwendungen der Gesundheitskarte mbH. Alle Rechte
9 | vorbehalten.
10 | Beschreibung: Enthält Elemente und Typen, die sowohl vom CardService als auch von CardEvents genutzt werden
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
27 |
28 |
29 |
30 |
31 |
32 |
33 |
34 |
35 |
36 |
37 |
38 |
39 |
40 |
41 |
42 |
43 |
44 |
45 |
46 |
47 |
48 |
49 |
50 |
51 |
52 |
53 |
54 |
55 |
56 |
57 |
58 |
59 |
60 |
61 |
62 |
63 |
64 |
65 |
66 |
67 |
68 |
69 |
70 |
71 |
72 |
73 |
74 |
75 |
76 |
77 |
78 |
79 |
80 |
81 |
82 |
83 |
84 |
85 |
--------------------------------------------------------------------------------
/ERezeptClientSimpleExample/ERezeptClientSimpleExample/xsds/conn/CardTerminalInfo.xsd:
--------------------------------------------------------------------------------
1 |
2 |
3 |
7 |
8 |
9 |
10 | Copyright (c) 2014, gematik - Gesellschaft für
11 | Telematikanwendungen der Gesundheitskarte mbH. Alle Rechte
12 | vorbehalten.
13 | Beschreibung: Dienst zur Verwaltung der Kartenterminals
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 | Kartenterminal
23 |
24 |
25 |
26 |
27 |
28 |
29 |
30 |
31 |
32 |
33 |
34 |
35 |
36 |
37 |
38 |
39 |
40 |
41 |
42 |
43 |
44 |
45 |
46 |
47 |
48 |
49 |
50 |
51 |
52 |
53 |
54 | An IP version 4 address.
55 |
56 |
57 |
58 |
59 |
60 |
61 |
62 |
63 |
64 |
65 | A mac address.
66 |
67 |
68 |
69 |
70 |
71 |
72 |
73 |
74 |
75 | An IP version 6 address, based on RFC 1884.
76 |
77 |
78 |
79 |
80 |
81 |
82 |
83 |
84 |
85 |
86 |
87 |
88 |
89 |
90 |
91 |
92 |
93 |
94 |
95 |
96 |
97 |
98 |
99 |
--------------------------------------------------------------------------------
/ERezeptClientSimpleExample/ERezeptClientSimpleExample/xsds/conn/CardTerminalService.wsdl:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
11 |
12 |
13 | Copyright (c) 2014, gematik - Gesellschaft für Telematikanwendungen der Gesundheitskarte mbH. Alle Rechte vorbehalten.
14 | Beschreibung: Dienst zur Steuerung der Kartenterminals
15 | version=1.1.0
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
27 |
28 |
29 |
30 |
31 |
32 |
33 |
34 |
35 |
36 |
37 |
38 |
39 |
40 |
41 |
42 |
43 |
44 |
45 |
46 |
47 |
48 |
49 |
50 |
51 |
52 |
53 |
54 |
55 |
56 |
57 |
58 |
59 |
60 |
61 |
62 |
63 |
64 |
65 |
66 |
67 |
68 |
69 |
70 |
71 |
72 |
73 |
74 |
75 |
76 |
77 |
78 |
79 |
80 |
81 |
82 |
83 |
84 |
--------------------------------------------------------------------------------
/ERezeptClientSimpleExample/ERezeptClientSimpleExample/xsds/conn/CardTerminalService.xsd:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
14 |
15 |
16 |
17 | Copyright (c) 2014, gematik - Gesellschaft für
18 | Telematikanwendungen der Gesundheitskarte mbH. Alle Rechte
19 | vorbehalten.
20 | Beschreibung: Dienst zur Verwaltung der Karten
21 |
22 |
23 |
24 |
25 |
26 |
27 |
28 |
29 |
30 |
31 |
32 |
33 |
34 |
35 |
36 |
37 |
38 |
39 |
40 |
41 |
42 |
43 |
44 |
45 |
46 |
47 |
48 |
49 |
50 |
51 |
52 |
53 |
54 |
55 |
56 |
57 |
58 |
59 |
60 |
61 |
62 |
63 |
64 |
65 |
66 |
67 |
68 |
69 |
70 |
71 |
72 |
73 |
74 |
75 |
76 |
77 |
78 |
79 |
80 |
81 |
82 |
83 |
84 |
85 |
--------------------------------------------------------------------------------
/ERezeptClientSimpleExample/ERezeptClientSimpleExample/xsds/conn/CertificateService.wsdl:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | Copyright (c) 2012, gematik - Gesellschaft für Telematikanwendungen der Gesundheitskarte mbH. Alle Rechte vorbehalten.
6 | Beschreibung: Zertifikatsdienst
7 | version=6.0.0
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
27 |
28 |
29 |
30 |
31 |
32 |
33 |
34 |
35 |
36 |
37 |
38 |
39 |
40 |
41 |
42 |
43 |
44 |
45 |
46 |
47 |
48 |
49 |
50 |
51 |
52 |
53 |
54 |
55 |
56 |
57 |
58 |
59 |
60 |
61 |
62 |
63 |
64 |
65 |
66 |
67 |
68 |
69 |
70 |
71 |
72 |
73 |
74 |
75 |
76 |
77 |
78 |
79 |
80 |
81 |
82 |
83 |
84 |
85 |
86 |
87 |
88 |
89 |
90 |
91 |
92 |
93 |
94 |
95 |
96 |
97 |
98 |
99 |
--------------------------------------------------------------------------------
/ERezeptClientSimpleExample/ERezeptClientSimpleExample/xsds/conn/CertificateServiceCommon.xsd:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
9 |
10 |
11 |
12 | Copyright (c) 2012, gematik - Gesellschaft für Telematikanwendungen der Gesundheitskarte mbH.
13 | Alle Rechte vorbehalten.
14 | Beschreibung: Schema für gemeinsam nutzbare Elemente des Zertifikatsdienstes
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
27 |
28 |
29 |
30 |
31 |
32 |
33 |
34 |
35 |
36 |
37 |
38 |
39 |
40 |
41 |
42 |
43 |
44 |
45 |
46 |
47 |
48 |
49 |
50 |
51 |
52 |
53 |
54 |
55 |
56 |
57 |
58 |
59 |
60 |
61 |
62 |
63 |
64 |
65 |
66 |
67 |
68 |
69 |
70 |
71 |
72 |
73 |
74 |
75 |
76 |
77 |
78 |
79 |
80 |
--------------------------------------------------------------------------------
/ERezeptClientSimpleExample/ERezeptClientSimpleExample/xsds/conn/ConnectorContext.xsd:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 | Copyright (c) 2012, gematik - Gesellschaft für Telematikanwendungen der Gesundheitskarte mbH. Alle Rechte vorbehalten.
11 | Beschreibung: Definition des Aufrufkontexts für Dienste des Konnektors.
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 | Die ID des Mandanten.
20 |
21 |
22 |
23 |
24 | Die ID des Clientsystems, von dem bzw. für das der Aufruf des Konnektors erfolgt.
25 | Unter einem Clientsystem wird hier ein einzelnes oder eine Gruppe von Systemen verstanden,
26 | welche im LAN des Leistungserbringers auf die Clientsystem-Schnittstelle des Konnektors zugreifen.
27 |
28 |
29 |
30 |
31 | Die ID des Arbeitsplatzes, von dem bzw. für den der Aufruf des Konnektors erfolgt.
32 | Bei fachlichen Aufrufen ist sie immer erforderlich.
33 |
34 |
35 |
36 |
37 | Die ID des Nutzers im Primärsystem. Ist nur dann erforderlich, falls ein HBA verwendet wird.
38 |
39 |
40 |
41 |
42 |
43 |
44 |
--------------------------------------------------------------------------------
/ERezeptClientSimpleExample/ERezeptClientSimpleExample/xsds/conn/EncryptionService.wsdl:
--------------------------------------------------------------------------------
1 |
2 |
3 |
7 |
8 |
9 | Copyright (c) 2014, gematik - Gesellschaft für Telematikanwendungen der Gesundheitskarte mbH. Alle Rechte vorbehalten.
10 | Beschreibung: Konnektor Verschlüsselung Basisanwendung
11 | Version=6.1.0
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
27 |
28 |
29 |
30 |
31 |
32 |
33 |
34 |
35 |
36 |
37 |
38 |
39 |
40 |
41 |
42 |
43 |
44 |
45 |
46 |
47 |
48 |
49 |
50 |
51 |
52 |
53 |
54 |
55 |
56 |
57 |
58 |
59 |
60 |
61 |
62 |
63 |
64 |
65 |
66 |
67 |
68 |
69 |
70 |
71 |
72 |
73 |
74 |
75 |
76 |
77 |
78 |
79 |
80 |
--------------------------------------------------------------------------------
/ERezeptClientSimpleExample/ERezeptClientSimpleExample/xsds/conn/EncryptionService.xsd:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
15 |
16 |
17 |
18 | Copyright (c) 2014, gematik - Gesellschaft für Telematikanwendungen der Gesundheitskarte mbH. Alle Rechte vorbehalten.
19 | Beschreibung: Schema-Beschreibung für die Encryption Basisanwendung
20 |
21 |
22 |
23 |
24 |
25 |
26 |
27 |
28 |
29 |
30 |
31 |
32 |
33 |
34 |
35 |
36 |
37 |
38 |
39 |
40 |
41 |
42 |
43 |
44 |
45 |
46 |
47 |
48 |
49 |
50 |
51 |
52 |
53 |
54 |
55 |
56 |
57 |
58 |
59 |
60 |
61 |
62 |
63 |
64 |
65 |
66 |
67 |
68 |
69 |
70 |
71 |
72 |
73 |
74 |
75 |
76 |
77 |
78 |
79 |
80 |
81 |
82 |
83 |
84 |
85 |
86 |
87 |
88 |
89 |
90 |
91 |
92 |
93 |
94 |
95 |
96 |
97 |
98 |
99 |
100 |
101 |
102 |
103 |
104 |
105 |
106 |
107 |
108 |
109 |
110 |
111 |
112 |
113 |
114 |
115 |
116 |
117 |
118 |
119 |
120 |
121 |
122 |
123 |
124 |
125 |
126 |
--------------------------------------------------------------------------------
/ERezeptClientSimpleExample/ERezeptClientSimpleExample/xsds/conn/README.CardService.txt:
--------------------------------------------------------------------------------
1 | Neben der aktuellen Version der CardService.wsdl und CardService.xsd MUSS der Konnektor gemäß TIP1-A_4586
2 | auch ältere Versionen unterstützen.
3 | Zur Vollständigkeit sind diese älteren zu unterstützenden Versionen in diesem Schemapaket unter dem Namen
4 | CardService_v.wsdl
5 | CardService_v.xsd
6 | enthalten.
7 |
--------------------------------------------------------------------------------
/ERezeptClientSimpleExample/ERezeptClientSimpleExample/xsds/conn/ServiceDirectory.xsd:
--------------------------------------------------------------------------------
1 |
2 |
3 |
7 |
8 |
9 |
10 |
11 | Copyright (c) 2014, gematik - Gesellschaft für Telematikanwendungen der Gesundheitskarte mbH. Alle Rechte vorbehalten.
12 | Beschreibung: Schema für den Service Directory Service, der die verfügbaren Dienste des Konnektors auflistet.
13 |
14 |
15 |
16 | Kurze Beschreibung
17 |
18 |
19 |
20 |
21 | Wurzelelement der Dienstbeschreibung
22 |
23 |
24 |
25 |
26 |
27 |
28 |
29 |
30 |
31 |
32 |
33 |
--------------------------------------------------------------------------------
/ERezeptClientSimpleExample/ERezeptClientSimpleExample/xsds/conn/ServiceInformation.xsd:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 | Copyright (c) 2012, gematik - Gesellschaft für Telematikanwendungen der Gesundheitskarte mbH. Alle Rechte vorbehalten.
7 | Beschreibung: Schema fuer die Servicebeschreibung
8 |
9 |
10 |
11 | Kurze Beschreibung
12 |
13 |
14 |
15 |
16 | Liste der Dienste
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
27 |
28 |
29 |
30 |
31 |
32 |
33 | Liste der unterstützten Versionen
34 |
35 |
36 |
37 |
38 |
39 |
40 |
41 |
42 |
43 |
44 |
45 |
46 |
47 |
48 |
49 |
50 |
51 |
52 |
53 |
54 |
55 |
56 | Beschreibt einen Dienst
57 |
58 |
59 |
60 |
61 |
62 |
63 |
64 |
65 |
66 | Endpunkt des Dienstes
67 |
68 |
69 |
70 |
71 | Endpunkt des Dienstes
72 |
73 |
74 |
75 |
76 | Adresse der WSDL-Beschreibung
77 |
78 |
79 |
80 |
81 |
82 |
83 |
84 |
85 |
86 |
87 |
88 |
89 |
--------------------------------------------------------------------------------
/ERezeptClientSimpleExample/ERezeptClientSimpleExample/xsds/ext/latinchars.xsd:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | Diese Schema-Datei ist Bestandteil des von der KoSIT in XÖV herausgebenen Standards "Lateinische Zeichen in Unicode".
6 |
7 |
8 |
9 |
10 | Datentyp für lateinische Zeichen in Unicode
11 |
12 | Einschränkung auf lateinischen Zeichen.
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
--------------------------------------------------------------------------------
/ERezeptClientSimpleExample/ERezeptClientSimpleExample/xsds/ext/oasis-dssx-1.0-profiles-sigpolicy-schema-cd01.xsd:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
27 |
28 |
29 |
30 |
31 |
32 |
33 |
34 |
35 |
36 |
37 |
38 |
39 |
40 |
41 |
42 |
43 |
44 |
45 |
46 |
47 |
48 |
49 |
50 |
51 |
52 |
53 |
54 |
55 |
56 |
57 |
--------------------------------------------------------------------------------
/ERezeptClientSimpleExample/ERezeptClientSimpleExample/xsds/ext/xenc-schema-11.xsd:
--------------------------------------------------------------------------------
1 |
2 |
3 |
16 |
21 |
28 |
29 |
30 |
31 | ]>
32 |
33 |
34 |
35 |
36 |
37 |
38 |
39 |
40 |
41 |
42 |
43 |
44 |
45 |
46 |
47 |
48 |
49 |
50 |
51 |
52 |
53 |
54 |
55 |
56 |
57 |
58 |
59 |
60 |
61 |
62 |
63 |
64 |
65 |
66 |
67 |
68 |
69 |
70 |
71 |
72 |
73 |
74 |
75 |
76 |
77 |
78 |
79 |
80 |
81 |
82 |
83 |
84 |
85 |
86 |
87 |
88 |
89 |
90 |
91 |
92 |
93 |
94 |
95 |
96 |
97 |
98 |
99 |
100 |
101 |
102 |
103 |
--------------------------------------------------------------------------------
/ERezeptClientSimpleExample/ERezeptClientSimpleExample/xsds/ext/xml.xsd:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 | See http://www.w3.org/XML/1998/namespace.html and
8 | http://www.w3.org/TR/REC-xml for information about this namespace.
9 |
10 | This schema document describes the XML namespace, in a form
11 | suitable for import by other schema documents.
12 |
13 | Note that local names in this namespace are intended to be defined
14 | only by the World Wide Web Consortium or its subgroups. The
15 | following names are currently defined in this namespace and should
16 | not be used with conflicting semantics by any Working Group,
17 | specification, or document instance:
18 |
19 | base (as an attribute name): denotes an attribute whose value
20 | provides a URI to be used as the base for interpreting any
21 | relative URIs in the scope of the element on which it
22 | appears; its value is inherited. This name is reserved
23 | by virtue of its definition in the XML Base specification.
24 |
25 | lang (as an attribute name): denotes an attribute whose value
26 | is a language code for the natural language of the content of
27 | any element; its value is inherited. This name is reserved
28 | by virtue of its definition in the XML specification.
29 |
30 | space (as an attribute name): denotes an attribute whose
31 | value is a keyword indicating what whitespace processing
32 | discipline is intended for the content of the element; its
33 | value is inherited. This name is reserved by virtue of its
34 | definition in the XML specification.
35 |
36 | Father (in any context at all): denotes Jon Bosak, the chair of
37 | the original XML Working Group. This name is reserved by
38 | the following decision of the W3C XML Plenary and
39 | XML Coordination groups:
40 |
41 | In appreciation for his vision, leadership and dedication
42 | the W3C XML Plenary on this 10th day of February, 2000
43 | reserves for Jon Bosak in perpetuity the XML name
44 | xml:Father
45 |
46 |
47 |
48 |
49 | This schema defines attributes and an attribute group
50 | suitable for use by
51 | schemas wishing to allow xml:base, xml:lang or xml:space attributes
52 | on elements they define.
53 |
54 | To enable this, such a schema must import this schema
55 | for the XML namespace, e.g. as follows:
56 | <schema . . .>
57 | . . .
58 | <import namespace="http://www.w3.org/XML/1998/namespace"
59 | schemaLocation="http://www.w3.org/2001/03/xml.xsd"/>
60 |
61 | Subsequently, qualified reference to any of the attributes
62 | or the group defined below will have the desired effect, e.g.
63 |
64 | <type . . .>
65 | . . .
66 | <attributeGroup ref="xml:specialAttrs"/>
67 |
68 | will define a type which will schema-validate an instance
69 | element with any of those attributes
70 |
71 |
72 |
73 | In keeping with the XML Schema WG's standard versioning
74 | policy, this schema document will persist at
75 | http://www.w3.org/2001/03/xml.xsd.
76 | At the date of issue it can also be found at
77 | http://www.w3.org/2001/xml.xsd.
78 | The schema document at that URI may however change in the future,
79 | in order to remain compatible with the latest version of XML Schema
80 | itself. In other words, if the XML Schema namespace changes, the version
81 | of this document at
82 | http://www.w3.org/2001/xml.xsd will change
83 | accordingly; the version at
84 | http://www.w3.org/2001/03/xml.xsd will not change.
85 |
86 |
87 |
88 |
89 |
90 | In due course, we should install the relevant ISO 2- and 3-letter
91 | codes as the enumerated possible values . . .
92 |
93 |
94 |
95 |
96 |
97 |
98 |
99 |
100 |
101 |
102 |
103 |
104 |
105 |
106 | See http://www.w3.org/TR/xmlbase/ for
107 | information about this attribute.
108 |
109 |
110 |
111 |
112 |
113 |
114 |
115 |
116 |
117 |
118 |
--------------------------------------------------------------------------------
/ERezeptClientSimpleExample/ERezeptClientSimpleExample/xsds/tel/error/TelematikError.xsd:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 | Copyright (c) 2012, gematik - Gesellschaft für
8 | Telematikanwendungen der Gesundheitskarte mbH. Alle Rechte
9 | vorbehalten.
10 | Beschreibung: Dienst zur Verwaltung der Karten
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
27 |
28 |
29 |
30 |
31 |
32 |
33 |
34 |
35 |
36 |
37 |
38 |
39 |
40 |
41 |
42 |
43 |
44 |
45 |
--------------------------------------------------------------------------------
/ERezeptClientSimpleExample/ERezeptClientSimpleExample/xsds/tel/version/ProductInformation.xsd:
--------------------------------------------------------------------------------
1 |
2 |
3 |
8 |
9 |
10 |
11 | Copyright (c) 2014, gematik - Gesellschaft für
12 | Telematikanwendungen der Gesundheitskarte mbH. Alle Rechte
13 | vorbehalten.
14 | Beschreibung: Dienst zur Verwaltung der Karten
15 |
16 |
17 |
18 |
19 | Informationen über das Produkt
20 |
21 |
22 |
23 |
24 |
25 |
26 |
27 |
28 |
29 |
30 |
31 |
32 |
33 |
34 |
35 |
36 |
37 |
38 |
39 |
40 |
41 |
42 |
43 |
44 |
45 |
46 |
47 |
48 |
49 |
50 |
51 |
52 |
53 |
54 |
55 |
56 |
57 |
58 |
59 |
60 |
61 |
62 |
63 |
64 |
65 |
66 |
67 |
68 |
69 |
70 |
71 |
72 |
73 |
74 |
75 |
76 |
77 |
78 |
79 |
80 |
81 |
82 |
83 |
84 |
85 |
86 |
87 |
88 |
89 |
90 |
91 |
92 |
93 |
94 |
95 |
96 |
97 |
98 |
99 |
100 |
101 |
102 |
103 |
104 |
105 |
106 |
107 |
108 |
109 |
110 |
111 |
112 |
113 |
114 |
115 |
116 |
117 |
118 |
119 |
120 |
121 |
122 |
123 |
124 |
125 |
126 |
127 |
128 |
129 |
130 |
131 |
132 |
133 |
134 |
135 |
136 |
137 |
138 |
139 |
140 | Datum der Informationsabfrage über das Produkt
141 |
142 |
143 |
144 |
145 |
146 |
147 |
148 |
149 |
150 |
151 |
152 |
153 |
154 |
155 |
156 |
157 |
158 |
159 |
160 |
161 |
--------------------------------------------------------------------------------
/Gematik_Logo_Flag_With_Background.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/gematik/ref-erp-client-cs/99b0f7466f65ed2bd00a11b467741dd4113944db/Gematik_Logo_Flag_With_Background.png
--------------------------------------------------------------------------------
/LICENSE:
--------------------------------------------------------------------------------
1 | Copyright (c) 2024 gematik GmbH
2 |
3 | Licensed under the Apache License, Version 2.0 (the "License");
4 | you may not use this file except in compliance with the License.
5 | You may obtain a copy of the License at
6 |
7 | http://www.apache.org/licenses/LICENSE-2.0
8 |
9 | Unless required by applicable law or agreed to in writing, software
10 | distributed under the License is distributed on an "AS IS" BASIS,
11 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 | See the License for the specific language governing permissions and
13 | limitations under the License.
14 |
--------------------------------------------------------------------------------
/README.md:
--------------------------------------------------------------------------------
1 |
2 |
3 | # ref-erp-client-cs
4 |
5 |
6 | Table of Contents
7 |
8 | Motivation
9 | Funktionsumfang
10 | Konfiguration
11 | xsds-Ordner
12 |
13 |
14 |
15 | ## Motivation
16 |
17 | Der Beispiel-Code zeigt exemplarisch die Ansteuerung von IDP und ERezept-Fachdienst aus Arzt- und Apothekensystemen in C# mit Hilfe der ***TITUS-Demoumgebung***.
18 | Der Beispielcode versucht viele Aspekte der Spezifikation umzusetzen, ist aber nicht geeignet 1:1 in einer Produktivumgebung eingesetzt zu werden, weil vor allem
19 | Robustheit und Fehlertoleranz nicht ausreichend umgesetzt sind. Weiterhin ist die Prüfung der Signatur- und Verschlüsselungs-Zertifikate vom
20 | IDP und vom E-Rezept-Fachdienst nur ansatzweise dargestellt. Es fehlt die Prüfung der Zertifikate gemäß [gemSpec_PKI#TUK_PKI_018].
21 |
22 | ## Funktionsumfang
23 |
24 | - Beispiel zur Verschlüsselung für die VAU gemäß [gemSpec_Krypt#7]
25 |
26 | - Arzt: E-Rezept erstellen
27 | - `TestCreateERezeptInPraxis();`
28 | - führt die Authentifizierung als Arzt-Praxis mit dem IDP durch und lädt das Access_Token als BearerToken vom IDP (300s gültig!)
29 | - erzeugt mittels FHIR-Operation `$create` des E-Rezept-Fachdienstes eine Task-Ressource, um die RezeptID zu erzeugen.
30 | Der Request wird verschlüsselt und an die VAU verschickt
31 | siehe https://github.com/gematik/api-erp/blob/master/docs/authentisieren.adoc
32 | - der Vorgang wird ein 2. mal wiederholt um zu demonstrieren, wie mit der VAU und deren Nutzer-Pseudonym ab dem 2. Call umzugehen ist
33 | - das macht das Bsp **nicht**:
34 | - auf ähnliche Weise kann dann der mit dem Konnektor signierte FHIR-Datensatz (Rezept-Bundle) als Rezept angelegt werden (`$activate`-Operation).
35 |
36 | - Apotheke: E-Rezept abholen
37 | - führt die Authentifizierung als Apotheke mit dem IDP durch und lädt das Access_Token als BearerToken vom IDP
38 | - Beispiel lädt ein ERezept in die Apotheke unter Angabe von Access_Token, taskid und accesscode (unter Nutzung von IDP und VAU).
39 | `TestAcceptRezeptInApotheke(taskid : "19b56423-201c-11b2-804f-df8a779f13bd", accesscode : "c8a8086dc855bd7fb19630bfaae254b86068eca45131f32382cb6b27d75841ee");`
40 | Dieses Rezept sollte vor jedem Lauf in Titus unter Rezeptverwaltung neu erzeugt werden, da derzeit jedes ERezept nur genau einmal geladen werden kann. (Sonst gibt es einen Fehler)
41 | - bildet den `$accept`-Request zum E-Rezept-Fachdienst, um ein E-Rezept abzurufen und auszugeben.
42 | - Der Request wird verschlüsselt an die VAU verschickt.
43 | siehe https://github.com/gematik/api-erp/blob/master/docs/authentisieren.adoc
44 |
45 | **Derzeit sind im Code noch einige Stellen mit `TITUS BUG` markiert, die in den nächsten TITUS-Releases behoben werden und dann in diesem Projekt korrigiert werden können**
46 |
47 | ## Konfiguration
48 |
49 | In `Program.cs` sind alle URLs, und variablen Einstellungsparameter für den Konnektorkontext, IDP als Konstanten angelegt und so konfiguriert, dass man nur
50 | einen Parmameter zwingend anpassen muss:
51 |
52 | /// Client-Zertifikat für die Kommunikation mit dem lokalen Konnektor des PS
53 | /// kann aus Download aus TITUS unter Mandanteninformation heruntergeladen werden
54 | static readonly X509Certificate2 KonnektorCommunikationCert = new(File.ReadAllBytes(@"C:\work\ps_erp_aps_01.p12"), "00");
55 |
56 | **Ersetzen Sie `C:\work\ps_erp_aps_01.p12` durch das Client-Zertifikat aus Ihrem TITUS-Account!**
57 |
58 | ## xsds-Ordner
59 | enthält die für die Generierung der Konnektor-Webserviceendpunkt nötigen WDSL Dateien
60 | `VS2029 -> Add Service Reference ...`
61 | Download unter: https://fachportal.gematik.de/fileadmin/Fachportal/Downloadcenter/Schemata-_und_WSDL-Dateien/Schema-_und_WSDL-Dateien/OPB3.1_Schemadateien_R3.1.2_Kon_PTV3_20191002.zip
62 |
--------------------------------------------------------------------------------
/SECURITY.md:
--------------------------------------------------------------------------------
1 | # Security Policy
2 |
3 | Please submit an issue or pull request for any non critical bugs
4 | or non critical vulnerabilities you find.
5 |
6 | In case of a responsible disclosure, please follow instructions
7 | on .
8 |
--------------------------------------------------------------------------------