# 5 Methods to Sign PDFs in Java with a Key Held in HashiCorp Vault Sign PDF documents with GroupDocs.Signature for Java while the RSA private key stays inside HashiCorp Vault Transit. Five methods...... A certificate holds one public key, so the certificate...new Date(now - ONE_DAY), new Date(now + 365 * ONE_DAY), subject...