diff --git a/crypto/src/bcpg/sig/SignatureCreationTime.cs b/crypto/src/bcpg/sig/SignatureCreationTime.cs index 87e41a43cc..47e1daae14 100644 --- a/crypto/src/bcpg/sig/SignatureCreationTime.cs +++ b/crypto/src/bcpg/sig/SignatureCreationTime.cs @@ -22,10 +22,12 @@ public SignatureCreationTime(bool critical, bool isLongLength, byte[] data) { } +#pragma warning disable CS0618 // Type or member is obsolete public SignatureCreationTime(bool critical, DateTime date) : base(SignatureSubpacketTag.CreationTime, critical, false, TimeToBytes(date)) { } +#pragma warning restore CS0618 // Type or member is obsolete public DateTime GetTime() {