SOAP API - XML signing

Is it possible to sign XMLs that are presented with a provided stylesheet by using the SOAP API? If so, is there any documentation regarding this?