<PackageReference Include="System.Security.Cryptography.Pkcs" Version="11.0.0-preview.2.26159.112" />

System.Security.Cryptography.Pkcs.Pkcs9SigningTime

public sealed class Pkcs9SigningTime : Pkcs9AttributeObject
Defines the signing date and time of a signature. A Pkcs9SigningTime object can be used as an authenticated attribute of a CmsSigner object when an authenticated date and time are to accompany a digital signature.
public DateTime SigningTime { get; }

The SigningTime property retrieves a DateTime structure that represents the date and time that the message was signed.

The #ctor constructor creates an instance of the Pkcs9SigningTime class.

public Pkcs9SigningTime(DateTime signingTime)

The #ctor constructor creates an instance of the Pkcs9SigningTime class by using the specified signing date and time.

public Pkcs9SigningTime(byte[] encodedSigningTime)

The #ctor constructor creates an instance of the Pkcs9SigningTime class by using the specified array of byte values as the encoded signing date and time of the content of a CMS/PKCS #7 message.