vcValue

val vcValue: Any?

Extracts the raw "vc" claim payload from the SD-JWT VC.

The type depends on EUDI internals—typically a Map-like object containing:

  • type

  • issuer

  • credentialSubject

Example usage:

val vc = doc.vcValue as? Map<*, *>
val cs = vc?.get("credentialSubject") as? Map<*, *>
val age = cs?.get("age") as? Int