Ignore:
Timestamp:
Aug 8, 2010, 7:30:11 PM (11 years ago)
Author:
schomburg
Message:

renamed some classes for the sake of consistency

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/CrypPlugins/PKCS1/WpfControls/Components/SigGenBleichenbControl.xaml.cs

    r1742 r1778  
    2121    public partial class SigGenBleichenbControl : UserControl
    2222    {
    23         private BleichenbacherSignature m_BleichSignature = new BleichenbacherSignature();
     23        private BleichenbacherSig m_BleichSignature = new BleichenbacherSig();
    2424        //private int DataBlockPos = 0;
    2525
     
    2727        {
    2828            InitializeComponent();
    29             RSAKeyManager.Instance.RaiseKeyGeneratedEvent += handleCustomEvent; // listen
     29            RsaKey.Instance.RaiseKeyGeneratedEvent += handleCustomEvent; // listen
    3030            this.handleCustomEvent(ParameterChangeType.RsaKey);
    3131            this.loadComboDataBlocPos(24);
     
    3434        private void handleCustomEvent(ParameterChangeType type)
    3535        {           
    36             this.lblPublicKeyRes.Content = RSAKeyManager.Instance.PubExponent.ToString();
    37             this.lblRsaKeySizeRes.Content = RSAKeyManager.Instance.RsaKeySize.ToString();           
     36            this.lblPublicKeyRes.Content = RsaKey.Instance.PubExponent.ToString();
     37            this.lblRsaKeySizeRes.Content = RsaKey.Instance.RsaKeySize.ToString();           
    3838            this.loadComboDataBlocPos(24);
    3939        }
     
    4343            Cursor = Cursors.Wait;
    4444
    45             this.m_BleichSignature = (BleichenbacherSignature) SignatureHandler.getInstance().getBleichenbSig();
     45            this.m_BleichSignature = (BleichenbacherSig) SignatureHandler.getInstance().getBleichenbSig();
    4646            this.m_BleichSignature.DataBlockStartPos = (int)this.cbPosDataBlock.SelectedValue;
    4747
     
    5959
    6060            int lengthDatablock = Datablock.getInstance().HashFunctionIdent.DERIdent.Length * 4 + Datablock.getInstance().HashFunctionIdent.digestLength + 8;
    61             int end = RSAKeyManager.Instance.RsaKeySize - lengthDatablock - start;
     61            int end = RsaKey.Instance.RsaKeySize - lengthDatablock - start;
    6262
    6363            for( int i=start; i<= end; i+=8)
Note: See TracChangeset for help on using the changeset viewer.