Class PdfEncryptedPayloadFileSpecFactory
public class PdfEncryptedPayloadFileSpecFactory
- Inheritance
-
PdfEncryptedPayloadFileSpecFactory
- Inherited Members
Constructors
PdfEncryptedPayloadFileSpecFactory()
public PdfEncryptedPayloadFileSpecFactory()
Methods
Create(PdfDocument, byte[], PdfEncryptedPayload)
Embed a encrypted payload to a PdfDocument.
public static PdfFileSpec Create(PdfDocument doc, byte[] fileStore, PdfEncryptedPayload encryptedPayload)
Parameters
doc
PdfDocumentPdfDocument to add the file to
fileStore
byte[]byte[] containing the file
encryptedPayload
PdfEncryptedPayloadthe encrypted payload dictionary
Returns
- PdfFileSpec
PdfFileSpec containing the file specification of the encrypted payload
Create(PdfDocument, byte[], PdfEncryptedPayload, PdfDictionary)
Embed a encrypted payload to a PdfDocument.
public static PdfFileSpec Create(PdfDocument doc, byte[] fileStore, PdfEncryptedPayload encryptedPayload, PdfDictionary fileParameter)
Parameters
doc
PdfDocumentPdfDocument to add the file to
fileStore
byte[]byte[] containing the file
encryptedPayload
PdfEncryptedPayloadthe encrypted payload dictionary
fileParameter
PdfDictionaryPdfdictionary containing file parameters
Returns
- PdfFileSpec
PdfFileSpec containing the file specification of the encrypted payload
Create(PdfDocument, byte[], PdfEncryptedPayload, PdfName, PdfDictionary)
Embed a encrypted payload to a PdfDocument.
public static PdfFileSpec Create(PdfDocument doc, byte[] fileStore, PdfEncryptedPayload encryptedPayload, PdfName mimeType, PdfDictionary fileParameter)
Parameters
doc
PdfDocumentPdfDocument to add the file to
fileStore
byte[]byte[] containing encrypted file
encryptedPayload
PdfEncryptedPayloadthe encrypted payload dictionary
mimeType
PdfNamemime-type of the file
fileParameter
PdfDictionaryPdfdictionary containing file parameters
Returns
- PdfFileSpec
PdfFileSpec containing the file specification of the encrypted payload
Create(PdfDocument, Stream, PdfEncryptedPayload)
Embed a encrypted payload to a PdfDocument.
public static PdfFileSpec Create(PdfDocument doc, Stream @is, PdfEncryptedPayload encryptedPayload)
Parameters
doc
PdfDocumentPdfDocument to add the file to
is
Streamstream containing encrypted file
encryptedPayload
PdfEncryptedPayloadthe encrypted payload dictionary
Returns
- PdfFileSpec
PdfFileSpec containing the file specification of the encrypted payload
Create(PdfDocument, Stream, PdfEncryptedPayload, PdfName)
Embed a encrypted payload to a PdfDocument.
public static PdfFileSpec Create(PdfDocument doc, Stream @is, PdfEncryptedPayload encryptedPayload, PdfName mimeType)
Parameters
doc
PdfDocumentPdfDocument to add the file to
is
Streamstream containing encrypted file
encryptedPayload
PdfEncryptedPayloadthe encrypted payload dictionary
mimeType
PdfNamemime-type of the file
Returns
- PdfFileSpec
PdfFileSpec containing the file specification of the encrypted payload
Create(PdfDocument, Stream, PdfEncryptedPayload, PdfName, PdfDictionary)
Embed a encrypted payload to a PdfDocument.
public static PdfFileSpec Create(PdfDocument doc, Stream @is, PdfEncryptedPayload encryptedPayload, PdfName mimeType, PdfDictionary fileParameter)
Parameters
doc
PdfDocumentPdfDocument to add the file to
is
Streamstream containing encrypted file
encryptedPayload
PdfEncryptedPayloadthe encrypted payload dictionary
mimeType
PdfNamemime-type of the file
fileParameter
PdfDictionaryPdfdictionary containing file parameters
Returns
- PdfFileSpec
PdfFileSpec containing the file specification of the encrypted payload
Create(PdfDocument, string, PdfEncryptedPayload)
Embed a encrypted payload to a PdfDocument.
public static PdfFileSpec Create(PdfDocument doc, string filePath, PdfEncryptedPayload encryptedPayload)
Parameters
doc
PdfDocumentPdfDocument to add the file to
filePath
stringpath to the encrypted file
encryptedPayload
PdfEncryptedPayloadthe encrypted payload dictionary
Returns
- PdfFileSpec
PdfFileSpec containing the file specification of the encrypted payload
Create(PdfDocument, string, PdfEncryptedPayload, PdfName)
Embed a encrypted payload to a PdfDocument.
public static PdfFileSpec Create(PdfDocument doc, string filePath, PdfEncryptedPayload encryptedPayload, PdfName mimeType)
Parameters
doc
PdfDocumentPdfDocument to add the file to
filePath
stringpath to the encrypted file
encryptedPayload
PdfEncryptedPayloadthe encrypted payload dictionary
mimeType
PdfNamemime-type of the file
Returns
- PdfFileSpec
PdfFileSpec containing the file specification of the encrypted payload
Create(PdfDocument, string, PdfEncryptedPayload, PdfName, PdfDictionary)
Embed a encrypted payload to a PdfDocument.
public static PdfFileSpec Create(PdfDocument doc, string filePath, PdfEncryptedPayload encryptedPayload, PdfName mimeType, PdfDictionary fileParameter)
Parameters
doc
PdfDocumentPdfDocument to add the file to
filePath
stringpath to the encrypted file
encryptedPayload
PdfEncryptedPayloadthe encrypted payload dictionary
mimeType
PdfNamemime-type of the file
fileParameter
PdfDictionaryPdfdictionary containing file parameters
Returns
- PdfFileSpec
PdfFileSpec containing the file specification of the encrypted payload
GenerateDescription(PdfEncryptedPayload)
public static string GenerateDescription(PdfEncryptedPayload ep)
Parameters
Returns
GenerateFileDisplay(PdfEncryptedPayload)
public static string GenerateFileDisplay(PdfEncryptedPayload ep)
Parameters
Returns
Wrap(PdfDictionary)
public static PdfFileSpec Wrap(PdfDictionary dictionary)
Parameters
dictionary
PdfDictionary