@Deprecated
  public static KeyTemplate createRsaSsaPkcs1KeyTemplate(
      HashType hashType, int modulusSize, BigInteger publicExponent, OutputPrefixType prefixType) {
    RsaSsaPkcs1Params params = RsaSsaPkcs1Params.newBuilder().setHashType(hashType).build();
    RsaSsaPkcs1KeyFormat format =
        RsaSsaPkcs1KeyFormat.newBuilder()
            .setParams(params)
            .setModulusSizeInBits(modulusSize)
            .setPublicExponent(ByteString.copyFrom(publicExponent.toByteArray()))
            .build();
    return KeyTemplate.newBuilder()
        .setValue(format.toByteString())
        .setTypeUrl(RsaSsaPkcs1SignKeyManager.getKeyType())
        .setOutputPrefixType(prefixType)
        .build();
  }
@return a {@link KeyTemplate} containing a {@link RsaSsaPkcs1KeyFormat} with some specified
    parameters.
@deprecated Use a corresponding {@link RsaSsaPkcs1Parameters} object instead
java_src/src/main/java/com/google/crypto/tink/signature/SignatureKeyTemplates.java