A tamper-evident credential whose authorship can be cryptographically verified.
Verifiable credentials can be used to build verifiable presentations, which can also be cryptographically verifiable.
Properties
- context → JsonLdContext
-
The context defining the schema for this credential.
no setter
-
credentialSchema
→ List<
CredentialSchema> -
The schemas that define the structure of this credential.
no setter
-
credentialSubject
→ List<
CredentialSubject> -
The subject data contained in this credential.
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
- id → Uri?
-
The unique identifier for this credential.
no setter
- issuer → Issuer
-
The entity that issued this credential.
no setter
-
proof
→ List<
EmbeddedProof> -
The cryptographic proof used to verify the integrity of this data.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
termsOfUse
→ List<
TermsOfUse> -
Returns null if the credential does not have terms of use.
no setter
-
type
→ Set<
String> -
The types describing the structure of this credential.
no setter
- validFrom → DateTime?
-
The date when this credential was issued.
no setter
- validUntil → DateTime?
-
The date when this credential expires.
no setter
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> - Converts this credential to a JSON-serializable map.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited