code: @SneakyThrows
      public EncryptedAssertion encode(final Assertion samlObject,
                                       final SamlRegisteredService service,
                                       final SamlRegisteredServiceServiceProviderMetadataFacade adaptor) {
          val encrypter = buildEncrypterForSamlObject(samlObject, service, adaptor);
          return encrypter.encrypt(samlObject);
      }
docs: Encode a given saml object by invoking a number of outbound security handlers on the context.
  
  @param samlObject the saml object
  @param service    the service
  @param adaptor    the adaptor
  @return the t