java_src/src/main/java/com/google/crypto/tink/jwt/JwtHmacKeyManager.java
/**
   * @return a {@link KeyTemplate} containing a {@link JwtHmacKeyFormat} with some specified
   *     parameters.
   */
@return a  KeyTemplate containing a  JwtHmacKeyFormat with some specified
parameters.
@return a KeyTemplate containing a JwtHmacKeyFormat with some specified parameters .
private static KeyTemplate createTemplate(JwtHmacAlgorithm algorithm, int keySize) {
    JwtHmacKeyFormat format =
        JwtHmacKeyFormat.newBuilder().setAlgorithm(algorithm).setKeySize(keySize).build();
    return KeyTemplate.create(
        new JwtHmacKeyManager().getKeyType(),
        format.toByteArray(),
        KeyTemplate.OutputPrefixType.RAW);
  }
private static KeyTemplate createTemplate ( JwtHmacAlgorithm algorithm , int keySize ) { JwtHmacKeyFormat format = JwtHmacKeyFormat . newBuilder ( ) . setAlgorithm ( algorithm ) . setKeySize ( keySize ) . build ( ) ; return KeyTemplate . create ( new JwtHmacKeyManager ( ) . getKeyType ( ) , format . toByteArray ( ) , KeyTemplate . OutputPrefixType . RAW ) ; }
@return a {@link KeyTemplate} containing a {@link JwtHmacKeyFormat} with some specified
     parameters.
@return a { @link KeyTemplate } containing a { @link JwtHmacKeyFormat } with some specified parameters .