Secure QRQr Payload Service
class SecureQRQrPayloadService(presentationBuilder: SecureQRPresentationBuilder = SecureQRPresentationBuilder(), generator: SecureQRGenerator = SecureQRGenerator())
Constructors
Link copied to clipboard
constructor(presentationBuilder: SecureQRPresentationBuilder = SecureQRPresentationBuilder(), generator: SecureQRGenerator = SecureQRGenerator())
Functions
Link copied to clipboard
suspend fun makeV2TransportPayload(doc: IssuedDocumentHandle, sdJwtPresentationWithoutKb: String, issuedAt: Long, validitySeconds: Int = 180): String
Returns the v2 QR transport payload: base64url(zlib(JSON{vc1,vc2,vc3})) The app should just feed this string into SecureQRRenderer.encodeFrames(...)