test_class.declarator: signManager = new RsaSsaPkcs1SignKeyManager()
test_class.modifier: private final
test_class.original_string: private final RsaSsaPkcs1SignKeyManager signManager = new RsaSsaPkcs1SignKeyManager();
test_class.type: RsaSsaPkcs1SignKeyManager
test_class.var_name: signManager
test_class.declarator: factory =
        signManager.keyFactory()
test_class.modifier: private final
test_class.original_string: private final KeyTypeManager.KeyFactory<RsaSsaPkcs1KeyFormat, RsaSsaPkcs1PrivateKey> factory =
        signManager.keyFactory();
test_class.type: KeyTypeManager.KeyFactory<RsaSsaPkcs1KeyFormat, RsaSsaPkcs1PrivateKey>
test_class.var_name: factory
test_class.declarator: verifyManager = new RsaSsaPkcs1VerifyKeyManager()
test_class.modifier: private final
test_class.original_string: private final RsaSsaPkcs1VerifyKeyManager verifyManager = new RsaSsaPkcs1VerifyKeyManager();
test_class.type: RsaSsaPkcs1VerifyKeyManager
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/RsaSsaPkcs1VerifyKeyManagerTest.java
test_class.identifier: RsaSsaPkcs1VerifyKeyManagerTest
test_case.body: @Test
    public void validateKey_wrongVersion() throws Exception {
      RsaSsaPkcs1PublicKey publicKey = nistTestVectors[0].publicKeyProto;
  
      RsaSsaPkcs1PublicKey invalidKey =
          RsaSsaPkcs1PublicKey.newBuilder(publicKey).setVersion(1).build();
      try {
        verifyManager.validateKey(invalidKey);
        fail();
      } catch (GeneralSecurityException e) {
        // expected
      }
    }
test_case.class_method_signature: RsaSsaPkcs1VerifyKeyManagerTest.validateKey_wrongVersion()
test_case.full_signature: @Test public void validateKey_wrongVersion()
test_case.identifier: validateKey_wrongVersion
test_case.invocations: build setVersion newBuilder validateKey fail
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void validateKey_wrongVersion()
focal_class.file: java_src/src/main/java/com/google/crypto/tink/signature/RsaSsaPkcs1VerifyKeyManager.java
focal_class.identifier: RsaSsaPkcs1VerifyKeyManager
focal_class.class_method_signature: RsaSsaPkcs1VerifyKeyManager.RsaSsaPkcs1VerifyKeyManager()
focal_class.full_signature: public  RsaSsaPkcs1VerifyKeyManager()
focal_class.identifier: RsaSsaPkcs1VerifyKeyManager
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.signature:  RsaSsaPkcs1VerifyKeyManager()
focal_class.class_method_signature: RsaSsaPkcs1VerifyKeyManager.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: RsaSsaPkcs1VerifyKeyManager.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: RsaSsaPkcs1VerifyKeyManager.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: RsaSsaPkcs1VerifyKeyManager.parseKey(ByteString byteString)
focal_class.full_signature: @Override public RsaSsaPkcs1PublicKey parseKey(ByteString byteString)
focal_class.identifier: parseKey
focal_class.modifiers: @Override public
focal_class.parameters: (ByteString byteString)
focal_class.return: RsaSsaPkcs1PublicKey
focal_class.signature: RsaSsaPkcs1PublicKey parseKey(ByteString byteString)
focal_class.class_method_signature: RsaSsaPkcs1VerifyKeyManager.validateKey(RsaSsaPkcs1PublicKey pubKey)
focal_class.full_signature: @Override public void validateKey(RsaSsaPkcs1PublicKey pubKey)
focal_class.identifier: validateKey
focal_class.modifiers: @Override public
focal_class.parameters: (RsaSsaPkcs1PublicKey pubKey)
focal_class.return: void
focal_class.signature: void validateKey(RsaSsaPkcs1PublicKey pubKey)
focal_class.superclass: extends KeyTypeManager<RsaSsaPkcs1PublicKey>
focal_method.body: @Override
    public void validateKey(RsaSsaPkcs1PublicKey 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.validateRsaSsaPkcs1Params(pubKey.getParams());
    }
focal_method.class_method_signature: RsaSsaPkcs1VerifyKeyManager.validateKey(RsaSsaPkcs1PublicKey pubKey)
focal_method.full_signature: @Override public void validateKey(RsaSsaPkcs1PublicKey pubKey)
focal_method.identifier: validateKey
focal_method.invocations: validateVersion getVersion getVersion validateRsaModulusSize bitLength toByteArray getN validateRsaPublicExponent toByteArray getE validateRsaSsaPkcs1Params getParams
focal_method.modifiers: @Override public
focal_method.parameters: (RsaSsaPkcs1PublicKey pubKey)
focal_method.return: void
focal_method.signature: void validateKey(RsaSsaPkcs1PublicKey pubKey)