SlideShare a Scribd company logo
www.luxoft.com
v
Extending CorDapps with Self-Sovereign Identity:
Vasily Suvorov
VP Technology Strategy
Sep 12, 20018 / CordaCon 2018
Technology deep dive and sample
applications.
www.luxoft.com
Emerging standards for decentrilized identity
DECENTRALIZED IDENTITY FOUNDATION
DECENTRALIZED IDENTITIES
Anchored by
BLOCKCHAIN IDs
Linked to
ZERO-TRUST DATASTORES
That are
UNIVERSALLY DISCOVERABLE
for people, organizations, apps and devices.
Credentials Community Group
Verifiable Claims Working Group
www.luxoft.com
Decentralized Identifiers (DIDs) and DID Documents
Key enablers for decentralized self-sovereign identity
Decentralized
Self-Sovereignty
Privacy
Security
Proof-based
Discoverability
Interoperability
Portability
Simplicity
Extensibility
DESIGN GOALS
DID
DID
Document
Also Service end-points, Proofs, Extensions, etc
See https://w3c-ccg.github.io/did-spec/ for details
www.luxoft.com
4
ISSUED BY
CORRECT, REVOCABLE
INCORRUPTIBLE, CORRECT OWNERSHIP
By decoupling the trust between the identity provider and the relying party, a more flexible and dynamic trust model is
created such that market competition and customer choice is increased.
REPOSITORY
ISSUER + HOLDER
=
IDENTITY PROVIDER
ISSUER DOESN’T
NEED TO TRUST
VERIFIER
Verifiable claims/credentials – roles & trust under Self-Sovereignty
www.luxoft.com
Verifiable credentials
How DIDs become (use-case specific) Identities
W3C Example
DMV – issuer
Traveler – Holder/Subject
DID:EXAMPLE:EBFEB…
Bar - inspector/verifier
Credential
Credential
www.luxoft.com
DID/Verifiable Credentials implementation
uPort, Ethereum (ERC725), IPFS, Blockstack, Ontology Foundation and others support DID/DDO
OSS Project under Hyperledger
Provides key enabling components:
BFT Ledger / Nodes
Cryptographic primitives
Client SDK
Can be used for Dev/Private Network
Public Utility Network for SSI
Based on Indy Technology
Governance Board
Trust Framework
Network Operations & Growth
Supports scalable, global SSI
based applications
www.luxoft.com
Sovrin/Indy – key features overview
 Dedicated, public but permissioned ledger
 Pair-wise DIDs
 Agents based claims/proofs exchanges
 Implements Attribute Based Claims (ABCs)
 ZKPs for selective disclosure & revocation
Owner
Issuer Verifier
Existing Trust
Relationship
ZKP
Verifying
Protocol
Issuing
Protocol
ZK Verifiable
Credential
Zero Knowledge
Proof
Edge Agent
Edge Wallet
Edge Agent
Edge Wallet
Edge Layer
Cloud Agent
Cloud Wallet
Cloud Agent
Cloud WalletCloud Layer
DID Layer
Verifiable Claim
www.luxoft.com
The case for combining blockchain/DLT technologies
„Orchestration” Use-Cases
 Buying & Selling: Property, Cars, …
 Healthcare
 Supplier Management
 Multi-Party Business Process:
 Order of activities is well defined
 Strong pre-conditions & dependencies
 Relationships and Attestations serve as “Checkboxes”
 Strong Privacy requirements / preferences
DECENTRALIZED
IDENTITY LEDGER
DEFs / SCHEMAS
DIDs
Rules
State
DLT
www.luxoft.com
Indy/Sovrin under the hood - 1/3
credential definition: {
"ver":"1.0",
"id":"V4SGRU86Z58d6TV7PBUe6f:3:CL:12:TAG_1",
"schemaId":"12",
"type":"CL",
"tag":"TAG_1",
"value":{
"primary": {
"n":"104273...84493",
"s":"824420…08151",
"rms":"52810…7940757153551267",
"r":{
"attr2":"73…809361",
"attr1":"88653…3706"
},
"rctxt":"6775...3821855822433",
"z":"418407...5877279897334588"
}
}
}
schema: {
"ver":"1.0",
"id": "V4SGRU86Z58d6TV7PBUe6f:2:schema_name:1.0",
"name":"schema_name",
"version":"1.0",
"attrNames":["attr1","attr2"],
"seqNo":12
}
new schema
by authority
schema
from authority
new definition
by issuer #1
new definition
by issuer #2
new definition
by issuer #3
What’s in the blocks?
Schema
A structure that defines future credential
format or credential specification.
Credential
A digital assertion about identity attributes made
by a Ledger Entity about itself or another Ledger
Entity.
A Credential may be Public Data or Private
Data.
Credential Definition
A machine-readable definition of the semantic
structure of a Credential. (i.e. Public Key)
Proof
Cryptographic verification of a Credential.
PlenumLedger
Who interacts with the Ledger?
Authority
Creates Schemas
Issuer
Creates Credential Definitions
Prover
A Prover receives Credentials from the
Issuers. Both Prover and Issuer interact to
agree on some facts.
Verifier
Requests Proofs
www.luxoft.com
1. Insurance#3 issues credential based on a
definition
Insurance#3
Government
2. Ask to proof some data issued by
insurance#3 without revealing it
3. ZKP
PRIVATE WALLET
 Keys
 Credentials
 Validity Proofs
Indy/Sovrin under the hood - 2/3
digital verification takes 2 steps:
tting a credential from an issuer
eating proof for a verifier
re 2 types of proofs:
nsparent – all Attrs are revealed
P – Attrs are selectively disclosed
DID
DID’
• Pairwise DIDs are used
• Agents (secure exchange)
are not out-of-the-box.
www.luxoft.com
tcp/ip
POOL HANDLES INDY/SOVRIN LEDGER CONNECTION CONFIGURATION
1. Trustee
2. Steward
3. Trust Anchor
4. User
PRIVATE, TEST, PUBLIC NETWORKS
Pool genesis file
• Contains initial set of Nodes a Pool is started from
• New Nodes will be added by sending new NODE trx to be written into
the Ledger
• All new Nodes and Clients will use genesis transaction file to connect
to initial set of Nodes,
• Will discover new Nodes based on NODE trx in the Ledger
Genesis transactions files initialize the ledger.
TEST NETWORKDEV. DOCKER NETWORK PUBLIC NETWORK
NYMs
INDY SDK
DID LEDGER
WRAPPERS
PRIVATE WALLET
 Keys
 Credentials
 Validity Proofs
Indy/Sovrin
under the hood
3/3
www.luxoft.com
1
2
3
4
SDK modules and interfaces
Ledger
Ledger is responsible for public information exchange: schema,
definitions, revocation registry
Anoncreds
Functionality for anonymous credentials: schema, credential
definition, revocation, proof and request generations, etc. It
provides cryptographic primitives to generate proofs and sign
messages
DID
DID & DDO management functionality
Pool
Pool manages the local ledger configuration that can be used
later to connect to “pool nodes."
Pairwise
Individual keys pair to prevent relationships between issued
credentials. Extends DID functionality.
Wallet
Secure private wallet exposes interfaces to operate with private
information: credentials, keys, etc.
fun issuerCreateAndStoreCredentialDef(…)
fun proverCreateProof(…)
fun issuerCreateCredential(…)
NEW SCHEMA HAS TO BE REGISTERED ON PUBLIC LEDGER
ISSUER HAS TO CREATE CREDENTIAL DEFINITION (PK) AND PUBLISH ON LEDGER
PROVER ASKS FOR NEW CREDENTIAL
PROVER CREATES DIGITAL PROOF TO CONVINCE VERIFIER
fun issuerCreateSchema(…)
SKD JAVA WRAPPER
www.luxoft.com
CORDAPP #Y
…
CORDAPP #X
…
FLOWS
FLOWS
CORDAPPS
Corda applications running on
private client’s node
FLOWS
FLOWS
FLOWS
FLOWS
CORDAPPS
Corda applications running on
private company’s node
FLOWS
FLOWS
FLOWS
FLOWS
INDYSDK
INDY-
UTILS CORDENTITY Indy specific flows to work with
the Credentials and Proofs
Application specific flows to implement
required business process
 Cordentity is an utility CorDapp which exposes high level APIs hiding complexity of Hyperledger Indy
 Cordentity doesn’t require deep knowledge of cryptography or Indy’s functionality. It operates with
basic primitives: schema, definition and proofs.
 Cordentity utilizes Corda’s flows, states and contracts
DID:SOV:12345689ABCDEFGAB
Corda + Indy = Luxoft’s Cordentity
PRIVATE WALLET
 Keys
 Credentials
 Validity Proofs
INDY-CREDENTIAL: CredentialRequest & Credential
INDY-CREDENTIAL-PROOF: ProofReq & Proof
STATES
Holder/Issuer
Prover/Verifier
www.luxoft.com
Cordentity – usage overview
class Authority(
private val schemaName: String,
private val schemaVersion: String,
private val schemaAttributes: List<String>
) : FlowLogic<String>()
CREATE SCHEMA FLOW
class Authority(private val schemaId: String)
: FlowLogic<String>()
CREATE CREDENTIAL DEF FLOW
class Issuer(private val identifier: String,
private val credDefId: String,
private val credProposal: String,
private val proverName: CordaX500Name) : FlowLogic<Unit>()
ISSUE CREDENTIAL FLOW
class Verifier(
private val identifier: String,
private val attributes: List<ProofAttribute>,
private val predicates: List<ProofPredicate>,
private val proverName: CordaX500Name
) : FlowLogic<Boolean>()
VERIFY CREDENTIAL FLOW
AUTHORITY & ISSUER
Legal entities create new schema as a definition of future credentials
Authorities authorized to issue user’s credentials create credentials
definition on top of the existing schemas
User requests new credential from one of the authorities
Two users check/verify credentials
PROVER & VERIFIER
 Every individual Corda Node that uses Cordentity has a private wallet
 Cordentity’s flows interact with a specified Indy network
 Indy network should be specified via file with genesis transactions. There are 3 type of networks:
docker powered (development), STN and production.
 Authority or Issuer have to get permissions. AssignPermissionsFlow provides suitable interfaces.
1. AssignPermissionsFlow
2. CreateCredentialDefFlow
3. CreateSchemaFlow
4. IssueCredentialFlow
5. VerifyCredentialFLow
Flows
Party#1 Party#2
Two type of data in a proof: Predicates and Attributes.
•A predicate is never revealed and just checked on a criteria.
•An attribute will be revealed.
www.luxoft.com
AUTHORITY
ISSUER #1 ISSUER #2 ISSUER #3
PROVER VERIFIER
AUTHORITY
INSURANCE
PROVER
PATIENT
VERIFIER
TREATMENT CENTER
ISSUER
INSURANCE
AUTHORITY
GOVERNMENT
ISSUER
GOVERNMENT
SCHEMA #2SCHEMA #1
CREDENTIAL
DEFINITION #2
CREDENTIAL
DEFINITION #1
CREDENTIALS CREDENTIAL DEFINITIONS
CREATE SCHEMA
CreateSchemaFlow
ASSIGN PERMISSIONS
AssignPermissionsFlow
CREATE CREDENTIAL DEFINITION
CreateCredentialDefinitionFlow
ISSUE CREDENTIAL
IssueCredentialFlow
DATA VERIFICATION
VerifyCredentialFlow
BASIC
RELATIONSHIPS MODEL
USE-CASE SPECIFIC
RELATIONSHIPS MODEL
Trust / Attestations Mapping
www.luxoft.com
Complete Sample Application
Personalized Medicine End-to-End Ecosystem
3
Treatment Center
places pers. medication
order to the assigned
Manufacturer
DID:SOV:135473839JFGDFEDH
1
DID:SOV:12345689ABCDEFGAB
Patient is prescribed
with a personalized
medicine therapy
2
Insurance company
confirms the coverage
of therapy costs
DID:SOV:937472047DEFHASGCC
5
Courier
delivers the package
to the Treatment center
4
Manufacturer
produces and ships the pers.
medication package
6
Patient receives the
therapy at the
Treatment center
 Personal data is kept privately
and not shared with external participants
 Participants’ data is verifiable
and immutable against fraud
 Selective data visibility
 Isolated pairwise relationships
between participants
www.luxoft.com
PRODUCTION &
SHIPMENT
AUTHENTICATION
PRECONDITIONS:
•Patient gets Credentials from a
number of different Authorities and
stores them privately.
•Two Authorities are required for
processing: Insurance and
Government.
Business Rules
PICK-UP
Patient creates proof for Treatment Center based on Claims
from well known Authorities.
Some data are revealed during the interaction and other is kept
secret.
The Prover needs to reveal: medical package, diagnosis
and treatment recommendation.
The Prover also needs to prove to the Verifier nationality, age
(above 18) and stage (above 3) of disease.
If patient is authenticated successfully the production process
starts.
The Treatment center connects to Manufacturer to request new
production. On every steps all involved participants get
notifications about the status.
Finally, the Patient returns back to the Treatment center to collect
the package. He confirms his rights and gets the product.
www.luxoft.com
Phase I – Initiate Manufacturing
Treatment
Center
Manufacture
r
Patient
Age,
nation,
diagnosis,
Insurance
IndyCredentialProof
Corda State
Manufacturing
Request
PackageRequest
CordaState
observers: patient
Digital
Order
Confirmation
subflow subflow
subflow
IndyCredential,
Corda State
3 Treatment Center
places pers. medication order to
the assigned Manufacturer
DID:SOV:135473839JFGDFEDH
1
DID:SOV:12345689ABCDEFGAB
Patient is prescribed with a
personalized medicine
therapy
2 Insurance company
confirms the coverage of
therapy costs
DID:SOV:937472047DEFHASGCC
ctual Relationships are created
VerifyCredentialFlow IssueCredentialFlow
www.luxoft.com
M
anufacturer
Treatment
center
…
Shipment lifecycle
Courier1
CourierN
Custom
s
…( () )
( )
Phase II – Shipment / Delivery
 Patient receives delivery notifications on every step
5
Courier
delivers the package
to the Treatment center
4
Manufacturer
produces and ships the pers.
medication package
ulti-step chain of custody
Verifiable
Handoff
Holder Receiver
www.luxoft.com
 Patient can collect his package and be serviced at any participating treatment center
 Treatment center confirms Patient’s identity
Phase III – Therapy/Treatment
subflowTreatment
Center
ask for
Order
Confirmation
proof
IndyCredentialProof
(initial authent.)
PackageRequest(s)
IndyCredential
(copy of digital receipt)
Treatment
is delivered to patient
DID:SOV:135473839JFGDFEDH
6 Patient receives the
therapy at the
Treatment center
Treatment Center
Has the package
 Patient’s personal info is kept private at all stages
IndyCredentialProof
Corda State
VerifyCredentialFlow
www.luxoft.com
Summary
• Self-Sovereign Identity & Verifiable Credentials is a very powerful mechanism
• Scalable, DLT-enabled Business Ecosystems benefit from SSI integration
• Corda is the next generation DLT that simplifies integration with other technologies
• Cordentity makes it easy to use Hyperledger Indy / Sovrin powered SSIs / Credentials
from CorDapps
ource – please use it and let us know how to make it better!

More Related Content

PPT
Cordacon 2018 - Cordentity - Hyperledger Indy + Corda
PDF
Masterclass on the DID Universal Resolver
PDF
Technologies for Self-Sovereign Identity
PDF
Decentralized Identifiers
PPTX
Verifiable Credentials, Self Sovereign Identity and DLTs
PDF
OpenID Connect 4 SSI (DIFCon F2F)
PDF
OpenID Connect 4 SSI (at EIC 2021)
PPTX
NextGenPSD2 OAuth SCA Mode Security Recommendations
Cordacon 2018 - Cordentity - Hyperledger Indy + Corda
Masterclass on the DID Universal Resolver
Technologies for Self-Sovereign Identity
Decentralized Identifiers
Verifiable Credentials, Self Sovereign Identity and DLTs
OpenID Connect 4 SSI (DIFCon F2F)
OpenID Connect 4 SSI (at EIC 2021)
NextGenPSD2 OAuth SCA Mode Security Recommendations

What's hot (20)

PPTX
User Authentication and Cloud Authorization in the Galaxy project: https://do...
PPTX
Comprehensive overview FAPI 1 and FAPI 2
PDF
AllTheTalks.Online 2020: "Basics of OAuth 2.0 and OpenID Connect"
PPT
Identity 2.0 and User-Centric Identity
PDF
Introduction to PicketLink
PPTX
NextGenPSD2 OAuth SCA Mode Security Recommendations
PDF
QualysGuard InfoDay 2012 - SSL LABS
PDF
OpenID Connect 4 SSI
PDF
CIS14: Working with OAuth and OpenID Connect
PPTX
TLDR - OAuth
PDF
Securing Applications With Picketlink
PDF
Peeples authentication authorization_services_with_saml_xacml_with_jboss_eap6
PPT
Understanding OpenID
PDF
Pki (2nd e transactions forum) v 1.0
PDF
CIS14: Developing with OAuth and OIDC Connect
PPTX
OpenID Connect: An Overview
PDF
Hyperledger Indy tutorial
PDF
Digital Identity
PDF
OpenID Connect - An Emperor or Just New Cloths?
PDF
DEF CON 27 - ALVARO MUNOZ / OLEKSANDR MIROSH - sso wars the token menace
User Authentication and Cloud Authorization in the Galaxy project: https://do...
Comprehensive overview FAPI 1 and FAPI 2
AllTheTalks.Online 2020: "Basics of OAuth 2.0 and OpenID Connect"
Identity 2.0 and User-Centric Identity
Introduction to PicketLink
NextGenPSD2 OAuth SCA Mode Security Recommendations
QualysGuard InfoDay 2012 - SSL LABS
OpenID Connect 4 SSI
CIS14: Working with OAuth and OpenID Connect
TLDR - OAuth
Securing Applications With Picketlink
Peeples authentication authorization_services_with_saml_xacml_with_jboss_eap6
Understanding OpenID
Pki (2nd e transactions forum) v 1.0
CIS14: Developing with OAuth and OIDC Connect
OpenID Connect: An Overview
Hyperledger Indy tutorial
Digital Identity
OpenID Connect - An Emperor or Just New Cloths?
DEF CON 27 - ALVARO MUNOZ / OLEKSANDR MIROSH - sso wars the token menace
Ad

Similar to DevDay: Extending CorDapps with Self-Sovereign Identity: Technology Deepdive and Sample Applications, Vasiliy Suvorov (20)

PDF
FOSSASIA 2018 Self-Sovereign Identity with Hyperledger Indy/Sovrin
PDF
InDITA - Understanding Self-Sovereign Identity
PDF
Hyperledger Indy Platform - Privacy, Security and Power for Digital Identity ...
PDF
Identity and the quest for Self-Sovereign Identity - Daniel Hardman
PDF
AN IDENTITY MANAGEMENT SYSTEM USING BLOCKCHAIN
PDF
The Hyperledger Indy Public Blockchain Node
PPTX
Blockchain Self Sovereign Identity
PPTX
Deja vu Security - Blockchain Security Summit - Adam Cecchetti
PDF
Blockchain v Cryptocurrency: Talk for BridgeSF
PDF
OSCON 2018 Getting Started with Hyperledger Indy
PDF
Introduction to Self Sovereign Identity - IIW October 2019
PPTX
Introduction to Consensus techniques
PDF
Blockchain R&D to Decentralized Identity Deployment
DOCX
Hyper ledger febric
PPTX
Self-Sovereign-Identity.pptx
PPTX
Introduction to blockchain & cryptocurrencies
PDF
Identity & trust in Monitored Spaces
PPTX
Blockchain Technology
PPTX
Blockchain
PDF
Blockchain, Self-Sovereign Identity and Credentials
FOSSASIA 2018 Self-Sovereign Identity with Hyperledger Indy/Sovrin
InDITA - Understanding Self-Sovereign Identity
Hyperledger Indy Platform - Privacy, Security and Power for Digital Identity ...
Identity and the quest for Self-Sovereign Identity - Daniel Hardman
AN IDENTITY MANAGEMENT SYSTEM USING BLOCKCHAIN
The Hyperledger Indy Public Blockchain Node
Blockchain Self Sovereign Identity
Deja vu Security - Blockchain Security Summit - Adam Cecchetti
Blockchain v Cryptocurrency: Talk for BridgeSF
OSCON 2018 Getting Started with Hyperledger Indy
Introduction to Self Sovereign Identity - IIW October 2019
Introduction to Consensus techniques
Blockchain R&D to Decentralized Identity Deployment
Hyper ledger febric
Self-Sovereign-Identity.pptx
Introduction to blockchain & cryptocurrencies
Identity & trust in Monitored Spaces
Blockchain Technology
Blockchain
Blockchain, Self-Sovereign Identity and Credentials
Ad

More from R3 (20)

PPTX
Supporting trade finance with letters of credit on corda
 
PPTX
Corda Developer Bootcamp: Introduction to Corda
 
PPTX
Corda Developer Bootcamp: Tokens
 
PPTX
Corda Developer Bootcamp: Tokens
 
PPTX
Introduction to Corda Blockchain for Developers
 
PPTX
Corda Developer Bootcamp: Accounts
 
PDF
Insurance Round Table
 
PPTX
BizDay: David E. Rutter Welcome Address
 
PDF
BizDay: Usage Based Insurance and Fleet Management, Infosys
 
PPTX
DevDay: Managing a Distributed Network on a Common Infra, SIA
 
PPTX
BizDay: Improving Remittances in the World's 2nd Largest Corridor, Digiledge
 
PDF
BizDay: Designing the Future of Payments, Mastercard
 
PPTX
DevDay: Developer Updates: Visual Studio Code, Java 11 and OpenAPI (oh my), L...
 
PPTX
DevDay: Node Analytics with Python, Chainhaus
 
PPTX
DevDay: Getting Started with Tokens and Accounts, R3
 
PPTX
BizDay: Transition to DLT in RTGS payments, Accenture, SAP
 
PDF
BizDay: Connecting Construction & Insurance Ecosystem, Tinubu Square
 
PPTX
BizDay: The Wholesale Food Supply Chain is Ripe for Transformation, ripe.io
 
PPTX
BizDay: Fully Managed Corda Enterprise with Azure Blockchain Service, Microsoft
 
PPTX
BizDay: Truck Wallet, Daimler, KI Decentralized
 
Supporting trade finance with letters of credit on corda
 
Corda Developer Bootcamp: Introduction to Corda
 
Corda Developer Bootcamp: Tokens
 
Corda Developer Bootcamp: Tokens
 
Introduction to Corda Blockchain for Developers
 
Corda Developer Bootcamp: Accounts
 
Insurance Round Table
 
BizDay: David E. Rutter Welcome Address
 
BizDay: Usage Based Insurance and Fleet Management, Infosys
 
DevDay: Managing a Distributed Network on a Common Infra, SIA
 
BizDay: Improving Remittances in the World's 2nd Largest Corridor, Digiledge
 
BizDay: Designing the Future of Payments, Mastercard
 
DevDay: Developer Updates: Visual Studio Code, Java 11 and OpenAPI (oh my), L...
 
DevDay: Node Analytics with Python, Chainhaus
 
DevDay: Getting Started with Tokens and Accounts, R3
 
BizDay: Transition to DLT in RTGS payments, Accenture, SAP
 
BizDay: Connecting Construction & Insurance Ecosystem, Tinubu Square
 
BizDay: The Wholesale Food Supply Chain is Ripe for Transformation, ripe.io
 
BizDay: Fully Managed Corda Enterprise with Azure Blockchain Service, Microsoft
 
BizDay: Truck Wallet, Daimler, KI Decentralized
 

Recently uploaded (20)

PDF
Video forgery: An extensive analysis of inter-and intra-frame manipulation al...
PPTX
cloud_computing_Infrastucture_as_cloud_p
PDF
MIND Revenue Release Quarter 2 2025 Press Release
PDF
Encapsulation_ Review paper, used for researhc scholars
PPTX
Group 1 Presentation -Planning and Decision Making .pptx
PPTX
OMC Textile Division Presentation 2021.pptx
PPTX
TLE Review Electricity (Electricity).pptx
PDF
Getting Started with Data Integration: FME Form 101
PDF
Agricultural_Statistics_at_a_Glance_2022_0.pdf
PDF
Heart disease approach using modified random forest and particle swarm optimi...
PDF
Microsoft Solutions Partner Drive Digital Transformation with D365.pdf
PDF
1 - Historical Antecedents, Social Consideration.pdf
PDF
Enhancing emotion recognition model for a student engagement use case through...
PDF
DP Operators-handbook-extract for the Mautical Institute
PDF
ENT215_Completing-a-large-scale-migration-and-modernization-with-AWS.pdf
PDF
Hybrid model detection and classification of lung cancer
PDF
NewMind AI Weekly Chronicles - August'25-Week II
PDF
August Patch Tuesday
PDF
From MVP to Full-Scale Product A Startup’s Software Journey.pdf
PDF
DASA ADMISSION 2024_FirstRound_FirstRank_LastRank.pdf
Video forgery: An extensive analysis of inter-and intra-frame manipulation al...
cloud_computing_Infrastucture_as_cloud_p
MIND Revenue Release Quarter 2 2025 Press Release
Encapsulation_ Review paper, used for researhc scholars
Group 1 Presentation -Planning and Decision Making .pptx
OMC Textile Division Presentation 2021.pptx
TLE Review Electricity (Electricity).pptx
Getting Started with Data Integration: FME Form 101
Agricultural_Statistics_at_a_Glance_2022_0.pdf
Heart disease approach using modified random forest and particle swarm optimi...
Microsoft Solutions Partner Drive Digital Transformation with D365.pdf
1 - Historical Antecedents, Social Consideration.pdf
Enhancing emotion recognition model for a student engagement use case through...
DP Operators-handbook-extract for the Mautical Institute
ENT215_Completing-a-large-scale-migration-and-modernization-with-AWS.pdf
Hybrid model detection and classification of lung cancer
NewMind AI Weekly Chronicles - August'25-Week II
August Patch Tuesday
From MVP to Full-Scale Product A Startup’s Software Journey.pdf
DASA ADMISSION 2024_FirstRound_FirstRank_LastRank.pdf

DevDay: Extending CorDapps with Self-Sovereign Identity: Technology Deepdive and Sample Applications, Vasiliy Suvorov

  • 1. www.luxoft.com v Extending CorDapps with Self-Sovereign Identity: Vasily Suvorov VP Technology Strategy Sep 12, 20018 / CordaCon 2018 Technology deep dive and sample applications.
  • 2. www.luxoft.com Emerging standards for decentrilized identity DECENTRALIZED IDENTITY FOUNDATION DECENTRALIZED IDENTITIES Anchored by BLOCKCHAIN IDs Linked to ZERO-TRUST DATASTORES That are UNIVERSALLY DISCOVERABLE for people, organizations, apps and devices. Credentials Community Group Verifiable Claims Working Group
  • 3. www.luxoft.com Decentralized Identifiers (DIDs) and DID Documents Key enablers for decentralized self-sovereign identity Decentralized Self-Sovereignty Privacy Security Proof-based Discoverability Interoperability Portability Simplicity Extensibility DESIGN GOALS DID DID Document Also Service end-points, Proofs, Extensions, etc See https://w3c-ccg.github.io/did-spec/ for details
  • 4. www.luxoft.com 4 ISSUED BY CORRECT, REVOCABLE INCORRUPTIBLE, CORRECT OWNERSHIP By decoupling the trust between the identity provider and the relying party, a more flexible and dynamic trust model is created such that market competition and customer choice is increased. REPOSITORY ISSUER + HOLDER = IDENTITY PROVIDER ISSUER DOESN’T NEED TO TRUST VERIFIER Verifiable claims/credentials – roles & trust under Self-Sovereignty
  • 5. www.luxoft.com Verifiable credentials How DIDs become (use-case specific) Identities W3C Example DMV – issuer Traveler – Holder/Subject DID:EXAMPLE:EBFEB… Bar - inspector/verifier Credential Credential
  • 6. www.luxoft.com DID/Verifiable Credentials implementation uPort, Ethereum (ERC725), IPFS, Blockstack, Ontology Foundation and others support DID/DDO OSS Project under Hyperledger Provides key enabling components: BFT Ledger / Nodes Cryptographic primitives Client SDK Can be used for Dev/Private Network Public Utility Network for SSI Based on Indy Technology Governance Board Trust Framework Network Operations & Growth Supports scalable, global SSI based applications
  • 7. www.luxoft.com Sovrin/Indy – key features overview  Dedicated, public but permissioned ledger  Pair-wise DIDs  Agents based claims/proofs exchanges  Implements Attribute Based Claims (ABCs)  ZKPs for selective disclosure & revocation Owner Issuer Verifier Existing Trust Relationship ZKP Verifying Protocol Issuing Protocol ZK Verifiable Credential Zero Knowledge Proof Edge Agent Edge Wallet Edge Agent Edge Wallet Edge Layer Cloud Agent Cloud Wallet Cloud Agent Cloud WalletCloud Layer DID Layer Verifiable Claim
  • 8. www.luxoft.com The case for combining blockchain/DLT technologies „Orchestration” Use-Cases  Buying & Selling: Property, Cars, …  Healthcare  Supplier Management  Multi-Party Business Process:  Order of activities is well defined  Strong pre-conditions & dependencies  Relationships and Attestations serve as “Checkboxes”  Strong Privacy requirements / preferences DECENTRALIZED IDENTITY LEDGER DEFs / SCHEMAS DIDs Rules State DLT
  • 9. www.luxoft.com Indy/Sovrin under the hood - 1/3 credential definition: { "ver":"1.0", "id":"V4SGRU86Z58d6TV7PBUe6f:3:CL:12:TAG_1", "schemaId":"12", "type":"CL", "tag":"TAG_1", "value":{ "primary": { "n":"104273...84493", "s":"824420…08151", "rms":"52810…7940757153551267", "r":{ "attr2":"73…809361", "attr1":"88653…3706" }, "rctxt":"6775...3821855822433", "z":"418407...5877279897334588" } } } schema: { "ver":"1.0", "id": "V4SGRU86Z58d6TV7PBUe6f:2:schema_name:1.0", "name":"schema_name", "version":"1.0", "attrNames":["attr1","attr2"], "seqNo":12 } new schema by authority schema from authority new definition by issuer #1 new definition by issuer #2 new definition by issuer #3 What’s in the blocks? Schema A structure that defines future credential format or credential specification. Credential A digital assertion about identity attributes made by a Ledger Entity about itself or another Ledger Entity. A Credential may be Public Data or Private Data. Credential Definition A machine-readable definition of the semantic structure of a Credential. (i.e. Public Key) Proof Cryptographic verification of a Credential. PlenumLedger Who interacts with the Ledger? Authority Creates Schemas Issuer Creates Credential Definitions Prover A Prover receives Credentials from the Issuers. Both Prover and Issuer interact to agree on some facts. Verifier Requests Proofs
  • 10. www.luxoft.com 1. Insurance#3 issues credential based on a definition Insurance#3 Government 2. Ask to proof some data issued by insurance#3 without revealing it 3. ZKP PRIVATE WALLET  Keys  Credentials  Validity Proofs Indy/Sovrin under the hood - 2/3 digital verification takes 2 steps: tting a credential from an issuer eating proof for a verifier re 2 types of proofs: nsparent – all Attrs are revealed P – Attrs are selectively disclosed DID DID’ • Pairwise DIDs are used • Agents (secure exchange) are not out-of-the-box.
  • 11. www.luxoft.com tcp/ip POOL HANDLES INDY/SOVRIN LEDGER CONNECTION CONFIGURATION 1. Trustee 2. Steward 3. Trust Anchor 4. User PRIVATE, TEST, PUBLIC NETWORKS Pool genesis file • Contains initial set of Nodes a Pool is started from • New Nodes will be added by sending new NODE trx to be written into the Ledger • All new Nodes and Clients will use genesis transaction file to connect to initial set of Nodes, • Will discover new Nodes based on NODE trx in the Ledger Genesis transactions files initialize the ledger. TEST NETWORKDEV. DOCKER NETWORK PUBLIC NETWORK NYMs INDY SDK DID LEDGER WRAPPERS PRIVATE WALLET  Keys  Credentials  Validity Proofs Indy/Sovrin under the hood 3/3
  • 12. www.luxoft.com 1 2 3 4 SDK modules and interfaces Ledger Ledger is responsible for public information exchange: schema, definitions, revocation registry Anoncreds Functionality for anonymous credentials: schema, credential definition, revocation, proof and request generations, etc. It provides cryptographic primitives to generate proofs and sign messages DID DID & DDO management functionality Pool Pool manages the local ledger configuration that can be used later to connect to “pool nodes." Pairwise Individual keys pair to prevent relationships between issued credentials. Extends DID functionality. Wallet Secure private wallet exposes interfaces to operate with private information: credentials, keys, etc. fun issuerCreateAndStoreCredentialDef(…) fun proverCreateProof(…) fun issuerCreateCredential(…) NEW SCHEMA HAS TO BE REGISTERED ON PUBLIC LEDGER ISSUER HAS TO CREATE CREDENTIAL DEFINITION (PK) AND PUBLISH ON LEDGER PROVER ASKS FOR NEW CREDENTIAL PROVER CREATES DIGITAL PROOF TO CONVINCE VERIFIER fun issuerCreateSchema(…) SKD JAVA WRAPPER
  • 13. www.luxoft.com CORDAPP #Y … CORDAPP #X … FLOWS FLOWS CORDAPPS Corda applications running on private client’s node FLOWS FLOWS FLOWS FLOWS CORDAPPS Corda applications running on private company’s node FLOWS FLOWS FLOWS FLOWS INDYSDK INDY- UTILS CORDENTITY Indy specific flows to work with the Credentials and Proofs Application specific flows to implement required business process  Cordentity is an utility CorDapp which exposes high level APIs hiding complexity of Hyperledger Indy  Cordentity doesn’t require deep knowledge of cryptography or Indy’s functionality. It operates with basic primitives: schema, definition and proofs.  Cordentity utilizes Corda’s flows, states and contracts DID:SOV:12345689ABCDEFGAB Corda + Indy = Luxoft’s Cordentity PRIVATE WALLET  Keys  Credentials  Validity Proofs INDY-CREDENTIAL: CredentialRequest & Credential INDY-CREDENTIAL-PROOF: ProofReq & Proof STATES Holder/Issuer Prover/Verifier
  • 14. www.luxoft.com Cordentity – usage overview class Authority( private val schemaName: String, private val schemaVersion: String, private val schemaAttributes: List<String> ) : FlowLogic<String>() CREATE SCHEMA FLOW class Authority(private val schemaId: String) : FlowLogic<String>() CREATE CREDENTIAL DEF FLOW class Issuer(private val identifier: String, private val credDefId: String, private val credProposal: String, private val proverName: CordaX500Name) : FlowLogic<Unit>() ISSUE CREDENTIAL FLOW class Verifier( private val identifier: String, private val attributes: List<ProofAttribute>, private val predicates: List<ProofPredicate>, private val proverName: CordaX500Name ) : FlowLogic<Boolean>() VERIFY CREDENTIAL FLOW AUTHORITY & ISSUER Legal entities create new schema as a definition of future credentials Authorities authorized to issue user’s credentials create credentials definition on top of the existing schemas User requests new credential from one of the authorities Two users check/verify credentials PROVER & VERIFIER  Every individual Corda Node that uses Cordentity has a private wallet  Cordentity’s flows interact with a specified Indy network  Indy network should be specified via file with genesis transactions. There are 3 type of networks: docker powered (development), STN and production.  Authority or Issuer have to get permissions. AssignPermissionsFlow provides suitable interfaces. 1. AssignPermissionsFlow 2. CreateCredentialDefFlow 3. CreateSchemaFlow 4. IssueCredentialFlow 5. VerifyCredentialFLow Flows Party#1 Party#2 Two type of data in a proof: Predicates and Attributes. •A predicate is never revealed and just checked on a criteria. •An attribute will be revealed.
  • 15. www.luxoft.com AUTHORITY ISSUER #1 ISSUER #2 ISSUER #3 PROVER VERIFIER AUTHORITY INSURANCE PROVER PATIENT VERIFIER TREATMENT CENTER ISSUER INSURANCE AUTHORITY GOVERNMENT ISSUER GOVERNMENT SCHEMA #2SCHEMA #1 CREDENTIAL DEFINITION #2 CREDENTIAL DEFINITION #1 CREDENTIALS CREDENTIAL DEFINITIONS CREATE SCHEMA CreateSchemaFlow ASSIGN PERMISSIONS AssignPermissionsFlow CREATE CREDENTIAL DEFINITION CreateCredentialDefinitionFlow ISSUE CREDENTIAL IssueCredentialFlow DATA VERIFICATION VerifyCredentialFlow BASIC RELATIONSHIPS MODEL USE-CASE SPECIFIC RELATIONSHIPS MODEL Trust / Attestations Mapping
  • 16. www.luxoft.com Complete Sample Application Personalized Medicine End-to-End Ecosystem 3 Treatment Center places pers. medication order to the assigned Manufacturer DID:SOV:135473839JFGDFEDH 1 DID:SOV:12345689ABCDEFGAB Patient is prescribed with a personalized medicine therapy 2 Insurance company confirms the coverage of therapy costs DID:SOV:937472047DEFHASGCC 5 Courier delivers the package to the Treatment center 4 Manufacturer produces and ships the pers. medication package 6 Patient receives the therapy at the Treatment center  Personal data is kept privately and not shared with external participants  Participants’ data is verifiable and immutable against fraud  Selective data visibility  Isolated pairwise relationships between participants
  • 17. www.luxoft.com PRODUCTION & SHIPMENT AUTHENTICATION PRECONDITIONS: •Patient gets Credentials from a number of different Authorities and stores them privately. •Two Authorities are required for processing: Insurance and Government. Business Rules PICK-UP Patient creates proof for Treatment Center based on Claims from well known Authorities. Some data are revealed during the interaction and other is kept secret. The Prover needs to reveal: medical package, diagnosis and treatment recommendation. The Prover also needs to prove to the Verifier nationality, age (above 18) and stage (above 3) of disease. If patient is authenticated successfully the production process starts. The Treatment center connects to Manufacturer to request new production. On every steps all involved participants get notifications about the status. Finally, the Patient returns back to the Treatment center to collect the package. He confirms his rights and gets the product.
  • 18. www.luxoft.com Phase I – Initiate Manufacturing Treatment Center Manufacture r Patient Age, nation, diagnosis, Insurance IndyCredentialProof Corda State Manufacturing Request PackageRequest CordaState observers: patient Digital Order Confirmation subflow subflow subflow IndyCredential, Corda State 3 Treatment Center places pers. medication order to the assigned Manufacturer DID:SOV:135473839JFGDFEDH 1 DID:SOV:12345689ABCDEFGAB Patient is prescribed with a personalized medicine therapy 2 Insurance company confirms the coverage of therapy costs DID:SOV:937472047DEFHASGCC ctual Relationships are created VerifyCredentialFlow IssueCredentialFlow
  • 19. www.luxoft.com M anufacturer Treatment center … Shipment lifecycle Courier1 CourierN Custom s …( () ) ( ) Phase II – Shipment / Delivery  Patient receives delivery notifications on every step 5 Courier delivers the package to the Treatment center 4 Manufacturer produces and ships the pers. medication package ulti-step chain of custody Verifiable Handoff Holder Receiver
  • 20. www.luxoft.com  Patient can collect his package and be serviced at any participating treatment center  Treatment center confirms Patient’s identity Phase III – Therapy/Treatment subflowTreatment Center ask for Order Confirmation proof IndyCredentialProof (initial authent.) PackageRequest(s) IndyCredential (copy of digital receipt) Treatment is delivered to patient DID:SOV:135473839JFGDFEDH 6 Patient receives the therapy at the Treatment center Treatment Center Has the package  Patient’s personal info is kept private at all stages IndyCredentialProof Corda State VerifyCredentialFlow
  • 21. www.luxoft.com Summary • Self-Sovereign Identity & Verifiable Credentials is a very powerful mechanism • Scalable, DLT-enabled Business Ecosystems benefit from SSI integration • Corda is the next generation DLT that simplifies integration with other technologies • Cordentity makes it easy to use Hyperledger Indy / Sovrin powered SSIs / Credentials from CorDapps ource – please use it and let us know how to make it better!

Editor's Notes

  • #15: subFlow(VerifyCredentialFlow.Verifier(serial, attributes, predicates, proverName))