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  class.
        /// 
        /// The identifiers.
        public ObjectIdentifier(params ulong[] identifiers)
            : this()
        {
            if (identifiers.Length < 2)
                throw new ArgumentException("identifiers");
            this.Identifiers = identifiers;
        }
    }
}