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; }
public PersonalCard(RecipientCard recipientCard, PrivateKey privateKey) : base(recipientCard) { this.PrivateKey = privateKey; this.IsPrivateKeyEncrypted = VirgilKeyPair.IsPrivateKeyEncrypted(privateKey); }