Verifiable Presentation Factory
class VerifiablePresentationFactory(jwsService: JwsService, coseService: CoseService, identifier: String)
Functions
Link copied to clipboard
suspend fun createVcPresentation(validCredentials: List<String>, challenge: String, audienceId: String): Holder.CreatePresentationResult?
Creates a VerifiablePresentation with the given validCredentials.
Link copied to clipboard
suspend fun createVerifiablePresentation(challenge: String, audienceId: String, credential: SubjectCredentialStore.StoreEntry, fieldQueryResults: FieldQueryResults?): Holder.CreatePresentationResult?