iText 7 7.1.9 API
iText.Kernel.Pdf.Filespec.PdfEncryptedPayloadFileSpecFactory Class Reference

Static Public Member Functions

static PdfFileSpec  Create (PdfDocument doc, byte[] fileStore, PdfEncryptedPayload encryptedPayload, PdfName mimeType, PdfDictionary fileParameter)
  Embed a encrypted payload to a PdfDocument. More...
 
static PdfFileSpec  Create (PdfDocument doc, byte[] fileStore, PdfEncryptedPayload encryptedPayload, PdfDictionary fileParameter)
  Embed a encrypted payload to a PdfDocument. More...
 
static PdfFileSpec  Create (PdfDocument doc, byte[] fileStore, PdfEncryptedPayload encryptedPayload)
  Embed a encrypted payload to a PdfDocument. More...
 
static PdfFileSpec  Create (PdfDocument doc, String filePath, PdfEncryptedPayload encryptedPayload, PdfName mimeType, PdfDictionary fileParameter)
  Embed a encrypted payload to a PdfDocument. More...
 
static PdfFileSpec  Create (PdfDocument doc, String filePath, PdfEncryptedPayload encryptedPayload, PdfName mimeType)
  Embed a encrypted payload to a PdfDocument. More...
 
static PdfFileSpec  Create (PdfDocument doc, String filePath, PdfEncryptedPayload encryptedPayload)
  Embed a encrypted payload to a PdfDocument. More...
 
static PdfFileSpec  Create (PdfDocument doc, Stream @is, PdfEncryptedPayload encryptedPayload, PdfName mimeType, PdfDictionary fileParameter)
  Embed a encrypted payload to a PdfDocument. More...
 
static PdfFileSpec  Create (PdfDocument doc, Stream @is, PdfEncryptedPayload encryptedPayload, PdfName mimeType)
  Embed a encrypted payload to a PdfDocument. More...
 
static PdfFileSpec  Create (PdfDocument doc, Stream @is, PdfEncryptedPayload encryptedPayload)
  Embed a encrypted payload to a PdfDocument. More...
 
static PdfFileSpec  Wrap (PdfDictionary dictionary)
 
static String  GenerateDescription (PdfEncryptedPayload ep)
 
static String  GenerateFileDisplay (PdfEncryptedPayload ep)
 

Member Function Documentation

◆ Create() [1/9]

static PdfFileSpec iText.Kernel.Pdf.Filespec.PdfEncryptedPayloadFileSpecFactory.Create ( PdfDocument  doc,
byte[]  fileStore,
PdfEncryptedPayload  encryptedPayload 
)
inlinestatic

Embed a encrypted payload to a PdfDocument.

Parameters
doc PdfDocument to add the file to
fileStore byte[] containing the file
encryptedPayload the encrypted payload dictionary
Returns
PdfFileSpec containing the file specification of the encrypted payload

◆ Create() [2/9]

static PdfFileSpec iText.Kernel.Pdf.Filespec.PdfEncryptedPayloadFileSpecFactory.Create ( PdfDocument  doc,
byte[]  fileStore,
PdfEncryptedPayload  encryptedPayload,
PdfDictionary  fileParameter 
)
inlinestatic

Embed a encrypted payload to a PdfDocument.

Parameters
doc PdfDocument to add the file to
fileStore byte[] containing the file
encryptedPayload the encrypted payload dictionary
fileParameter Pdfdictionary containing file parameters
Returns
PdfFileSpec containing the file specification of the encrypted payload

◆ Create() [3/9]

static PdfFileSpec iText.Kernel.Pdf.Filespec.PdfEncryptedPayloadFileSpecFactory.Create ( PdfDocument  doc,
byte[]  fileStore,
PdfEncryptedPayload  encryptedPayload,
PdfName  mimeType,
PdfDictionary  fileParameter 
)
inlinestatic

Embed a encrypted payload to a PdfDocument.

Parameters
doc PdfDocument to add the file to
fileStore byte[] containing encrypted file
encryptedPayload the encrypted payload dictionary
mimeType mime-type of the file
fileParameter Pdfdictionary containing file parameters
Returns
PdfFileSpec containing the file specification of the encrypted payload

◆ Create() [4/9]

static PdfFileSpec iText.Kernel.Pdf.Filespec.PdfEncryptedPayloadFileSpecFactory.Create ( PdfDocument  doc,
Stream @  is,
PdfEncryptedPayload  encryptedPayload 
)
inlinestatic

Embed a encrypted payload to a PdfDocument.

Parameters
doc PdfDocument to add the file to
is stream containing encrypted file
encryptedPayload the encrypted payload dictionary
Returns
PdfFileSpec containing the file specification of the encrypted payload

◆ Create() [5/9]

static PdfFileSpec iText.Kernel.Pdf.Filespec.PdfEncryptedPayloadFileSpecFactory.Create ( PdfDocument  doc,
Stream @  is,
PdfEncryptedPayload  encryptedPayload,
PdfName  mimeType 
)
inlinestatic

Embed a encrypted payload to a PdfDocument.

Parameters
doc PdfDocument to add the file to
is stream containing encrypted file
encryptedPayload the encrypted payload dictionary
mimeType mime-type of the file
Returns
PdfFileSpec containing the file specification of the encrypted payload

◆ Create() [6/9]

static PdfFileSpec iText.Kernel.Pdf.Filespec.PdfEncryptedPayloadFileSpecFactory.Create ( PdfDocument  doc,
Stream @  is,
PdfEncryptedPayload  encryptedPayload,
PdfName  mimeType,
PdfDictionary  fileParameter 
)
inlinestatic

Embed a encrypted payload to a PdfDocument.

Parameters
doc PdfDocument to add the file to
is stream containing encrypted file
encryptedPayload the encrypted payload dictionary
mimeType mime-type of the file
fileParameter Pdfdictionary containing file parameters
Returns
PdfFileSpec containing the file specification of the encrypted payload

◆ Create() [7/9]

static PdfFileSpec iText.Kernel.Pdf.Filespec.PdfEncryptedPayloadFileSpecFactory.Create ( PdfDocument  doc,
String  filePath,
PdfEncryptedPayload  encryptedPayload 
)
inlinestatic

Embed a encrypted payload to a PdfDocument.

Parameters
doc PdfDocument to add the file to
filePath path to the encrypted file
encryptedPayload the encrypted payload dictionary
Returns
PdfFileSpec containing the file specification of the encrypted payload

◆ Create() [8/9]

static PdfFileSpec iText.Kernel.Pdf.Filespec.PdfEncryptedPayloadFileSpecFactory.Create ( PdfDocument  doc,
String  filePath,
PdfEncryptedPayload  encryptedPayload,
PdfName  mimeType 
)
inlinestatic

Embed a encrypted payload to a PdfDocument.

Parameters
doc PdfDocument to add the file to
filePath path to the encrypted file
encryptedPayload the encrypted payload dictionary
mimeType mime-type of the file
Returns
PdfFileSpec containing the file specification of the encrypted payload

◆ Create() [9/9]

static PdfFileSpec iText.Kernel.Pdf.Filespec.PdfEncryptedPayloadFileSpecFactory.Create ( PdfDocument  doc,
String  filePath,
PdfEncryptedPayload  encryptedPayload,
PdfName  mimeType,
PdfDictionary  fileParameter 
)
inlinestatic

Embed a encrypted payload to a PdfDocument.

Parameters
doc PdfDocument to add the file to
filePath path to the encrypted file
encryptedPayload the encrypted payload dictionary
mimeType mime-type of the file
fileParameter Pdfdictionary containing file parameters
Returns
PdfFileSpec containing the file specification of the encrypted payload