test_class.declarator: signManager = new RsaSsaPssSignKeyManager()
test_class.modifier: private final
test_class.original_string: private final RsaSsaPssSignKeyManager signManager = new RsaSsaPssSignKeyManager();
test_class.type: RsaSsaPssSignKeyManager
test_class.var_name: signManager
test_class.declarator: factory =
        signManager.keyFactory()
test_class.modifier: private final
test_class.original_string: private final KeyTypeManager.KeyFactory<RsaSsaPssKeyFormat, RsaSsaPssPrivateKey> factory =
        signManager.keyFactory();
test_class.type: KeyTypeManager.KeyFactory<RsaSsaPssKeyFormat, RsaSsaPssPrivateKey>
test_class.var_name: factory
test_class.declarator: verifyManager = new RsaSsaPssVerifyKeyManager()
test_class.modifier: private final
test_class.original_string: private final RsaSsaPssVerifyKeyManager verifyManager = new RsaSsaPssVerifyKeyManager();
test_class.type: RsaSsaPssVerifyKeyManager
test_class.var_name: verifyManager
test_class.declarator: nistTestVectors
test_class.modifier: static
test_class.original_string: static NistTestVector[] nistTestVectors;
test_class.type: NistTestVector[]
test_class.var_name: nistTestVectors
test_class.file: java_src/src/test/java/com/google/crypto/tink/signature/RsaSsaPssVerifyKeyManagerTest.java
test_class.identifier: RsaSsaPssVerifyKeyManagerTest
test_case.body: @Test
    public void validateKey_smallModulus() throws Exception {
      RsaSsaPssPublicKey publicKey = nistTestVectors[0].publicKeyProto;
  
      RsaSsaPssPublicKey invalidKey =
          RsaSsaPssPublicKey.newBuilder(publicKey)
              .setN(ByteString.copyFrom(TestUtil.hexDecode("23")))
              .setE(ByteString.copyFrom(TestUtil.hexDecode("03")))
              .build();
      try {
        verifyManager.validateKey(invalidKey);
        fail();
      } catch (GeneralSecurityException e) {
        // expected
      }
    }
test_case.class_method_signature: RsaSsaPssVerifyKeyManagerTest.validateKey_smallModulus()
test_case.full_signature: @Test public void validateKey_smallModulus()
test_case.identifier: validateKey_smallModulus
test_case.invocations: build setE setN newBuilder copyFrom hexDecode copyFrom hexDecode validateKey fail
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void validateKey_smallModulus()
focal_class.file: java_src/src/main/java/com/google/crypto/tink/signature/RsaSsaPssVerifyKeyManager.java
focal_class.identifier: RsaSsaPssVerifyKeyManager
focal_class.class_method_signature: RsaSsaPssVerifyKeyManager.RsaSsaPssVerifyKeyManager()
focal_class.full_signature: public  RsaSsaPssVerifyKeyManager()
focal_class.identifier: RsaSsaPssVerifyKeyManager
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.signature:  RsaSsaPssVerifyKeyManager()
focal_class.class_method_signature: RsaSsaPssVerifyKeyManager.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: RsaSsaPssVerifyKeyManager.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: RsaSsaPssVerifyKeyManager.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: RsaSsaPssVerifyKeyManager.parseKey(ByteString byteString)
focal_class.full_signature: @Override public RsaSsaPssPublicKey parseKey(ByteString byteString)
focal_class.identifier: parseKey
focal_class.modifiers: @Override public
focal_class.parameters: (ByteString byteString)
focal_class.return: RsaSsaPssPublicKey
focal_class.signature: RsaSsaPssPublicKey parseKey(ByteString byteString)
focal_class.class_method_signature: RsaSsaPssVerifyKeyManager.validateKey(RsaSsaPssPublicKey pubKey)
focal_class.full_signature: @Override public void validateKey(RsaSsaPssPublicKey pubKey)
focal_class.identifier: validateKey
focal_class.modifiers: @Override public
focal_class.parameters: (RsaSsaPssPublicKey pubKey)
focal_class.return: void
focal_class.signature: void validateKey(RsaSsaPssPublicKey pubKey)
focal_class.superclass: extends KeyTypeManager<RsaSsaPssPublicKey>
focal_method.body: @Override
    public void validateKey(RsaSsaPssPublicKey pubKey) throws GeneralSecurityException {
      Validators.validateVersion(pubKey.getVersion(), getVersion());
      Validators.validateRsaModulusSize(new BigInteger(1, pubKey.getN().toByteArray()).bitLength());
      Validators.validateRsaPublicExponent(new BigInteger(1, pubKey.getE().toByteArray()));
      SigUtil.validateRsaSsaPssParams(pubKey.getParams());
    }
focal_method.class_method_signature: RsaSsaPssVerifyKeyManager.validateKey(RsaSsaPssPublicKey pubKey)
focal_method.full_signature: @Override public void validateKey(RsaSsaPssPublicKey pubKey)
focal_method.identifier: validateKey
focal_method.invocations: validateVersion getVersion getVersion validateRsaModulusSize bitLength toByteArray getN validateRsaPublicExponent toByteArray getE validateRsaSsaPssParams getParams
focal_method.modifiers: @Override public
focal_method.parameters: (RsaSsaPssPublicKey pubKey)
focal_method.return: void
focal_method.signature: void validateKey(RsaSsaPssPublicKey pubKey)