Corda contract and state classes for the indy-cordapp project.
-
IndyCredential - A record of an issued Indy credential
-
IndyCredentialProof - A record of an issued Indy proof
-
IndySchema - A credential schema from. Each credential should be made from such schema.
-
IndyCredentialDefinition - It encapsulates credential definition and revocation registry definition.
In Indy world you should create this entities in the next order: Schema -> Credential Definition -> Revocation Registry. If you are trying to store it in ledger, you should do it in the same order.
Every [IndySchema] can have multiple [IndyCredentialDefinition]s (and also revocation registries) associated with it. Issuer can issue multiple identical [IndyCredential] with a single [IndyCredentialDefinition] to a single prover.