public Element encrypt(String xmlString,Key recipientPublicKey,String dataEncAlgorithm,int dataEncStrength,String recipientEntityID,String outerElementName) throws SAML2Exception {
  return encrypt(xmlString,recipientPublicKey,null,dataEncAlgorithm,dataEncStrength,recipientEntityID,outerElementName);
}

public Element encrypt ( String xmlString , Key recipientPublicKey , String dataEncAlgorithm , int dataEncStrength , String recipientEntityID , String outerElementName ) throws SAML2Exception { return encrypt ( xmlString , recipientPublicKey , null , dataEncAlgorithm , dataEncStrength , recipientEntityID , outerElementName ) ; }
encrypts the root element of the given xml document .
