Change the validateKey_testVector test to actually test that the test vector key is valid.

Previously it was just a repeat of the test above.

PiperOrigin-RevId: 267583620
diff --git a/java/src/test/java/com/google/crypto/tink/signature/RsaSsaPssVerifyKeyManagerTest.java b/java/src/test/java/com/google/crypto/tink/signature/RsaSsaPssVerifyKeyManagerTest.java
index b63a29d..4025daf 100644
--- a/java/src/test/java/com/google/crypto/tink/signature/RsaSsaPssVerifyKeyManagerTest.java
+++ b/java/src/test/java/com/google/crypto/tink/signature/RsaSsaPssVerifyKeyManagerTest.java
@@ -135,18 +135,7 @@
 
   @Test
   public void validateKey_testVector() throws Exception {
-    RsaSsaPssKeyFormat keyFormat =
-        RsaSsaPssKeyFormat.newBuilder()
-            .setParams(
-                RsaSsaPssParams.newBuilder()
-                    .setSigHash(HashType.SHA256)
-                    .setMgf1Hash(HashType.SHA256)
-                    .setSaltLength(32))
-            .setModulusSizeInBits(3072)
-            .setPublicExponent(ByteString.copyFrom(RSAKeyGenParameterSpec.F4.toByteArray()))
-            .build();
-    RsaSsaPssPrivateKey privateKey = factory.createKey(keyFormat);
-    RsaSsaPssPublicKey publicKey = signManager.getPublicKey(privateKey);
+    RsaSsaPssPublicKey publicKey = nistTestVectors[0].publicKeyProto;
     verifyManager.validateKey(publicKey);
   }