Skip to content

Commit

Permalink
feat: updated vc type
Browse files Browse the repository at this point in the history
  • Loading branch information
thackerronak committed Jun 15, 2023
1 parent e65af19 commit 8b6ebfa
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ public class MIWVerifiableCredentialType extends VerifiableCredentialType {
/**
* The constant USE_CASE_FRAMEWORK_CONDITION_CX.
*/
public static final String USE_CASE_FRAMEWORK_CONDITION_CX = "UseCaseFrameworkConditionCX";
public static final String USE_CASE_FRAMEWORK_CONDITION_CX = "UseCaseFrameworkCondition";

public static final String BPN_CREDENTIAL = "BpnCredential";

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ public class StringPool {

public static final String CREDENTIAL_ID = "credentialId";
public static final String VALUE = "value";
public static final String CONTRACT_VERSION = "contract-version";
public static final String CONTRACT_VERSION = "contractVersion";
public static final String ACTIVITY_TYPE = "activityType";
public static final String ALLOWED_VEHICLE_BRANDS = "allowedVehicleBrands";
public static final String VERIFIABLE_CREDENTIALS = "verifiableCredentials";
Expand All @@ -48,8 +48,8 @@ private StringPool() {
public static final String HOLDER_DID = "holderDid";
public static final String HOLDER_IDENTIFIER = "holderIdentifier";
public static final String NAME = "name";
public static final String CONTRACT_TEMPLATES = "contract-templates";
public static final String CONTRACT_TEMPLATE = "contract-template";
public static final String CONTRACT_TEMPLATES = "contractTemplates";
public static final String CONTRACT_TEMPLATE = "contractTemplate";
public static final String TYPE = "type";
public static final String MEMBER_OF = "memberOf";
public static final String STATUS = "status";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -505,6 +505,7 @@ private void updateSummeryCredentials(DidDocument issuerDidDocument, byte[] issu
Map<String, Object> subject = Map.of(StringPool.ID, holderDid,
StringPool.HOLDER_IDENTIFIER, holderBpn,
StringPool.ITEMS, items,
StringPool.TYPE, MIWVerifiableCredentialType.SUMMARY_CREDENTIAL,
StringPool.CONTRACT_TEMPLATES, miwSettings.contractTemplatesUrl());


Expand Down

0 comments on commit 8b6ebfa

Please sign in to comment.