EditDataSignDialog(Coder.CodePage codePage)
        {
            InitializeComponent();

            CodePages    = Coder.GetAllCodePages().ToDictionary(page => page, page => Coder.GetDescription(page));
            CryptorTypes = Enum.GetValues(typeof(Cryptor.Type)).Cast <Cryptor.Type>().Where(type => type != Cryptor.Type.None).Where(type => type.SigningHashes().Any()).ToList();

            CryptorType = CryptorTypes.First();
            CodePage    = codePage;
        }
예제 #2
0
 FilesSignDialog()
 {
     InitializeComponent();
     CryptorTypes = Enum.GetValues(typeof(Cryptor.Type)).Cast <Cryptor.Type>().Where(type => type != Cryptor.Type.None).Where(type => type.SigningHashes().Any()).ToList();
     CryptorType  = CryptorTypes.First();
 }