private static com.google.crypto.tink.proto.RsaSsaPssParams getProtoParams(
      RsaSsaPssParameters parameters) throws GeneralSecurityException {
    return com.google.crypto.tink.proto.RsaSsaPssParams.newBuilder()
        .setSigHash(HASH_TYPE_CONVERTER.toProtoEnum(parameters.getSigHashType()))
        .setMgf1Hash(HASH_TYPE_CONVERTER.toProtoEnum(parameters.getMgf1HashType()))
        .setSaltLength(parameters.getSaltLengthBytes())
        .build();
  }
Methods to serialize and parse {@link RsaSsaPssPrivateKey} and {@link RsaSsaPssPublicKey} objects
and {@link RsaSsaPssParameters} objects.
java_src/src/main/java/com/google/crypto/tink/signature/internal/RsaSsaPssProtoSerialization.java