createSelectiveDisclosure
abstract suspend fun createSelectiveDisclosure(credentialIds: List<String>, disclosedFields: List<String>, holderDid: String, options: ProofOptions): VerifiablePresentation
Create a selective disclosure presentation.
Only discloses specified fields from the credentials.
Return
Verifiable presentation with selective disclosure
Parameters
credentialIds
List of credential IDs to include
disclosedFields
List of field paths to disclose (e.g., "name", "credentialSubject.email")
holderDid
DID of the presentation holder
options
Presentation options
Throws
if any credential ID is not found