GemBox.Pdf
  • Overview
  • Examples
  • Free version
  • Support
  • Pricelist

    Show / Hide Table of Contents

    PdfCryptFilter Class

    Namespace:
    GemBox.Pdf.Filters
    Assembly:
    GemBox.Pdf.dll

    The Crypt filter (PDF 1.5) allows the document-level security handler (see 7.6, "Encryption") to determine which algorithms should be used to decrypt the input data.

    • C#
    • VB.NET
    public sealed class PdfCryptFilter : PdfFilter
    Public NotInheritable Class PdfCryptFilter
        Inherits PdfFilter
    Inheritance:
    System.Object
    PdfFilter
    PdfCryptFilter

    Properties

    CryptFilterName

    Gets or sets the name of the crypt filter.

    Default value: Identity.

    • C#
    • VB.NET
    public PdfCryptFilterName CryptFilterName { get; set; }
    Public Property CryptFilterName As PdfCryptFilterName
    Property Value
    PdfCryptFilterName

    The name of the crypt filter.

    Exceptions
    InvalidPdfDictionaryEntryException

    Name is not according to PDF Specification ISO 32000-1:2008.

    See Also
    PDF Specification ISO 32000-1:2008

    FilterType

    Gets the Crypt value.

    • C#
    • VB.NET
    public override PdfFilterType FilterType { get; }
    Public Overrides ReadOnly Property FilterType As PdfFilterType
    Property Value
    PdfFilterType

    The Crypt value.

    Overrides
    PdfFilter.FilterType

    Name

    The name of the crypt filter that shall be used to decrypt this stream. The name shall correspond to an entry in the CF entry of the encryption dictionary (see Table 20) or one of the standard crypt filters (see Table 26).

    Default value: Identity.

    • C#
    • VB.NET
    public string Name { get; set; }
    Public Property Name As String
    Property Value
    System.String

    The name of the crypt filter that shall be used to decrypt this stream.

    Exceptions
    InvalidPdfDictionaryEntryException

    Value is not according to PDF Specification ISO 32000-1:2008.

    See Also
    PDF Specification ISO 32000-1:2008

    Inherited Methods

    Equals(System.Object)

    Determines whether the specified System.Object is equal to this PdfFilter instance.

    (Inherited from PdfFilter)

    GetHashCode()

    Returns a hash code for this PdfFilter instance.

    (Inherited from PdfFilter)

    ToString()

    Returns a System.String that represents this PdfFilter instance.

    (Inherited from PdfFilter)

    See Also

    PDF Specification ISO 32000-1:2008, section '7.4.10 Crypt Filter'
    Back to top

    Facebook • Twitter • LinkedIn

    © GemBox Ltd. — All rights reserved.