Beispiel #1
0
        public XMLFileKeyStore(string filename, IKeyEncryption keyEncryption, bool createIfNotExist = false)
        {
            PrivateKey         = new RSAKey();
            PublicKey          = new RSAKey();
            FileName           = filename;
            CreateIfNotExist   = createIfNotExist;
            this.keyEncryption = keyEncryption;

            Load();
        }
Beispiel #2
0
        public XMLFileKeyStore(string filename, IKeyEncryption keyEncryption, bool createIfNotExist = false)
        {
            PrivateKey = new RSAKey();
            PublicKey = new RSAKey();
            FileName = filename;
            CreateIfNotExist = createIfNotExist;
            this.keyEncryption = keyEncryption;

            Load();
        }
Beispiel #3
0
 public MemoryKeyStore(IKeyEncryption keyEncryption)
 {
     PrivateKey = new RSAKey();
     PublicKey = new RSAKey();
     this.keyEncryption = keyEncryption;
 }
Beispiel #4
0
 public MemoryKeyStore(IKeyEncryption keyEncryption)
 {
     PrivateKey         = new RSAKey();
     PublicKey          = new RSAKey();
     this.keyEncryption = keyEncryption;
 }