embedPKCS7Signature

suspend fun embedPKCS7Signature(context: Context, signerOptions: SignerOptions, signedData: ByteArray): Response<Nothing>

This function is used to embed a complete PKCS@7 signature in the document. Results can be extracted by com.pspdfkit.utils.Response.onSuccessEmpty or com.pspdfkit.utils.Response.onError

Return

com.pspdfkit.utils.Response with Nothing as a result.

Parameters

context

Context of the application

signerOptions

SignerOptions contains various configurations needed for the signing.

signedData