create
fun create(type: String? = null, holder: String, vcJwts: Iterable<String>, additionalData: Map<String, Any>? = null): VerifiablePresentation
Create a VerifiablePresentation based on the provided parameters.
Return
A VerifiablePresentation instance.
Example:
val vp = VerifiablePresentation.create(
vcJwts = vcJwts,
holder = holderDid.uri,
type = "PresentationSubmission",
additionalData = mapOf("presentation_submission" to presentationSubmission)
)
Content copied to clipboard