Package web5.sdk.vc

Class VerifiablePresentationCreateOptions

  • All Implemented Interfaces:

    
    public final class VerifiablePresentationCreateOptions
    
                        

    Represents the options available when creating a Verifiable Presentation. These options allow customization of various attributes of the presentation during its creation.

    • Method Detail

      • getId

         final String getId()

        The unique identifier for the Verifiable Presentation. This is optional. Defaults to urn:uuid:{uuid} if not provided.

      • getContext

         final List<String> getContext()

        The context(s) defining the meaning of terms within the presentation. The base context https://www.w3.org/2018/credentials/v1 is always included.

      • getType

         final List<String> getType()

        The type(s) of the Verifiable Presentation, where "VerifiablePresentation" is always included as the base type.

      • getIssuanceDate

         final Date getIssuanceDate()

        The issuance date of the presentation. Defaults to the current date and time if not provided.