java.security.cert.X509CRL.equals()方法的使用及代码示例

x33g5p2x  于2022-02-02 转载在 其他  
字(3.0k)|赞(0)|评价(0)|浏览(108)

本文整理了Java中java.security.cert.X509CRL.equals()方法的一些代码示例,展示了X509CRL.equals()的具体用法。这些代码示例主要来源于Github/Stackoverflow/Maven等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。X509CRL.equals()方法的具体详情如下:
包路径:java.security.cert.X509CRL
类名称:X509CRL
方法名:equals

X509CRL.equals介绍

[英]Returns whether the specified object equals to this instance.
[中]返回指定的对象是否等于此实例。

代码示例

代码示例来源:origin: ripple-unmaintained/ripple-lib-java

public boolean equals(Object other)
{
  if (this == other)
  {
    return true;
  }
  if (!(other instanceof X509CRL))
  {
    return false;
  }
  if (other instanceof X509CRLObject)
  {
    X509CRLObject crlObject = (X509CRLObject)other;
    if (isHashCodeSet)
    {
      boolean otherIsHashCodeSet = crlObject.isHashCodeSet;
      if (otherIsHashCodeSet)
      {
        if (crlObject.hashCodeValue != hashCodeValue)
        {
          return false;
        }
      }
    }
    return this.c.equals(crlObject.c);
  }
  return super.equals(other);
}

代码示例来源:origin: com.madgag.spongycastle/prov

public boolean equals(Object other)
{
  if (this == other)
  {
    return true;
  }
  if (!(other instanceof X509CRL))
  {
    return false;
  }
  if (other instanceof X509CRLObject)
  {
    X509CRLObject crlObject = (X509CRLObject)other;
    if (isHashCodeSet)
    {
      boolean otherIsHashCodeSet = crlObject.isHashCodeSet;
      if (otherIsHashCodeSet)
      {
        if (crlObject.hashCodeValue != hashCodeValue)
        {
          return false;
        }
      }
    }
    return this.c.equals(crlObject.c);
  }
  return super.equals(other);
}

代码示例来源:origin: org.bouncycastle/bcprov-debug-jdk15on

public boolean equals(Object other)
{
  if (this == other)
  {
    return true;
  }
  if (!(other instanceof X509CRL))
  {
    return false;
  }
  if (other instanceof X509CRLObject)
  {
    X509CRLObject crlObject = (X509CRLObject)other;
    if (isHashCodeSet)
    {
      boolean otherIsHashCodeSet = crlObject.isHashCodeSet;
      if (otherIsHashCodeSet)
      {
        if (crlObject.hashCodeValue != hashCodeValue)
        {
          return false;
        }
      }
    }
    return this.c.equals(crlObject.c);
  }
  return super.equals(other);
}

代码示例来源:origin: com.madgag.spongycastle/prov

public boolean equals(Object other)
{
  if (this == other)
  {
    return true;
  }
  if (!(other instanceof X509CRL))
  {
    return false;
  }
  if (other instanceof X509CRLObject)
  {
    X509CRLObject crlObject = (X509CRLObject)other;
    if (isHashCodeSet)
    {
      boolean otherIsHashCodeSet = crlObject.isHashCodeSet;
      if (otherIsHashCodeSet)
      {
        if (crlObject.hashCodeValue != hashCodeValue)
        {
          return false;
        }
      }
    }
    return this.c.equals(crlObject.c);
  }
  return super.equals(other);
}

代码示例来源:origin: org.bouncycastle/bcprov-debug-jdk15on

public boolean equals(Object other)
{
  if (this == other)
  {
    return true;
  }
  if (!(other instanceof X509CRL))
  {
    return false;
  }
  if (other instanceof X509CRLObject)
  {
    X509CRLObject crlObject = (X509CRLObject)other;
    if (isHashCodeSet)
    {
      boolean otherIsHashCodeSet = crlObject.isHashCodeSet;
      if (otherIsHashCodeSet)
      {
        if (crlObject.hashCodeValue != hashCodeValue)
        {
          return false;
        }
      }
    }
    return this.c.equals(crlObject.c);
  }
  return super.equals(other);
}

代码示例来源:origin: ripple-unmaintained/ripple-lib-java

public boolean equals(Object other)
{
  if (this == other)
  {
    return true;
  }
  if (!(other instanceof X509CRL))
  {
    return false;
  }
  if (other instanceof X509CRLObject)
  {
    X509CRLObject crlObject = (X509CRLObject)other;
    if (isHashCodeSet)
    {
      boolean otherIsHashCodeSet = crlObject.isHashCodeSet;
      if (otherIsHashCodeSet)
      {
        if (crlObject.hashCodeValue != hashCodeValue)
        {
          return false;
        }
      }
    }
    return this.c.equals(crlObject.c);
  }
  return super.equals(other);
}

相关文章