# OdfSecurityInfo

Describes password protection associated with the current OpenDocument package.

Class 

`OfficeIMO.OpenDocument`

**Namespace**

`OfficeIMO.OpenDocument`

**Assembly**

`OfficeIMO.OpenDocument`

**Source revision**

`5e5a2dda74b3` with working tree changes

**Source**

[OdfSecurityInfo.cs:10](https://github.com/EvotecIT/OfficeIMO/blob/5e5a2dda74b33242f1f075718ee568bb355c03ba/OfficeIMO.OpenDocument/Security/OdfSecurityInfo.cs#L10)

**Modifiers**

sealed

Describes password protection associated with the current OpenDocument package.

## Inheritance

- object
- OdfSecurityInfo

## Usage

Explore 5 API references to this type

This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.

### Returned or exposed by 5

- Property [OdfDocument.Security](/api/open-document/officeimo-opendocument-odfdocument/#property-security)
- Property [OdgDocument.Security](/api/open-document/officeimo-opendocument-odgdocument/#property-security)
- Property [OdpPresentation.Security](/api/open-document/officeimo-opendocument-odppresentation/#property-security)
- Property [OdsDocument.Security](/api/open-document/officeimo-opendocument-odsdocument/#property-security)
- Property [OdtDocument.Security](/api/open-document/officeimo-opendocument-odtdocument/#property-security)

Filter members 

Show inherited

## Inherited Methods

`public virtual bool Equals(object? obj)` [#](#method-equals-object)

Inherited from object

Parameters

**obj object? required**

Returns

`bool`

`public virtual int GetHashCode()` [#](#method-gethashcode)

Inherited from object

Returns

`int`

`public Type GetType()` [#](#method-gettype)

Inherited from object

Returns

`Type`

`public virtual string? ToString()` [#](#method-tostring)

Inherited from object

Returns

`string?`

## Properties

`public bool SourceIsEncrypted { get; }` [#](#property-sourceisencrypted)

[OdfSecurityInfo.cs:10](https://github.com/EvotecIT/OfficeIMO/blob/5e5a2dda74b33242f1f075718ee568bb355c03ba/OfficeIMO.OpenDocument/Security/OdfSecurityInfo.cs#L10)

Whether the package loaded or most recently saved by this document is encrypted.

`public bool IsDecrypted { get; }` [#](#property-isdecrypted)

[OdfSecurityInfo.cs:13](https://github.com/EvotecIT/OfficeIMO/blob/5e5a2dda74b33242f1f075718ee568bb355c03ba/OfficeIMO.OpenDocument/Security/OdfSecurityInfo.cs#L13)

Whether encrypted source content was successfully decrypted into the editable model.

`public string SupportedProfile { get; }` [#](#property-supportedprofile)

[OdfSecurityInfo.cs:16](https://github.com/EvotecIT/OfficeIMO/blob/5e5a2dda74b33242f1f075718ee568bb355c03ba/OfficeIMO.OpenDocument/Security/OdfSecurityInfo.cs#L16)

Encryption profile implemented for password-protected ODF packages.

<!-- PowerForge markdown artifact sha256:0885276EC2A56527632AA8FB9CEC4C3ACD28B2E6BE0158127A34F328B14F42D1 -->
