/// <summary>
        /// Returns true if Cert instances are equal
        /// </summary>
        /// <param name="other">Instance of Cert to be compared</param>
        /// <returns>Boolean</returns>
        public bool Equals(Cert other)
        {
            if (ReferenceEquals(null, other))
            {
                return(false);
            }
            if (ReferenceEquals(this, other))
            {
                return(true);
            }

            return
                ((
                     Status == other.Status ||
                     Status != null &&
                     Status.Equals(other.Status)
                     ) &&
                 (
                     Certificates == other.Certificates ||
                     Certificates != null &&
                     Certificates.SequenceEqual(other.Certificates)
                 ) &&
                 (
                     IssuerDN == other.IssuerDN ||
                     IssuerDN != null &&
                     IssuerDN.Equals(other.IssuerDN)
                 ) &&
                 (
                     SerialNumber == other.SerialNumber ||
                     SerialNumber != null &&
                     SerialNumber.Equals(other.SerialNumber)
                 ) &&
                 (
                     SubjectDN == other.SubjectDN ||
                     SubjectDN != null &&
                     SubjectDN.Equals(other.SubjectDN)
                 ) &&
                 (
                     ValidFrom == other.ValidFrom ||
                     ValidFrom != null &&
                     ValidFrom.Equals(other.ValidFrom)
                 ) &&
                 (
                     ValidTo == other.ValidTo ||
                     ValidTo != null &&
                     ValidTo.Equals(other.ValidTo)
                 ));
        }