@Test
  public void testIsValidDerEncoding() throws Exception {
    for (String der : invalidEcdsaDers) {
      assertFalse(EllipticCurves.isValidDerEncoding(Hex.decode(der)));
    }
  }
A class to store a pair of valid Ecdsa signature in IEEE_P1363 and DER format.
java_src/src/test/java/com/google/crypto/tink/subtle/EllipticCurvesTest.java