package com.danubetech.libsovrin.signus;

import com.danubetech.libsovrin.SovrinJava;

/**
 * signus.rs JSON parameters
 */
public final class SignusJSONParameters {

	private SignusJSONParameters() {

	}

	public static class CreateAndStoreMyDidJSONParameter extends SovrinJava.JsonParameter {

		public CreateAndStoreMyDidJSONParameter(String did, String seed, String cryptoType) {

			if (did != null) this.map.put("did", did);
			if (seed != null) this.map.put("seed", seed);
			if (cryptoType != null) this.map.put("crypto_type", cryptoType);
		}
	}
}

@@ -373,16 +373,29 @@
 yptoType
+, Boolean cid
 ) %7B%0A%0A%09%09%09
@@ -554,16 +554,62 @@
 oType);%0A
+%09%09%09if (cid != null) this.map.put(%22cid%22, cid);%0A
 %09%09%7D%0A%09%7D%0A%7D

add 'cid' parameter for sovrin_create_and_store_my_did