|
@@ -11,19 +11,17 @@ package com.compdfkit.tools.signature;
|
|
|
|
|
|
|
|
|
|
import android.content.Context;
|
|
import android.content.Context;
|
|
-import android.text.TextUtils;
|
|
|
|
|
|
|
|
import androidx.annotation.Nullable;
|
|
import androidx.annotation.Nullable;
|
|
|
|
|
|
import com.compdfkit.core.annotation.form.CPDFSignatureWidget;
|
|
import com.compdfkit.core.annotation.form.CPDFSignatureWidget;
|
|
import com.compdfkit.core.document.CPDFDocument;
|
|
import com.compdfkit.core.document.CPDFDocument;
|
|
-import com.compdfkit.core.document.signature.CPDFCertInfo;
|
|
|
|
-import com.compdfkit.core.document.signature.CPDFOwnerInfo;
|
|
|
|
-import com.compdfkit.core.document.signature.CPDFSignature;
|
|
|
|
-import com.compdfkit.core.document.signature.CPDFSigner;
|
|
|
|
-import com.compdfkit.core.document.signature.CPDFX509;
|
|
|
|
|
|
+import com.compdfkit.core.signature.CPDFCertInfo;
|
|
|
|
+import com.compdfkit.core.signature.CPDFOwnerInfo;
|
|
|
|
+import com.compdfkit.core.signature.CPDFSignature;
|
|
|
|
+import com.compdfkit.core.signature.CPDFSigner;
|
|
|
|
+import com.compdfkit.core.signature.CPDFX509;
|
|
import com.compdfkit.tools.R;
|
|
import com.compdfkit.tools.R;
|
|
-import com.compdfkit.tools.common.utils.CUriUtil;
|
|
|
|
import com.compdfkit.tools.signature.bean.CPDFDocumentSignInfo;
|
|
import com.compdfkit.tools.signature.bean.CPDFDocumentSignInfo;
|
|
import com.compdfkit.tools.signature.bean.CPDFSignatureStatusInfo;
|
|
import com.compdfkit.tools.signature.bean.CPDFSignatureStatusInfo;
|
|
import com.compdfkit.tools.signature.pdfproperties.pdfsign.CDigitalSignStyleData;
|
|
import com.compdfkit.tools.signature.pdfproperties.pdfsign.CDigitalSignStyleData;
|
|
@@ -163,11 +161,10 @@ public class CertificateDigitalDatas {
|
|
*
|
|
*
|
|
* @param context
|
|
* @param context
|
|
* @param signature
|
|
* @param signature
|
|
- * @param signer
|
|
|
|
* @return
|
|
* @return
|
|
*/
|
|
*/
|
|
- public static boolean verifyTimeStamp(Context context, CPDFSignature signature, CPDFSigner signer) {
|
|
|
|
- return signature.veryfyTimestamp(context, signer);
|
|
|
|
|
|
+ public static boolean verifyTimeStamp(Context context, CPDFSignature signature) {
|
|
|
|
+ return signature.veryfyTimestamp(context);
|
|
}
|
|
}
|
|
|
|
|
|
public static CPDFDocumentSignInfo verifyDocumentSignStatus(CPDFDocument document) {
|
|
public static CPDFDocumentSignInfo verifyDocumentSignStatus(CPDFDocument document) {
|