Class BCStrictStyle

java.lang.Object
org.bouncycastle.asn1.x500.style.BCStyle
org.bouncycastle.asn1.x500.style.BCStrictStyle
All Implemented Interfaces:
X500NameStyle

public class BCStrictStyle
extends BCStyle
Variation of BCStyle that insists on strict ordering for equality and hashCode comparisons
  • Field Details

  • Constructor Details

    • BCStrictStyle

      public BCStrictStyle()
  • Method Details

    • areEqual

      public boolean areEqual​(X500Name name1, X500Name name2)
      Description copied from interface: X500NameStyle
      Return true if the two names are equal.
      Specified by:
      areEqual in interface X500NameStyle
      Overrides:
      areEqual in class BCStyle
      Parameters:
      name1 - first name for comparison.
      name2 - second name for comparison.
      Returns:
      true if name1 = name 2, false otherwise.