sign With CAd ESSignature
This function is used to provide a complete PKCS#7 signature in the document with com.pspdfkit.signatures.DigitalSignatureType.CADES digital signature type. Results can be extracted by com.pspdfkit.utils.Response.onSuccess or com.pspdfkit.utils.Response.onError
Return
com.pspdfkit.utils.Response with ByteArray as a result.
Parameters
Context of the application
SigningConfiguration contains essential configurations needed for the signing.
HashAlgorithm used for the signature
Deprecated
Use signWithCAdESSignature with SigningConfiguration instead
Replace with
signWithCAdESSignature(context, signingConfiguration, unsignedData, hashAlgorithm)This function is used to provide a complete PKCS#7 signature in the document with com.pspdfkit.signatures.DigitalSignatureType.CADES digital signature type. Results can be extracted by com.pspdfkit.utils.Response.onSuccess or com.pspdfkit.utils.Response.onError
Return
com.pspdfkit.utils.Response with ByteArray as a result.
Parameters
Context of the application
SignerOptions contains various configurations needed for the signing.
HashAlgorithm used for the signature