Skip to content

Commit

Permalink
Update DataEntryFactory.cs (#166)
Browse files Browse the repository at this point in the history
  • Loading branch information
SanoferSameera authored Mar 27, 2024
1 parent e5757fb commit afa0748
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/In.ProjectEKA.HipService/DataFlow/DataEntryFactory.cs
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ public virtual Option<EncryptedEntries> Process(Entries entries,
});
}

var keyStructure = new KeyStructure(DateTime.Now.ToUniversalTime().ToString("yyyy-MM-ddTHH:mm:ss.SSSZ"),
var keyStructure = new KeyStructure(DateTime.Now.ToUniversalTime().ToString("yyyy-MM-ddTHH:mm:ss.fffZ"),
dataRequestKeyMaterial.DhPublicKey.Parameters, EncryptorHelper.GetPublicKey(keyPair));
var keyMaterial = new KeyMaterial(dataRequestKeyMaterial.CryptoAlg,
dataRequestKeyMaterial.Curve,
Expand Down Expand Up @@ -118,4 +118,4 @@ private void StoreComponentEntry(string linkId, Entry entry, string token)
healthInformationRepository.Add(new HealthInformation(linkId, entry, DateTime.Now, token));
}
}
}
}

0 comments on commit afa0748

Please sign in to comment.