1 / 48

Alternatives for Message Signature from Sender

Alternatives for Message Signature from Sender. Approach 1 X12 58 to digitally sign X12 transaction set Optional: X12 815 to transmit signer’s public key and/or location of Signer’s Public Certificate

Download Presentation

Alternatives for Message Signature from Sender

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Alternatives for Message Signature from Sender • Approach 1 • X12 58 to digitally sign X12 transaction set • Optional: X12 815 to transmit signer’s public key and/or location of Signer’s Public Certificate • Include Signer’s Public Certificate as binary object in SOAP body (SOAP gateway will use MTOM to convert binary data to MIME attachment) • Signer’s Public Certificate could be either held in an esMD specific schema (e.g. <esMD:Certificate>) or added to CORE metadata • Approach 2 • XML SIG in SOAP body to digitally sign payload • Include Signer’s Public Certificate as binary object in XML SIG • Digital Signature location could be either esMD specific schemas (e.g. <esMD:Signature>) or added to CORE metadata

  2. Alternatives for Delegation of Rights • Signed SAML Assertion included as XML in message header (WS-Security) or message body (esMD Metadata) • Delegator of rights signs assertion containing issuer and serial number of public certificate of receiver of rights • Proxy certificate included as attachment in message body • Delegator of rights signs proxy certificate of receiver of rights • Signed X12 815 transaction set included in functional group of X12 message • X12 815 contains public key of receiver of rights • X12 58 is used to sign X12 815 with private key of delegator of rights

  3. Comparison of approaches to transmitting esMD Security Artifacts

  4. esMD Security Metadata applied to supported transport options Phase II CAQH CORE 270: Connectivity Rule Version 2.2.0 eHealth Exchange Direct

  5. SAML Overview

  6. SAML Participants • At a minimum, SAML exchanges take place between system entities referred to as a SAML asserting party, which makes SAML assertions, and a SAML relying party, which uses assertions it has received. Most SAML assertions are in regards to a Subject about whom the assertion is being made. • When a SAML asserting or relying party makes a direct request to another SAML entity, the party making the request is called a SAML requester, and the other party is referred to as a SAML responder. • A relying party's willingness to rely on information from an asserting party depends on the existence of a trust relationship with the asserting party. • SAML system entities can operate in a variety of SAML roles which define the SAML services and protocol messages they will use and the types of assertions they will generate or consume. • Example SSO Roles: • Principal – Subject of Assertion • Identity Provider – SAML asserting party • Service Provider – SAML relying party

  7. SAML Assertions An assertion contains some basic required and optional information that applies to all its statements, and usually contains a subject of the assertion, conditions used to validate the assertion, and assertion statements. Authentication statements: These are created by the party that successfully authenticated a user. At a minimum, they describe the particular means used to authenticate the user and the specific time at which the authentication took place. Attribute statements: These contain specific identifying attributes about the subject (for example, that user “John Doe” has “Gold” card status). Authorization decision statements: These define something that the subject is entitled to do (for example, whether “John Doe” is permitted to buy a specified item).

  8. Confirmation Method • The SubjectConfirmation element provides the means for a relying party to verify the correspondence of the subject of the assertion with the party with whom the relying party is communicating. The Method attribute indicates the specific method that the relying party should use to make this determination. • SAML 2.0 accounts for three different security scenarios by defining three values for the Method attribute of the SubjectConformationelement, these are • holder-of-key – the attesting entity demonstrates knowledge of specific key information to use the assertion (and thereby lay claim to some relationship with the subject within). • sender-vouches - the relying party has an existing trust relationship with the attesting entity. The attesting entity vouches for the subject of the assertion. • bearer - any party that bears the Assertion may use the assertion.

  9. SAML Specifications SAML consists of building-block components that, when put together, allow a number of use cases to be supported. The components primarily permit transfer of identity, authentication, attribute, and authorization information between autonomous organizations that have an established trust relationship. Core:Defines the structure and content of both assertions and protocol messages used to transfer this information. Protocols: Generalized methods to request assertions and respond to requests for assertions. Bindings: Mappings of SAML protocols onto standard messaging and communication protocols. Profiles: Combinations of assertions, protocols, and bindings to support a defined use case. Metadata:Defines a way to express and share configuration information between SAML parties.

  10. SAML Protocols Requests and responses for obtaining assertions and doing identity management. Assertion Query and Request Protocol: Defines a set of queries by which SAML assertions may be obtained. The Request form of this protocol can ask an asserting party for an existing assertion by referring to its assertion ID. The Query form of this protocol defines how a relying party can ask for assertions (new or existing) on the basis of a specific subject and the desired statement type. Artifact Resolution Protocol: Provides a mechanism by which SAML protocol messages may be passed by reference using a small, fixed-length value called an artifact. The artifact receiver uses the Artifact Resolution Protocol to ask the message creator to dereference the artifact and return the actual protocol message. The artifact is typically passed to a message recipient using one SAML binding (e.g. HTTP Redirect) while the resolution request and response take place over a synchronous binding, such as SOAP. Authentication Request Protocol Single Logout Protocol Name Identifier Management Protocol Name Identifier Mapping Protocol

  11. SAML Bindings Mappings of SAML protocols onto standard messaging and communication protocols. SAML SOAP Binding: Defines how SAML protocol messages are transported within SOAP 1.1 messages, with details about using SOAP over HTTP. HTTP Redirect Binding: Defines how SAML protocol messages can be transported using HTTP redirect messages (302 status code responses). HTTP POST Binding: Defines how SAML protocol messages can be transported within the base64-encoded content of an HTML form control. SAML URI Binding: Defines a means for retrieving an existing SAML assertion by resolving a URI (uniform resource identifier). HTTP Artifact Binding: Defines how an artifact (described above in the Artifact Resolution Protocol) is transported from a message sender to a message receiver using HTTP. Two mechanisms are provided: either an HTML form control or a query string in the URL.

  12. SAML Profiles Combinations of assertions, protocols, and bindings to support a defined use case. Assertion Query/Request Profile: Defines how SAML entities can use the SAML Query and Request Protocol to obtain SAML assertions over a synchronous binding, such as SOAP. Artifact Resolution Profile: Defines how SAML entities can use the Artifact Resolution Protocol over a synchronous binding, such as SOAP, to obtain the protocol message referred to by an artifact. SSO Profiles of SAML Name Identifier Mapping Profile SAML Attribute Profiles

  13. Example 1: esMD Use Case 1 • A Provider delegates eMDR registration to an HIH. A SAML Assertion is used to communicate this delegation to the payer. • Participants • SAML Asserting Party: Provider(or trusted third party SAML Service) • SAML Relying Party: Payer • Subject of SAML Assertion: HIH • The HIH signs the registration request using their private key. • Either the HIH or Payer requests an assertion from the Provider/SAML Service. • The Provider/SAML Service signs the HIH’s public key and places this in the SubjectMethod of the Assertion which is then sent to the requestor. • The Payer uses the public key provided in the SubjectMethod to verify the signature of the HIH on the registration request. • If the signature is valid, the requirements of the Holder-of-Key confirmation method are satisfied. The Payer knows that the HIH is the Subject of the Assertion and any assertions the Provider/SAML Service has made apply to that HIH.

  14. Use of SAML for esMD Delegation of Rights • Benefits • Provides structured format to exchange assertions • Holder-of-Key Confirmation Method aligns well to esMD requirements • OASIS specifications can be combined to support variety of use cases • Considerations • Providers/SAML Service, HIHs, and Payers must support components of SAML including SAML Core and any implementation specific profiles • Either the Provider or a trusted third party SAML Service working on their behalf would require a SAML endpoint capable of creating and signing assertions using their private key • SAML Assertions are usually generated and consumed for a specific request and not stored or exchanged as documents for long periods of time

  15. Security Standards under Review for esMD

  16. Transaction Timeline CAQH CORE Metadata CAQH CORE/ XD* Metadata X12 58 Signature WS-Security WS-Security X12 58 Signature DSG Signature XD* Metadata Encryption (transport level) DSG Signature Content packaged into payload Message created Message Sent Message Received Process Header Process Payload Process Content Store Content Electronic Content Created Content Stored as a document Internal Systems Internal Systems Gateway Internet Gateway An esMD transaction begins with the creation of some type of electronic content (e.g. X12 274, 277, or 275 message or an HPD Plus DSML, CDA, or PDF document). As the content is packaged into a message and sent, security elements are added at points along the timeline dependent on the standard(s) selected and the purpose of the security element. This process is reversed on the receiving end.

  17. IHE DSG Transaction Structure The Document Digital Signature (DSG) content profile specifies the use of XML Advanced Electronic Signatures (XAdES) for documents that are shared between organizations. Process Flow for Phase 1 Sending Medical Documentation

  18. Extensions to Metadata Transaction Structure This approach would extend existing metadata to support the exchange of the required security information. For esMD, this would require extensions to CAQH CORE and XD* metadata. We would need to work with the relevant organizations to seek inclusion of these changes in future specifications. Process Flow for UC1 Registration

  19. X12 58 Transaction Structure This standard defines the data formats for authentication, encryption, and assurances in order to provide integrity, confidentiality, and verification and non-repudiation of origin for two levels of exchange of EDI formatted data defined by ASC X12. Process Flow for UC1 Registration

  20. WS-Security Transaction Structure This specification extends SOAP Messages to provide three main security capabilities: the ability to send security tokens as part of a message, message integrity, and message confidentiality. Process Flow for UC1 Registration

  21. esMD Security Requirements

  22. Identity Requirements

  23. Authenticity Requirements 1/2

  24. Authenticity Requirements 2/2

  25. Authority Requirements

  26. Encryption Requirements Note: esMD assumes transport level encryption is in place. Payload encryption is still under consideration

  27. General Requirements

  28. esMD Security Requirements Aligned to Standards by Use Case

  29. Use Case 1: Requirements for Registration

  30. Use Case 2: Requirements for Sending eMDRs

  31. Phase 1: Requirements for Sending Electronic Medical Documentation

  32. Conclusions • No single standard/specification supports all requirements for all use cases • Support for some requirements depends on implementation details • Example: WS-Security can sign an entire message or a portion of a message, including the payload. However, this signature would usually be processed by the SOAP gateway and unavailable to the internal information systems. • A mix of standards may be required, each one selected to fulfill a specific requirement

  33. Comparison of Security Standards under Review for esMD

  34. IHE DSG • Strengths • Supports transmission of signatures and certificates • Based on XMLSig and XAdES which provides long-term validation of signatures • Can be used to sign any kind of document • XML transforms are not required • Signatures applied to payload and processed by internal system • Potentially meets AoR Level 2 requirements • Weaknesses • Receiver must track both signed document and signature document • Applicability limited to signing of documents • Probably does not meet AoR Level 3 requirements

  35. Extensions to Metadata Strengths Potentially designed to meet exact needs of esMD Signatures applied to payload and processed by internal system Weaknesses May require changes to existing standards Relevant SDOs may choose to not adopt changes Alternatives MIME Attachments: Attach various security artifact files to payload using appropriate MIME content-type

  36. X12 58 • Strengths • Standard across all X12 transactions • Applies signature at payload level • Weaknesses • Only applicable to X12 transactions • Requires separate transaction to exchange certificates • Requires maintenance of certificates apart from transaction • No support for Delegation of Rights

  37. WS-Security • Strengths • Supports transmission of signatures and certificates • Easily supported in all SOAP based transactions • Based on XMLSig standard • Can support XAdES which provides long-term validation of signatures • Supports exchange of SAML Assertions(for Delegation of Rights) • Weaknesses • Signatures are applied to message and processed at gateway • Gateway would require additional configuration to pass signatures, certificates, and SAML Assertions to internal system • No definitive specification binding SOAP over SMTP for Direct purposes • Alternatives • S/MIME: Default signing and encryption of Direct messages

  38. Security Approach 1 • Message • Metadata extension contains XML Signature of message and certificate used to verify message • Metadata extension contains SAML Assertion of message and certificate used to verify message • Phase 1 Payload • IHE DSG to sign document bundle • NwHIN/CORE: ZIP file containing document bundle and signature document placed in 275 BIN segment • Direct: ZIP file containing document bundle and signature document sent as attachment to payload • Strengths • Leverages existing standards • Supports transmission of signatures and certificates • All signatures based on XMLSig standard • Supports XAdES signature on document bundle, which provides for long-term validation of signature • Supports exchange of SAML Assertionsfor Delegation of Rights • Does not preclude use of X12 58 if required by trading partners • Weaknesses • Receiver must maintain attachments and track relationships between files • Approach is not completely transport neutral

  39. esMD Transaction Process Flow by Use Case

  40. Use Case 1: Transaction Process Flow Delegation of Rights Artifact Signature of Registration Request Public Certificate of Registration Requestor Delegation of Rights Artifact Registration Request Message Signature of Assertion Registration Request Public Certificate of Assertor Assertion of Rights

  41. Use Case 2: Transaction Process Flow eMDR Message Signature of eMDR Public Certificate of Payer/Payer Contractor eMDR

  42. Phase 1: Transaction Process Flow Signed Medical Document Bundle Signature of Document Bundle eMDR Response Message Public Certificate of Document Bundle Owner Signature of eMDR Response Medical Document Bundle Public Certificate of eMDR Consumer Document Bundle Attachment eMDR Response

  43. Appendix: Security Dataset Requirements for both Registering to Receive eMDRs & Sending eMDRs

  44. Signature Artifact The Signature Artifact (paired with the Public Digital Certificate of the Sender) will enable the message receiver to authenticate the sender, verify message integrity, and prove non-repudiation. Public Digital Certificate of Sender – x.509 certificate issued by a Certificate Authority Signature Artifact – Encrypted message digest* * The exact details of the Signature Artifact are being developed in the esMD Author of Record Initiative.

  45. Signature Artifact Example Private Key of Dr. Smith Registration Request Provider Name: Dr. Smith NPI: 987654 Service: Receive eMDRs Message Digest: 987654 hash function signature algorithm Metadata Encrypted Message Digest: H8K9QTP Public Digital Certificate of Dr. Smith 2. Payer verifies the Request came from Dr. Smith and has not been tampered with Registration Request Provider Name: Dr. Smith NPI: 987654 Service: Receive eMDRs hash function Message Digest: 987654 Verify Integrity signature algorithm Message Digest: 987654 Metadata Encrypted Message Digest: H8K9QTP Public Digital Certificate of Dr. Smith Public Key of Dr. Smith 1. Dr. Smith attaches signature artifact to Request to Register to Receive eMDRs Verify Identity

  46. Delegation of Rights Artifact The Delegation of Rights Artifact (paired with the Public Digital Certificate of Subject) enables the Subject to delegate a right to the Sender of a Request such that the Receiver can cryptographically confirm that delegation of rights has occurred. Public Digital Certificate of Subject – x.509 certificate issued by a Certificate Authority Delegation of Rights Artifact – Encrypted message digest of an assertion of rights* * The exact details of the Delegation of Rights Artifact are being developed in the esMD Author of Record Initiative.

  47. Delegation of Rights Example (1/2) Private Key of Dr. Smith Assertion of Rights Dr. Bob Smith gives Medical Data, Inc. the right to register his NPI to receive eMDRs. Expiration Date: 1/1/2013 Message Digest: 123456 hash function signature algorithm Metadata Encrypted Message Digest: U37G90P 2. Medical Data, Inc. include their Signature Artifact, Dr. Smith’s Delegation of Rights Artifact, and both Public Digital Certificates in their Request to Register Dr. Smith to Receive eMDRs Registration Request Provider Name: Dr. Bob Smith NPI: 987654 Service: Receive eMDRs Metadata Encrypted Message Digest: H8K9QTP Public Digital Certificate of Medical Data, Inc. Delegation of Rights Artifact Public Digital Certificate of Dr. Smith 1. Dr. Smith delegates the right to register his NPI to receive eMDRs to Medical Data, Inc.

  48. Delegation of Rights Example (2/2) 3. Payer verifies Medical Data, Inc. has the right to register Dr. Smith to receive eMDRs Registration Request Provider Name: Dr. Bob Smith NPI: 987654 Service: Receive eMDRs Metadata Encrypted Message Digest: H8K9QTP Public Digital Certificate of Medical Data, Inc. Delegation of Rights Artifact Public Digital Certificate of Dr. Smith Assertion of Rights Dr. Bob Smith gives Medical Data, Inc. the right to register his NPI to receive eMDRs. Expiration Date: 1/1/2013 hash function Message Digest: 123456 Metadata Encrypted Message Digest: U37G90P Message Digest: 123456 signature algorithm Verify Right Public Key of Dr. Smith

More Related