public void Encrypt(byte[] publicKey) { ContactInfo.Encrypt(publicKey); SubjectInfo.Encrypt(publicKey); BankAccountInfo?.Encrypt(publicKey); }
public void Encrypt(RSA rsa) { ContactInfo.Encrypt(rsa); SubjectInfo.Encrypt(rsa); BankAccountInfo?.Encrypt(rsa); }