/// <summary>
/// Checks whether specified certificate matches this certificate
/// </summary>
/// <param name="certificate">Certificate to be checked</param>
/// <returns>Null if match cannot be performed, true if certificate matches, false otherwise</returns>
public bool?Matches(BCX509.X509Certificate certificate)
{
if (certificate == null)
{
return(null);
}
return(certificate.Equals(CertUtils.ToBouncyCastleObject(this.Data)));
}