create Presentation
open suspend override fun createPresentation(challenge: String, audienceId: String, attributeTypes: Collection<String>?, requestedClaims: Collection<String>?): Holder.CreatePresentationResult?
Creates a VerifiablePresentation serialized as a JWT for all the credentials we have stored, that match attributeTypes (if specified). Optionally filters by requestedClaims (e.g. in ISO or SD-JWT case).
May return null if no valid credentials (i.e. non-revoked, matching attribute name) are available.
open suspend override fun createPresentation(validCredentials: List<String>, challenge: String, audienceId: String): Holder.CreatePresentationResult?
Creates a VerifiablePresentation with the given validCredentials.
Note: The caller is responsible that only valid credentials are passed to this function!