getFormatId

fun CredentialProof.getFormatId(): ProofSuiteId

Get the proof suite ID from a CredentialProof.

Maps proof types to their corresponding proof suite identifiers:

  • LinkedDataProof → VC_LD

  • JwtProof → VC_JWT

  • SdJwtVcProof → SD_JWT_VC

  • MdocProof → MDOC

  • JAdES → JADES