test_class.declarator: signManager = new EcdsaSignKeyManager()
test_class.modifier: private final
test_class.original_string: private final EcdsaSignKeyManager signManager = new EcdsaSignKeyManager();
test_class.type: EcdsaSignKeyManager
test_class.var_name: signManager
test_class.declarator: verifyManager = new EcdsaVerifyKeyManager()
test_class.modifier: private final
test_class.original_string: private final EcdsaVerifyKeyManager verifyManager = new EcdsaVerifyKeyManager();
test_class.type: EcdsaVerifyKeyManager
test_class.var_name: verifyManager
test_class.declarator: factory =
        signManager.keyFactory()
test_class.modifier: private final
test_class.original_string: private final KeyTypeManager.KeyFactory<EcdsaKeyFormat, EcdsaPrivateKey> factory =
        signManager.keyFactory();
test_class.type: KeyTypeManager.KeyFactory<EcdsaKeyFormat, EcdsaPrivateKey>
test_class.var_name: factory
test_class.declarator: rfcTestVectors = {
      new RfcTestVector(
          "sample",
          "60FED4BA255A9D31C961EB74C6356D68C049B8923B61FA6CE669622E60F29FB6",
          "7903FE1008B8BC99A41AE9E95628BC64F2F1B20C2D7E9F5177A3C294D4462299",
          "EFD48B2AACB6A8FD1140DD9CD45E81D69D2C877B56AAF991C34D0EA84EAF3716",
          "F7CB1C942D657C41D436C7A1B6E29F65F3E900DBB9AFF4064DC4AB2F843ACDA8",
          HashType.SHA256,
          EllipticCurveType.NIST_P256),
      new RfcTestVector(
          "sample",
          "EC3A4E415B4E19A4568618029F427FA5DA9A8BC4AE92E02E06AAE5286B300C64"
              + "DEF8F0EA9055866064A254515480BC13",
          "8015D9B72D7D57244EA8EF9AC0C621896708A59367F9DFB9F54CA84B3F1C9DB1"
              + "288B231C3AE0D4FE7344FD2533264720",
          "ED0959D5880AB2D869AE7F6C2915C6D60F96507F9CB3E047C0046861DA4A799C"
              + "FE30F35CC900056D7C99CD7882433709",
          "512C8CCEEE3890A84058CE1E22DBC2198F42323CE8ACA9135329F03C068E5112"
              + "DC7CC3EF3446DEFCEB01A45C2667FDD5",
          HashType.SHA512,
          EllipticCurveType.NIST_P384),
      new RfcTestVector(
          "test",
          "01894550D0785932E00EAA23B694F213F8C3121F86DC97A04E5A7167DB4E5BCD3"
              + "71123D46E45DB6B5D5370A7F20FB633155D38FFA16D2BD761DCAC474B9A2F502"
              + "3A4",
          "00493101C962CD4D2FDDF782285E64584139C2F91B47F87FF82354D6630F746A2"
              + "8A0DB25741B5B34A828008B22ACC23F924FAAFBD4D33F81EA66956DFEAA2BFDF"
              + "CF5",
          "013E99020ABF5CEE7525D16B69B229652AB6BDF2AFFCAEF38773B4B7D08725F10"
              + "CDB93482FDCC54EDCEE91ECA4166B2A7C6265EF0CE2BD7051B7CEF945BABD47E"
              + "E6D",
          "01FBD0013C674AA79CB39849527916CE301C66EA7CE8B80682786AD60F98F7E78"
              + "A19CA69EFF5C57400E3B3A0AD66CE0978214D13BAF4E9AC60752F7B155E2DE4D"
              + "CE3",
          HashType.SHA512,
          EllipticCurveType.NIST_P521),
    }
test_class.modifier: final
test_class.original_string: final RfcTestVector[] rfcTestVectors = {
      new RfcTestVector(
          "sample",
          "60FED4BA255A9D31C961EB74C6356D68C049B8923B61FA6CE669622E60F29FB6",
          "7903FE1008B8BC99A41AE9E95628BC64F2F1B20C2D7E9F5177A3C294D4462299",
          "EFD48B2AACB6A8FD1140DD9CD45E81D69D2C877B56AAF991C34D0EA84EAF3716",
          "F7CB1C942D657C41D436C7A1B6E29F65F3E900DBB9AFF4064DC4AB2F843ACDA8",
          HashType.SHA256,
          EllipticCurveType.NIST_P256),
      new RfcTestVector(
          "sample",
          "EC3A4E415B4E19A4568618029F427FA5DA9A8BC4AE92E02E06AAE5286B300C64"
              + "DEF8F0EA9055866064A254515480BC13",
          "8015D9B72D7D57244EA8EF9AC0C621896708A59367F9DFB9F54CA84B3F1C9DB1"
              + "288B231C3AE0D4FE7344FD2533264720",
          "ED0959D5880AB2D869AE7F6C2915C6D60F96507F9CB3E047C0046861DA4A799C"
              + "FE30F35CC900056D7C99CD7882433709",
          "512C8CCEEE3890A84058CE1E22DBC2198F42323CE8ACA9135329F03C068E5112"
              + "DC7CC3EF3446DEFCEB01A45C2667FDD5",
          HashType.SHA512,
          EllipticCurveType.NIST_P384),
      new RfcTestVector(
          "test",
          "01894550D0785932E00EAA23B694F213F8C3121F86DC97A04E5A7167DB4E5BCD3"
              + "71123D46E45DB6B5D5370A7F20FB633155D38FFA16D2BD761DCAC474B9A2F502"
              + "3A4",
          "00493101C962CD4D2FDDF782285E64584139C2F91B47F87FF82354D6630F746A2"
              + "8A0DB25741B5B34A828008B22ACC23F924FAAFBD4D33F81EA66956DFEAA2BFDF"
              + "CF5",
          "013E99020ABF5CEE7525D16B69B229652AB6BDF2AFFCAEF38773B4B7D08725F10"
              + "CDB93482FDCC54EDCEE91ECA4166B2A7C6265EF0CE2BD7051B7CEF945BABD47E"
              + "E6D",
          "01FBD0013C674AA79CB39849527916CE301C66EA7CE8B80682786AD60F98F7E78"
              + "A19CA69EFF5C57400E3B3A0AD66CE0978214D13BAF4E9AC60752F7B155E2DE4D"
              + "CE3",
          HashType.SHA512,
          EllipticCurveType.NIST_P521),
    };
test_class.type: RfcTestVector[]
test_class.var_name: rfcTestVectors
test_class.file: java_src/src/test/java/com/google/crypto/tink/signature/EcdsaVerifyKeyManagerTest.java
test_class.identifier: EcdsaVerifyKeyManagerTest
test_case.body: @Test
    public void validateKey_wrongVersion_throws() throws Exception {
      EcdsaPublicKey wrongVersionKey =
          EcdsaPublicKey.newBuilder(validPublicKey()).setVersion(1).build();
      try {
        verifyManager.validateKey(wrongVersionKey);
        fail();
      } catch (GeneralSecurityException e) {
        // expected.
      }
    }
test_case.class_method_signature: EcdsaVerifyKeyManagerTest.validateKey_wrongVersion_throws()
test_case.full_signature: @Test public void validateKey_wrongVersion_throws()
test_case.identifier: validateKey_wrongVersion_throws
test_case.invocations: build setVersion newBuilder validPublicKey validateKey fail
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void validateKey_wrongVersion_throws()
focal_class.file: java_src/src/main/java/com/google/crypto/tink/signature/EcdsaVerifyKeyManager.java
focal_class.identifier: EcdsaVerifyKeyManager
focal_class.class_method_signature: EcdsaVerifyKeyManager.EcdsaVerifyKeyManager()
focal_class.full_signature: public  EcdsaVerifyKeyManager()
focal_class.identifier: EcdsaVerifyKeyManager
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.signature:  EcdsaVerifyKeyManager()
focal_class.class_method_signature: EcdsaVerifyKeyManager.getKeyType()
focal_class.full_signature: @Override public String getKeyType()
focal_class.identifier: getKeyType
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: String
focal_class.signature: String getKeyType()
focal_class.class_method_signature: EcdsaVerifyKeyManager.getVersion()
focal_class.full_signature: @Override public int getVersion()
focal_class.identifier: getVersion
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: int
focal_class.signature: int getVersion()
focal_class.class_method_signature: EcdsaVerifyKeyManager.keyMaterialType()
focal_class.full_signature: @Override public KeyMaterialType keyMaterialType()
focal_class.identifier: keyMaterialType
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: KeyMaterialType
focal_class.signature: KeyMaterialType keyMaterialType()
focal_class.class_method_signature: EcdsaVerifyKeyManager.parseKey(ByteString byteString)
focal_class.full_signature: @Override public EcdsaPublicKey parseKey(ByteString byteString)
focal_class.identifier: parseKey
focal_class.modifiers: @Override public
focal_class.parameters: (ByteString byteString)
focal_class.return: EcdsaPublicKey
focal_class.signature: EcdsaPublicKey parseKey(ByteString byteString)
focal_class.class_method_signature: EcdsaVerifyKeyManager.validateKey(EcdsaPublicKey pubKey)
focal_class.full_signature: @Override public void validateKey(EcdsaPublicKey pubKey)
focal_class.identifier: validateKey
focal_class.modifiers: @Override public
focal_class.parameters: (EcdsaPublicKey pubKey)
focal_class.return: void
focal_class.signature: void validateKey(EcdsaPublicKey pubKey)
focal_class.superclass: extends KeyTypeManager<EcdsaPublicKey>
focal_method.body: @Override
    public void validateKey(EcdsaPublicKey pubKey) throws GeneralSecurityException {
      Validators.validateVersion(pubKey.getVersion(), getVersion());
      SigUtil.validateEcdsaParams(pubKey.getParams());
    }
focal_method.class_method_signature: EcdsaVerifyKeyManager.validateKey(EcdsaPublicKey pubKey)
focal_method.full_signature: @Override public void validateKey(EcdsaPublicKey pubKey)
focal_method.identifier: validateKey
focal_method.invocations: validateVersion getVersion getVersion validateEcdsaParams getParams
focal_method.modifiers: @Override public
focal_method.parameters: (EcdsaPublicKey pubKey)
focal_method.return: void
focal_method.signature: void validateKey(EcdsaPublicKey pubKey)