/// <summary>
 /// Constructor WriteCredentialDefinitionV0_6 object
 /// </summary>
 public WriteCredentialDefinitionV0_6(string name, string schemaId, RevocationRegistryConfig revocation) : this(name, schemaId, null, revocation)
 {
 }
 /// <summary>
 /// Constructor WriteCredentialDefinitionV0_6 object
 /// </summary>
 public WriteCredentialDefinitionV0_6(string name, string schemaId, string tag, RevocationRegistryConfig revocation)
 {
     this.name             = name;
     this.schemaId         = schemaId;
     this.tag              = tag;
     this.revocationConfig = revocation;
 }
Esempio n. 3
0
 /// <summary>
 /// Constructor for the 0.6 WriteCredentialDefinition object. This constructor creates an object that is
 /// ready to write a credential definitions the ledger
 /// </summary>
 /// <param name="name">The name of the new credential definition</param>
 /// <param name="schemaId">The id of the schema this credential definition will be based on</param>
 /// <param name="tag">An optional tag for the credential definition</param>
 /// <param name="revocation">the revocation object defining revocation support.</param>
 /// <returns>0.6 WriteCredentialDefinition object</returns>
 public static WriteCredentialDefinitionV0_6 v0_6(string name, string schemaId, string tag, RevocationRegistryConfig revocation)
 {
     return(new WriteCredentialDefinitionV0_6(name, schemaId, tag, revocation));
 }