Org.BouncyCastle.X509.X509Certificate.GetHashCode C# (CSharp) Method

GetHashCode() public method

public GetHashCode ( ) : int
return int
        public override int GetHashCode()
        {
            lock (this)
            {
                if (!hashValueSet)
                {
                    hashValue = c.GetHashCode();
                    hashValueSet = true;
                }
            }

            return hashValue;
        }

Usage Example

        public override int GetHashCode()
        {
            int hash = 0;

            if (forward != null)
            {
                hash ^= forward.GetHashCode();
            }
            if (reverse != null)
            {
                hash ^= reverse.GetHashCode();
            }
            return(hash);
        }
All Usage Examples Of Org.BouncyCastle.X509.X509Certificate::GetHashCode