This is neither a '--clearsign' nor a '--detach-sign' which are already supported. Verification of these signatures is already supported by ReadMessage. The code shares a lot with standard encrypt/sign, so mostly a refactoring of 'Encrypt' to allow use of the code path without actually doing a signing. Change-Id: I5bb7487134ffcf1189ed74e28dbbbe1c01b356d1 GitHub-Last-Rev: 01162222600a4a2a230a444387b33883faf596ec GitHub-Pull-Request: golang/crypto#50 Reviewed-on: https://go-review.googlesource.com/116017 Reviewed-by: Filippo Valsorda <filippo@golang.org>