boolean asn1Equals(DERObject o) { if (!(o instanceof DERApplicationSpecific)) { return false; } DERApplicationSpecific other = (DERApplicationSpecific) o; return isConstructed == other.isConstructed && tag == other.tag && Arrays.areEqual(octets, other.octets); }
public int hashCode() { return (isConstructed ? 1 : 0) ^ tag ^ Arrays.hashCode(octets); }