XmlKeyManager.IInternalXmlKeyManager.CreateNewKey Method

Definition

C#
Microsoft.AspNetCore.DataProtection.KeyManagement.IKey IInternalXmlKeyManager.CreateNewKey (Guid keyId, DateTimeOffset creationDate, DateTimeOffset activationDate, DateTimeOffset expirationDate);

Parameters

keyId
Guid
creationDate
DateTimeOffset
activationDate
DateTimeOffset
expirationDate
DateTimeOffset

Returns

Implements

Microsoft.AspNetCore.DataProtection.KeyManagement.Internal.IInternalXmlKeyManager.CreateNewKey(System.Guid,System.DateTimeOffset,System.DateTimeOffset,System.DateTimeOffset)

Applies to

Product Versions
ASP.NET Core 1.0, 1.1, 2.0, 2.1, 2.2, 3.0, 3.1, 5.0, 6.0, 7.0, 8.0, 9.0