TBD54566975 / web5-spec

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

Change credentials create test vectors #139

Open nitro-neal opened 6 months ago

nitro-neal commented 6 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 6 months ago

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

decentralgabe commented 1 month ago

related to #168