@Override
  public int hashCode() {
    return Objects.hash(getFormat(), Arrays.hashCode(getEncoded()));
  }
Returns the public or private key in its raw format.

@return key in its raw format.
common/src/main/java/org/conscrypt/XdhKeySpec.java