示例#1
0
 protected RecipientCard(RecipientCard recipientCard)
 {
     this.VirgilCardDto = recipientCard.VirgilCardDto;
     this.Id            = recipientCard.Id;
     this.Identity      = recipientCard.Identity;
     this.PublicKey     = recipientCard.PublicKey;
     this.Hash          = recipientCard.Hash;
     this.CreatedAt     = recipientCard.CreatedAt;
 }
示例#2
0
 public PersonalCard(RecipientCard recipientCard, PrivateKey privateKey) : base(recipientCard)
 {
     this.PrivateKey            = privateKey;
     this.IsPrivateKeyEncrypted = VirgilKeyPair.IsPrivateKeyEncrypted(privateKey);
 }