Пример #1
0
 private void SetValues(AsymmetricEncryptionMetaDataBase rec)
 {
     this.KeyId              = rec.KeyId;
     this.Key2Id             = rec.Key2Id;
     this.Reference          = rec.Reference;
     this.AsymmetricStrategy = rec.AsymmetricStrategy;
     this.PublicMetadata     = rec.PublicMetadata;
 }
Пример #2
0
 private void SetValues(AsymmetricallyEncryptedObject rec)
 {
     this.KeyId              = rec.KeyId;
     this.Key2Id             = rec.Key2Id;
     this.Reference          = rec.Reference;
     this.CipherText         = rec.CipherText;
     this.Data               = rec.Data;
     this.AsymmetricStrategy = rec.AsymmetricStrategy;
     this.PublicMetadata     = rec.PublicMetadata;
 }
 private void SetValues(AsymmetricallyEncryptedObject rec)
 {
     this.KeyId = rec.KeyId;
     this.Key2Id = rec.Key2Id;
     this.Reference = rec.Reference;
     this.CipherText = rec.CipherText;
     this.Data = rec.Data;
     this.AsymmetricStrategy = rec.AsymmetricStrategy;
     this.PublicMetadata = rec.PublicMetadata;
 }
 private void SetValues(AsymmetricEncryptionMetaDataBase rec)
 {
     this.KeyId = rec.KeyId;
     this.Key2Id = rec.Key2Id;
     this.Reference = rec.Reference;
     this.AsymmetricStrategy = rec.AsymmetricStrategy;
     this.PublicMetadata = rec.PublicMetadata;
 }
 public AsymmetricEncryptor(AsymmetricStrategyOption asymmetricStrategy)
 {
     // set to the current preferred strategy
     this.AsymmetricStrategy = asymmetricStrategy;
 }
 public AsymmetricEncryptor()
 {
     // set to the current preferred strategy
     this.AsymmetricStrategy = AsymmetricStrategyOption.Aes256_1000;
 }
 public AsymmetricEncryptor(AsymmetricStrategyOption asymmetricStrategy)
 {
     // set to the current preferred strategy
     this.AsymmetricStrategy = asymmetricStrategy;
 }
 public AsymmetricEncryptor()
 {
     // set to the current preferred strategy
     this.AsymmetricStrategy = AsymmetricStrategyOption.Aes256_1000;
 }