Пример #1
0
 public override byte[] Decrypt(TD dataRowRecord)
 {
     return(envelopeEncryption.DecryptDataRowRecord(dataRowRecord));
 }
Пример #2
0
 public override JObject Decrypt(TD dataRowRecord)
 {
     byte[] jsonAsUtf8Bytes = envelopeEncryption.DecryptDataRowRecord(dataRowRecord);
     return(new Json(jsonAsUtf8Bytes).ToJObject());
 }
Пример #3
0
        public virtual byte[] DecryptDataRowRecord(byte[] dataRowRecord)
        {
            Json dataRowRecordJson = new Json(dataRowRecord);

            return(envelopeEncryptionJson.DecryptDataRowRecord(dataRowRecordJson.ToJObject()));
        }