Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## com.lowagie.text.pdf
Class PdfPublicKeySecurityHandler

    java.lang.Object
      com.lowagie.text.pdf.PdfPublicKeySecurityHandler

    public class PdfPublicKeySecurityHandler

extends Object

Author:
  Aiken Sam (aikensam@ieee.org)

Field Summary
`private ArrayList` | `recipients`
`private byte[]` | `seed`
`(package private) static int` | `SEED_LENGTH`

Constructor Summary
`PdfPublicKeySecurityHandler()`

Method Summary
`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 byte[]` | `unescapedString(byte[] bytes)`

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Field Detail

### SEED_LENGTH

    static final int SEED_LENGTH

See Also:
  Constant Field Values

### recipients

    private ArrayList recipients

### seed

    private byte[] seed

Constructor Detail

### PdfPublicKeySecurityHandler

    public PdfPublicKeySecurityHandler()

Method Detail

### unescapedString

    public static byte[] unescapedString(byte[] bytes)
                                  throws BadPdfFormatException

  Throws:
    `BadPdfFormatException`

### addRecipient

    public void addRecipient(PdfPublicKeyRecipient recipient)

### getSeed

    protected byte[] getSeed()

### getRecipientsSize

    public int getRecipientsSize()

### getEncodedRecipient

    public byte[] getEncodedRecipient(int index)
                               throws IOException,
                                      GeneralSecurityException

  Throws:
    `IOException`
    `GeneralSecurityException`

### getEncodedRecipients

    public PdfArray getEncodedRecipients()
                                  throws IOException,
                                         GeneralSecurityException

  Throws:
    `IOException`
    `GeneralSecurityException`

### createDERForRecipient

    private DERObject createDERForRecipient(byte[] in,
                                            X509Certificate cert)
                                     throws IOException,
                                            GeneralSecurityException

  Throws:
    `IOException`
    `GeneralSecurityException`

### computeRecipientInfo

    private KeyTransRecipientInfo computeRecipientInfo(X509Certificate x509certificate,
                                                       byte[] abyte0)
                                                throws GeneralSecurityException,
                                                       IOException

  Throws:
    `GeneralSecurityException`
    `IOException`

Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD