alexa
menu

MAUI

  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Search Results for

    Show / Hide Table of Contents

    Class Excel2007Decryptor

    This class is responsible for decryption of Excel 2007 files.

    Inheritance
    object
    Excel2007Decryptor
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Syncfusion.XlsIO.Implementation.Security
    Assembly: Syncfusion.XlsIO.NET.dll
    Syntax
    public class Excel2007Decryptor

    Constructors

    Excel2007Decryptor()

    Declaration
    public Excel2007Decryptor()

    Fields

    m_arrKey

    Array containing key data.

    Declaration
    protected byte[] m_arrKey
    Field Value
    Type
    byte[]

    m_info

    Encryption info.

    Declaration
    protected EncryptionInfo m_info
    Field Value
    Type
    EncryptionInfo

    Properties

    Storage

    Compound storage that should be decrypted.

    Declaration
    protected ICompoundStorage Storage { get; }
    Property Value
    Type
    ICompoundStorage

    Methods

    CheckEncrypted(ICompoundStorage)

    Checks whether storage contains encrypted data.

    Declaration
    public static bool CheckEncrypted(ICompoundStorage storage)
    Parameters
    Type Name Description
    ICompoundStorage storage

    Storage to check.

    Returns
    Type Description
    bool

    True if storage is encrypted.

    CheckPassword(string)

    Checks whether password is correct.

    Declaration
    public virtual bool CheckPassword(string password)
    Parameters
    Type Name Description
    string password

    Password to check.

    Returns
    Type Description
    bool

    True if password verification succeeded.

    Decrypt()

    Decrypts internal storage storage.

    Declaration
    public virtual Stream Decrypt()
    Returns
    Type Description
    Stream

    Decrypted stream.

    Initialize(ICompoundStorage)

    Prepares decryptor for actual decryption.

    Declaration
    public void Initialize(ICompoundStorage storage)
    Parameters
    Type Name Description
    ICompoundStorage storage

    Compound storage to get required data from.

    In this article
    Back to top Generated by DocFX
    Copyright © 2001 - 2026 Syncfusion Inc. All Rights Reserved