using System; using System.Security.Cryptography; using System.Security.Cryptography.Pkcs; using System.Security.Cryptography.X509Certificates; namespace System.Security.Cryptography.Pkcs { public sealed class Rfc3161TimestampTokenInfo { public long? AccuracyInMicroseconds { get { throw new PlatformNotSupportedException (); } } public bool HasExtensions { get { throw new PlatformNotSupportedException (); } } public Oid HashAlgorithmId { get { throw new PlatformNotSupportedException (); } } public bool IsOrdering { get { throw new PlatformNotSupportedException (); } } public Oid PolicyId { get { throw new PlatformNotSupportedException (); } } public DateTimeOffset Timestamp { get { throw new PlatformNotSupportedException (); } } public int Version { get { throw new PlatformNotSupportedException (); } } /// /// /// /// /// /// /// /// /// /// public Rfc3161TimestampTokenInfo (Oid policyId, Oid hashAlgorithmId, ReadOnlyMemory messageHash, ReadOnlyMemory serialNumber, DateTimeOffset timestamp, long? accuracyInMicroseconds = default(long?), bool isOrdering = false, ReadOnlyMemory? nonce = default(ReadOnlyMemory?), ReadOnlyMemory? timestampAuthorityName = default(ReadOnlyMemory?), X509ExtensionCollection extensions = null) { throw new PlatformNotSupportedException (); } public byte[] Encode () { throw new PlatformNotSupportedException (); } public X509ExtensionCollection GetExtensions () { throw new PlatformNotSupportedException (); } public ReadOnlyMemory GetMessageHash () { throw new PlatformNotSupportedException (); } public ReadOnlyMemory? GetNonce () { throw new PlatformNotSupportedException (); } public ReadOnlyMemory GetSerialNumber () { throw new PlatformNotSupportedException (); } public ReadOnlyMemory? GetTimestampAuthorityName () { throw new PlatformNotSupportedException (); } /// /// /// public static bool TryDecode (ReadOnlyMemory encodedBytes, out Rfc3161TimestampTokenInfo timestampTokenInfo, out int bytesConsumed) { throw new PlatformNotSupportedException (); } /// /// public bool TryEncode (Span destination, out int bytesWritten) { throw new PlatformNotSupportedException (); } } }