/// <summary>
 /// Two DnsResourceDataCertificate are equal iff their certificate type, key tag, algorithm and certificate fields are equal.
 /// </summary>
 public bool Equals(DnsResourceDataCertificate other)
 {
     return(other != null &&
            CertificateType.Equals(other.CertificateType) &&
            KeyTag.Equals(other.KeyTag) &&
            Algorithm.Equals(other.Algorithm) &&
            Certificate.Equals(other.Certificate));
 }
Example #2
0
 /// <summary>
 /// Two DnsResourceDataDelegationSigner are equal iff their key tag, algorithm, digest type and digest fields are equal.
 /// </summary>
 public bool Equals(DnsResourceDataDelegationSigner other)
 {
     return(other != null &&
            KeyTag.Equals(other.KeyTag) &&
            Algorithm.Equals(other.Algorithm) &&
            DigestType.Equals(other.DigestType) &&
            Digest.Equals(other.Digest));
 }
 /// <summary>
 /// Two DnsResourceDataSignature are equal iff their type covered, algorithm, labels, original TTL, signature expiration, signature inception, key tag,
 /// signer's name and signature fields are equal.
 /// </summary>
 public bool Equals(DnsResourceDataSignature other)
 {
     return(other != null &&
            TypeCovered.Equals(other.TypeCovered) &&
            Algorithm.Equals(other.Algorithm) &&
            Labels.Equals(other.Labels) &&
            OriginalTtl.Equals(other.OriginalTtl) &&
            SignatureExpiration.Equals(other.SignatureExpiration) &&
            SignatureInception.Equals(other.SignatureInception) &&
            KeyTag.Equals(other.KeyTag) &&
            SignersName.Equals(other.SignersName) &&
            Signature.Equals(other.Signature));
 }