H21lab / PDFBox-MultiEncrypt

Simple app to encrypt pdf document for multiple X.509 recipients using Apache PDFBox.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

PDFBox MultiEncrypt.java

Simple app to encrypt pdf document for multiple X.509 recipients using Apache PDFBox.

Usage

java -jar ./MultiEncrypt.jar -certFile ./recipient1.cer -certFile -certFile ./recipient2.cer test.pdf

Compilation

In Java compile MultiEncrypt.java attached with PDFBox libraries

Attribution

Modified by Martin Kacer, code based on PDFBox library

All the content and resources have been provided in the hope that it will be useful. Author do not take responsibility for any misapplication of it. The software is distributed in the hope that will be useful, but WITHOUT ANY WARRANTY.

License

Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to You under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

  http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and

  • limitations under the License.

About

Simple app to encrypt pdf document for multiple X.509 recipients using Apache PDFBox.


Languages

Language:Java 100.0%