private static OutputPrefixType toProtoOutputPrefixType(JwtRsaSsaPssParameters parameters) {
    if (parameters
        .getKidStrategy()
        .equals(JwtRsaSsaPssParameters.KidStrategy.BASE64_ENCODED_KEY_ID)) {
      return OutputPrefixType.TINK;
    }
    return OutputPrefixType.RAW;
  }
Methods to serialize and parse {@link JwtRsaSsaPssPrivateKey} and {@link
JwtRsaSsaPssPublicKey} objects and {@link JwtRsaSsaPssParameters} objects.
java_src/src/main/java/com/google/crypto/tink/jwt/JwtRsaSsaPssProtoSerialization.java