equals

open operator override fun equals(other: Any?): Boolean(source)

Checks if the current W3CCredential object is equal to the specified object.

Two W3CCredential objects are considered equal if they have the same values for the following properties:

  • id

  • credentialType

  • context

  • type

  • issuer

  • issuanceDate

  • expirationDate

  • credentialSchema

  • credentialSubject

  • credentialStatus

  • refreshService

  • evidence

  • termsOfUse

  • validFrom

  • validUntil

  • proof

  • aud

Return

true if the objects are equal, false otherwise.

Parameters

other

The object to compare with the current W3CCredential object.