Class BCStrictStyle

  • All Implemented Interfaces:
    X500NameStyle

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

      • BCStrictStyle

        public BCStrictStyle()
    • Method Detail

      • 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 AbstractX500NameStyle
        Parameters:
        name1 - first name for comparison.
        name2 - second name for comparison.
        Returns:
        true if name1 = name 2, false otherwise.