ehealth and.net. who am i?: 1’ who are you?: 1’ introduction: 2’ ehealth: 7’ eh-i:...

37
eH-I & ETEE.Net eHealth and .Net

Upload: francis-brooks

Post on 17-Dec-2015

214 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: EHealth and.Net.  Who Am I?: 1’  Who are you?: 1’  Introduction: 2’  eHealth: 7’  eH-I: 15’  ETEE.Net: 15’  License: 2’  Support: 3’

eH-I & ETEE.NeteHealth and .Net

Page 2: EHealth and.Net.  Who Am I?: 1’  Who are you?: 1’  Introduction: 2’  eHealth: 7’  eH-I: 15’  ETEE.Net: 15’  License: 2’  Support: 3’

Who Am I?: 1’ Who are you?: 1’ Introduction: 2’ eHealth: 7’ eH-I: 15’ ETEE.Net: 15’ License: 2’ Support: 3’

Topics

Page 3: EHealth and.Net.  Who Am I?: 1’  Who are you?: 1’  Introduction: 2’  eHealth: 7’  eH-I: 15’  ETEE.Net: 15’  License: 2’  Support: 3’

Who Am I? Who Are you? Introduction eHealth eH-I ETEE.Net License Support

Topics

Page 4: EHealth and.Net.  Who Am I?: 1’  Who are you?: 1’  Introduction: 2’  eHealth: 7’  eH-I: 15’  ETEE.Net: 15’  License: 2’  Support: 3’

Bryan Brouckaert Occupation:

◦ SOA Architect at Mensura◦ Coordinator of ETEE & eH-I projects on Codeplex

Experience:◦ .Net since 2002◦ Java since 2006◦ Web Services since 2003/2004

Contact: [email protected]

Who Am I?

Page 5: EHealth and.Net.  Who Am I?: 1’  Who are you?: 1’  Introduction: 2’  eHealth: 7’  eH-I: 15’  ETEE.Net: 15’  License: 2’  Support: 3’

Who Am I? Who Are you? Introduction eHealth eH-I ETEE.Net License Support

Topics

Page 6: EHealth and.Net.  Who Am I?: 1’  Who are you?: 1’  Introduction: 2’  eHealth: 7’  eH-I: 15’  ETEE.Net: 15’  License: 2’  Support: 3’

Raise hands if you know…1. .Net Framework2. VB.Net and/or C#3. Web Services4. Web Service Security5. Windows Communication Foundation (WCF)6. Java(EE)

Who Are you?

Page 7: EHealth and.Net.  Who Am I?: 1’  Who are you?: 1’  Introduction: 2’  eHealth: 7’  eH-I: 15’  ETEE.Net: 15’  License: 2’  Support: 3’

Who Am I? Who Are you? Introduction eHealth eH-I ETEE.Net License Support

Topics

Page 8: EHealth and.Net.  Who Am I?: 1’  Who are you?: 1’  Introduction: 2’  eHealth: 7’  eH-I: 15’  ETEE.Net: 15’  License: 2’  Support: 3’

eH-I◦ eHealth Interoperability, Security◦ WCF extensions for eHealth services clients◦ http://ehi.codeplex.com

ETEE.Net◦ End To End Encryption for .Net◦ Compatible with eHealth ETEE for Java◦ http://etee.codeplex.com

Introduction

Page 9: EHealth and.Net.  Who Am I?: 1’  Who are you?: 1’  Introduction: 2’  eHealth: 7’  eH-I: 15’  ETEE.Net: 15’  License: 2’  Support: 3’

Who Am I? Who Are you? Introduction eHealth eH-I ETEE.Net License Support

Topics

Page 10: EHealth and.Net.  Who Am I?: 1’  Who are you?: 1’  Introduction: 2’  eHealth: 7’  eH-I: 15’  ETEE.Net: 15’  License: 2’  Support: 3’

eH-I & ETEE.Net are NOT eHealth projects eH-I

◦ Client only, services remain 100% eHealth◦ For help on functionality/interface: eHealth◦ For help on .Net: Siemens/Community

ETEE.Net◦ .Net port of official eHealth ETEE library (Java)◦ eHealth remains responsible for specs◦ For all help: Siemens/Community

eHealth & eH-I/ETEE.Net

Page 11: EHealth and.Net.  Who Am I?: 1’  Who are you?: 1’  Introduction: 2’  eHealth: 7’  eH-I: 15’  ETEE.Net: 15’  License: 2’  Support: 3’

Open: No WS-Security Required Regular: Authenticate via Certificate Single Sign On

◦ Step 1: Get Saml-Ticket, using Authentication certificate Session certificate (HOK) Provided/Requested attributes

◦ Step n: Call web service, using Saml-Ticket Session certificate (HOK)

eHealth: Web Service, Security

Page 12: EHealth and.Net.  Who Am I?: 1’  Who are you?: 1’  Introduction: 2’  eHealth: 7’  eH-I: 15’  ETEE.Net: 15’  License: 2’  Support: 3’

eHealth: ETEE, known recip.

Page 13: EHealth and.Net.  Who Am I?: 1’  Who are you?: 1’  Introduction: 2’  eHealth: 7’  eH-I: 15’  ETEE.Net: 15’  License: 2’  Support: 3’

eHealth: ETEE, unknown recip.

Page 14: EHealth and.Net.  Who Am I?: 1’  Who are you?: 1’  Introduction: 2’  eHealth: 7’  eH-I: 15’  ETEE.Net: 15’  License: 2’  Support: 3’

Who Am I? Who Are you? Introduction eHealth eH-I ETEE.Net License Support

Topics

Page 15: EHealth and.Net.  Who Am I?: 1’  Who are you?: 1’  Introduction: 2’  eHealth: 7’  eH-I: 15’  ETEE.Net: 15’  License: 2’  Support: 3’

Library: WCF 4.0 Extensions Unit tests Examples

◦ STS◦ RN◦ Codage◦ …

Demo Tools

eH-I consists of

Page 16: EHealth and.Net.  Who Am I?: 1’  Who are you?: 1’  Introduction: 2’  eHealth: 7’  eH-I: 15’  ETEE.Net: 15’  License: 2’  Support: 3’

Where: in your own application,◦ .Net 4.0◦ WCF (not WSE)◦ eHealth (or related) web services clients

What: Configures WCF Clients to eHealth standards

How: Provide (custom) config sections Excludes: Service Clients (WSDL & Gen.

Code)

eH-I Library Usage

Page 17: EHealth and.Net.  Who Am I?: 1’  Who are you?: 1’  Introduction: 2’  eHealth: 7’  eH-I: 15’  ETEE.Net: 15’  License: 2’  Support: 3’

Shows eHealth Service (client) in action Example configuration(s)

◦ Via Code◦ Via Config

Includes◦ WSDL & XSD, eHealth remains owner!◦ Generated Client Code◦ Manual Client Code (where required)

eH-I Examples Usage

Page 18: EHealth and.Net.  Who Am I?: 1’  Who are you?: 1’  Introduction: 2’  eHealth: 7’  eH-I: 15’  ETEE.Net: 15’  License: 2’  Support: 3’

Demo (WIP)◦ Integrated example◦ Verify client machine, certificate, …

Unit Tests: internal Tools

◦ PKCS12: Split eHealth p12 file into 2 seperate files

eH-I (Other) Usage

Page 19: EHealth and.Net.  Who Am I?: 1’  Who are you?: 1’  Introduction: 2’  eHealth: 7’  eH-I: 15’  ETEE.Net: 15’  License: 2’  Support: 3’

Acquire library◦ Download “verified” assembly◦ Build own assembly from source code

Reference assembly in your project Add (eHealth) web service client(s)

◦ Add service reference in you project◦ Write web service client or copy it from samples

Provide required configuration

eH-I: Development

Page 20: EHealth and.Net.  Who Am I?: 1’  Who are you?: 1’  Introduction: 2’  eHealth: 7’  eH-I: 15’  ETEE.Net: 15’  License: 2’  Support: 3’

Acquire eHealth compatible certificate◦ eID certificate◦ eHealth issued Fedict certificate

For eHealth certificates◦ Import into Windows X509Store◦ Split p12 into 2 separate files

Reference certificate◦ X509Store: Via config or code◦ P12 file: via code

eH-I: Runtime

Page 21: EHealth and.Net.  Who Am I?: 1’  Who are you?: 1’  Introduction: 2’  eHealth: 7’  eH-I: 15’  ETEE.Net: 15’  License: 2’  Support: 3’

eH-I: Demo

Page 22: EHealth and.Net.  Who Am I?: 1’  Who are you?: 1’  Introduction: 2’  eHealth: 7’  eH-I: 15’  ETEE.Net: 15’  License: 2’  Support: 3’

Who Am I? Who Are you? Introduction eHealth eH-I ETEE.Net License Support

Topics

Page 23: EHealth and.Net.  Who Am I?: 1’  Who are you?: 1’  Introduction: 2’  eHealth: 7’  eH-I: 15’  ETEE.Net: 15’  License: 2’  Support: 3’

Core: Basic Function Set Unit Tests Library: Extended & Integrated Function Set Integration Tests Console Demo Samples

◦ VB◦ C#

ETEE.Net consists of

Page 24: EHealth and.Net.  Who Am I?: 1’  Who are you?: 1’  Introduction: 2’  eHealth: 7’  eH-I: 15’  ETEE.Net: 15’  License: 2’  Support: 3’

Where: In your own application,◦ .Net 2.0◦ Encrypts/Decrypts message (eHealth standard)

What: encryption/decryption/validation functions.

How: Calling methods Excludes:

◦ ETK & KGSS clients◦ Certificate validation (calls Windows instead)

ETEE.Net Core Usage

Page 25: EHealth and.Net.  Who Am I?: 1’  Who are you?: 1’  Introduction: 2’  eHealth: 7’  eH-I: 15’  ETEE.Net: 15’  License: 2’  Support: 3’

Depends on Core EndToEnd.cs: Examples of

◦ To known recipient◦ To known recipients◦ To unknown recipient(s)◦ To known and unknown recipients

Other: internal verification

ETEE.Net Tests Usage

Page 26: EHealth and.Net.  Who Am I?: 1’  Who are you?: 1’  Introduction: 2’  eHealth: 7’  eH-I: 15’  ETEE.Net: 15’  License: 2’  Support: 3’

Where: In you application,◦ .Net 4.0◦ Send/receive secure messages (eHealth Standard)

What: Functions, combining Core + ETK & KGSS client (uses eH-I).

How: Call methods, inherit class & Configure clients by providing (custom) config sections

Excludes: Some scenarios

ETEE.Net Library Usage

Page 27: EHealth and.Net.  Who Am I?: 1’  Who are you?: 1’  Introduction: 2’  eHealth: 7’  eH-I: 15’  ETEE.Net: 15’  License: 2’  Support: 3’

Depends on Library ServiceIntegrationTests.cs: Examples of

◦ Send known only◦ Send unknown and known◦ Receive known only◦ Receive unknown and known

Other: internal validation

ETEE.Net ITests Usage

Page 28: EHealth and.Net.  Who Am I?: 1’  Who are you?: 1’  Introduction: 2’  eHealth: 7’  eH-I: 15’  ETEE.Net: 15’  License: 2’  Support: 3’

Click Once Application◦ http://etee.codeplex.com/releases/clickonce/

“Real Life” example Verification of

◦ Client machine◦ Certificates◦ Received/Sent message◦ …

ETEE.Net Demo Usage

Page 29: EHealth and.Net.  Who Am I?: 1’  Who are you?: 1’  Introduction: 2’  eHealth: 7’  eH-I: 15’  ETEE.Net: 15’  License: 2’  Support: 3’

Used in SDK Doc

Core library contains SDK Doc◦ Xml format for Visual Studio integration◦ CHM format for sepearate usage

ETEE.Net Samples Usage

Page 30: EHealth and.Net.  Who Am I?: 1’  Who are you?: 1’  Introduction: 2’  eHealth: 7’  eH-I: 15’  ETEE.Net: 15’  License: 2’  Support: 3’

Using Core only, but not Library Acquire core

◦ Download “verified” assembly◦ Build assembly from source code

Reference core assembly in your project Get ETK & KGSS tokens in own way Call encrypt/decrypt/verify methods

ETEE.Net: Development (1)

Page 31: EHealth and.Net.  Who Am I?: 1’  Who are you?: 1’  Introduction: 2’  eHealth: 7’  eH-I: 15’  ETEE.Net: 15’  License: 2’  Support: 3’

Using Library Acquire core

◦ Download “verified” assembly◦ Build assembly from source code

Acquire library: Build assembly Reference both assemblies in your project Provide (custom) config for ETK & KGSS

client Write your own PostMaster class Call send/receive methods

ETEE.Net: Development (2)

Page 32: EHealth and.Net.  Who Am I?: 1’  Who are you?: 1’  Introduction: 2’  eHealth: 7’  eH-I: 15’  ETEE.Net: 15’  License: 2’  Support: 3’

Acquire eHealth Fedict issued certificate Repare eHealth certificate

◦ Import into Windows X509Store◦ Split p12 into 2 separate files

Reference certificate◦ X509Store: Via config or code◦ P12 file: via code

ETEE.Net: Runtime

Page 33: EHealth and.Net.  Who Am I?: 1’  Who are you?: 1’  Introduction: 2’  eHealth: 7’  eH-I: 15’  ETEE.Net: 15’  License: 2’  Support: 3’

ETEE.Net: Demo

Page 34: EHealth and.Net.  Who Am I?: 1’  Who are you?: 1’  Introduction: 2’  eHealth: 7’  eH-I: 15’  ETEE.Net: 15’  License: 2’  Support: 3’

Who Am I? Who Are you? Introduction eHealth eH-I ETEE.Net License Support

Topics

Page 35: EHealth and.Net.  Who Am I?: 1’  Who are you?: 1’  Introduction: 2’  eHealth: 7’  eH-I: 15’  ETEE.Net: 15’  License: 2’  Support: 3’

LGPLv3: Lesser General Public License v3 Guarantees: NONE Usage Restrictions on Assembly (dll)

◦ Verified build: none◦ Self build, no changes: none◦ Self build, modified: provide source + dep. to clients

Usage Restrictions on Code (and other) files◦ Unchanged: provide sources to client◦ Changed: Provide changed sources + dep. to client

Support your community, publish your extensions!

License

Page 36: EHealth and.Net.  Who Am I?: 1’  Who are you?: 1’  Introduction: 2’  eHealth: 7’  eH-I: 15’  ETEE.Net: 15’  License: 2’  Support: 3’

Who Am I? Who Are you? Introduction eHealth eH-I ETEE.Net License Support

Topics

Page 37: EHealth and.Net.  Who Am I?: 1’  Who are you?: 1’  Introduction: 2’  eHealth: 7’  eH-I: 15’  ETEE.Net: 15’  License: 2’  Support: 3’

SDK Documentation (ETEE.Net only) WIKI on Codeplex

◦ http://ehi.codeplex.com/documentation◦ http://etee.codeplex.com/documentation

Discussions on Codeplex◦ http://ehi.codeplex.com/discussions◦ http://etee.codeplex.com/discussions

Issues on Codplex Direct mail (only for private artifacts):

[email protected]

Community Support