public static final KeyTemplate rawRsa4096SsaPkcs1Sha512F4Template() {
    return exceptionIsBug(
        () ->
            KeyTemplate.createFrom(
                RsaSsaPkcs1Parameters.builder()
                    .setModulusSizeBits(4096)
                    .setPublicExponent(RsaSsaPkcs1Parameters.F4)
                    .setHashType(RsaSsaPkcs1Parameters.HashType.SHA512)
                    .setVariant(RsaSsaPkcs1Parameters.Variant.NO_PREFIX)
                    .build()));
  }
@return A {@link KeyTemplate} that generates new instances of RSA-SSA-PKCS1 key pairs with the
    following parameters:
    <ul>
      <li>Hash function: SHA512.
      <li>Modulus size: 4096 bit.
      <li>Public exponent: 65537 (aka F4).
      <li>Prefix type: {@link KeyTemplate.OutputPrefixType#RAW} (no prefix).
    </ul>
java_src/src/main/java/com/google/crypto/tink/signature/RsaSsaPkcs1SignKeyManager.java