12345678910111213141516171819202122232425262728293031323334353637383940 |
- using ComPDFKit.DigitalSign;
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Text;
- using System.Threading.Tasks;
- namespace ComPDFKit.Controls.PDFControl
- {
- public enum CreateCertificationMode
- {
- AddExistedCertification,
- AddCustomCertification,
- SaveCertificate
- }
- public enum AlgorithmType
- {
- RSA1024bit,
- RSA2048bit
- }
- public class CertificateInfo
- {
- public string GrantorName = string.Empty;
- public string Organization = string.Empty;
- public string OrganizationUnit = string.Empty;
- public string Email = string.Empty;
- public string Area = string.Empty;
- public string Password = string.Empty;
- public AlgorithmType AlgorithmType;
- public CPDFCertUsage PurposeType;
- }
-
- public class CertificateAccess
- {
- public string filePath;
- public string password;
- }
- }
|