TBD54566975 / web5-spec

Web5 Spec
https://tbd54566975.github.io/web5-spec/
Apache License 2.0
7 stars 6 forks source link

Change credentials create test vectors #139

Open nitro-neal opened 7 months ago

nitro-neal commented 7 months ago

Currently the test vector uses .fromJson and only works in kotlin.

Need to change the test vector input so it's the input of VerifiableCredential.create() and works across all sdks

public fun <T> create(
  type: String,
  issuer: String,
  subject: String,
  data: T,
  credentialStatus: CredentialStatus? = null,
  issuanceDate: Date = Date(),
  expirationDate: Date? = null
): VerifiableCredential {
nitro-neal commented 7 months ago

https://github.com/TBD54566975/web5-spec/pull/149

decentralgabe commented 3 months ago

related to #168