Package web5.sdk.vc.pex
Class InputDescriptor
-
- All Implemented Interfaces:
public final class InputDescriptorRepresents an input descriptor, which specifies the criteria for acceptable Verifiable Credentials (VCs).
-
-
Field Summary
Fields Modifier and Type Field Description private final Stringidprivate final Stringnameprivate final Stringpurposeprivate final Constraintsconstraints
-
Constructor Summary
Constructors Constructor Description InputDescriptor(String id, String name, String purpose, Constraints constraints)
-
Method Summary
Modifier and Type Method Description final StringgetId()The unique identifier for the input descriptor. final StringgetName()The name of the input descriptor (optional). final StringgetPurpose()The purpose of the input descriptor (optional). final ConstraintsgetConstraints()The constraints that define acceptable fields and filters for the VCs. -
-
Constructor Detail
-
InputDescriptor
InputDescriptor(String id, String name, String purpose, Constraints constraints)
-
-
Method Detail
-
getPurpose
final String getPurpose()
The purpose of the input descriptor (optional).
-
getConstraints
final Constraints getConstraints()
The constraints that define acceptable fields and filters for the VCs.
-
-
-
-