Class RydePgpSigningOutputStream

All Implemented Interfaces:
Closeable, Flushable, AutoCloseable

public class RydePgpSigningOutputStream extends ImprovedOutputStream
OpenPGP detached signing service that wraps an OutputStream.

This is the outermost layer. It signs the resulting file without modifying its bytes, instead generating an out-of-band .asc signature file. This is basically a SHA-256 checksum of the deposit file that's signed with our RSA private key. This allows the people who receive a deposit to check the signature against our public key so they can know the data hasn't been forged.