public class PdfPublicKeySecurityHandler extends Object
Modifier and Type | Field and Description |
---|---|
private ArrayList<PdfPublicKeyRecipient> |
recipients |
private byte[] |
seed |
(package private) static int |
SEED_LENGTH |
Constructor and Description |
---|
PdfPublicKeySecurityHandler() |
Modifier and Type | Method and Description |
---|---|
void |
addRecipient(PdfPublicKeyRecipient recipient) |
private KeyTransRecipientInfo |
computeRecipientInfo(X509Certificate x509certificate,
byte[] abyte0) |
private DERObject |
createDERForRecipient(byte[] in,
X509Certificate cert) |
byte[] |
getEncodedRecipient(int index) |
PdfArray |
getEncodedRecipients() |
int |
getRecipientsSize() |
protected byte[] |
getSeed() |
static final int SEED_LENGTH
private ArrayList<PdfPublicKeyRecipient> recipients
private byte[] seed
public PdfPublicKeySecurityHandler()
public void addRecipient(PdfPublicKeyRecipient recipient)
protected byte[] getSeed()
public int getRecipientsSize()
public byte[] getEncodedRecipient(int index) throws IOException, GeneralSecurityException
IOException
GeneralSecurityException
public PdfArray getEncodedRecipients() throws IOException, GeneralSecurityException
IOException
GeneralSecurityException
private DERObject createDERForRecipient(byte[] in, X509Certificate cert) throws IOException, GeneralSecurityException
IOException
GeneralSecurityException
private KeyTransRecipientInfo computeRecipientInfo(X509Certificate x509certificate, byte[] abyte0) throws GeneralSecurityException, IOException
GeneralSecurityException
IOException
WebARTS Library Licensed Under the GNU - General Public License. Other Libraries licensed under their respective Open Source Licenses