Every time you choose to apply a rule(s), explicitly state the rule(s) in the output. You can abbreviate the rule description to a single word or phrase.
[Brief description ]
- [more description]
- [more description]
- [more description]
| # Procedure is for Ubuntu 14.04 LTS. | |
| # Using these guides: | |
| # http://datacenteroverlords.com/2012/03/01/creating-your-own-ssl-certificate-authority/ | |
| # https://www.onlinesmartketer.com/2009/06/23/curl-adding-installing-trusting-new-self-signed-certificate/ | |
| # https://jamielinux.com/articles/2013/08/act-as-your-own-certificate-authority/ | |
| # Generate the root (GIVE IT A PASSWORD IF YOU'RE NOT AUTOMATING SIGNING!): | |
| openssl genrsa -aes256 -out ca.key 2048 | |
| openssl req -new -x509 -days 7300 -key ca.key -sha256 -extensions v3_ca -out ca.crt |
| package pdfutil; | |
| import org.apache.pdfbox.cos.COSArray; | |
| import org.apache.pdfbox.cos.COSDictionary; | |
| import org.apache.pdfbox.cos.COSName; | |
| import org.apache.pdfbox.cos.COSStream; | |
| import org.apache.pdfbox.pdmodel.PDDocument; | |
| import org.apache.pdfbox.pdmodel.PDDocumentCatalog; | |
| import org.apache.pdfbox.pdmodel.PDPage; | |
| import org.apache.pdfbox.pdmodel.PDResources; |
| import java.io.File; | |
| import java.io.FileInputStream; | |
| import java.io.FileNotFoundException; | |
| import java.io.FileOutputStream; | |
| import java.io.IOException; | |
| import java.io.InputStream; | |
| import java.io.OutputStreamWriter; | |
| import java.util.logging.Level; | |
| import java.util.logging.Logger; | |
| import org.apache.poi.openxml4j.exceptions.InvalidFormatException; |