public static Document sign(FederationElement descriptor,SPSSOConfigElement spconfig,IDPSSOConfigElement idpconfig) throws JAXBException, WSFederationMetaException {
  return null;
}

public static Document sign ( FederationElement descriptor , SPSSOConfigElement spconfig , IDPSSOConfigElement idpconfig ) throws JAXBException , WSFederationMetaException { return null ; }
signs service provider descriptor under entity descriptor if an cert alias is found in service provider config and identity provider descriptor under entity descriptor if an cert alias is found in identity provider config .
