using System; namespace Renci.SshNet.Common { /// /// Describes object identifier for DER encoding. /// public struct ObjectIdentifier { /// /// Gets the object identifier. /// public ulong[] Identifiers { get; private set; } /// /// Initializes a new instance of the struct. /// /// The identifiers. /// is . /// has less than two elements. public ObjectIdentifier(params ulong[] identifiers) { if (identifiers is null) { throw new ArgumentNullException(nameof(identifiers)); } if (identifiers.Length < 2) { throw new ArgumentException("Must contain at least two elements.", nameof(identifiers)); } Identifiers = identifiers; } } }