<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<OfficeApp xmlns="http://schemas.microsoft.com/office/appforoffice/1.1" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:bt="http://schemas.microsoft.com/office/officeappbasictypes/1.0" xmlns:mailappor="http://schemas.microsoft.com/office/mailappversionoverrides/1.0" xsi:type="MailApp">
    <Id>7f254f51-0514-4e8d-b642-6230dcd45076</Id>
    <Version>1.0.15.0</Version>
    <ProviderName>Utimaco IS GmbH</ProviderName>
    <DefaultLocale>en-US</DefaultLocale>
    <DisplayName DefaultValue="LAN Crypt 2Go"/>
    <Description DefaultValue="Encrypt attachments">
        <Override Locale="de-de" Value="Anhänge verschlüsseln"/>
        <Override Locale="fr-fr" Value="Crypter les fichiers joints"/>
    </Description>
    <IconUrl DefaultValue="https://witty-plant-0f2b88503.4.azurestaticapps.net/assets/icon-64.png"/>
    <HighResolutionIconUrl DefaultValue="https://witty-plant-0f2b88503.4.azurestaticapps.net/assets/icon-128.png"/>
    <SupportUrl DefaultValue="https://utimaco.com/service/support">
        <Override Locale="de-de" Value="https://utimaco.com/de/service/support"/>
        <Override Locale="fr-fr" Value="https://utimaco.com/service/support"/>
    </SupportUrl>
    <AppDomains>
        <AppDomain>https://api.lancrypt.com</AppDomain>
        <AppDomain>https://auth.lancrypt.com</AppDomain>
        <AppDomain>https://portal.lancrypt.com</AppDomain>
        <AppDomain>https://user-portal.lancrypt.com</AppDomain>
    </AppDomains>
    <Hosts>
        <Host Name="Mailbox"/>
    </Hosts>
    <Requirements>
        <Sets>
            <Set Name="Mailbox" MinVersion="1.1"/>
        </Sets>
    </Requirements>
    <FormSettings>
        <Form xsi:type="ItemEdit">
            <DesktopSettings>
                <SourceLocation DefaultValue="https://witty-plant-0f2b88503.4.azurestaticapps.net/composePane.html"/>
            </DesktopSettings>
        </Form>
    </FormSettings>
    <Permissions>ReadWriteItem</Permissions>
    <Rule xsi:type="RuleCollection" Mode="Or">
        <Rule xsi:type="ItemIs" ItemType="Message" FormType="Edit"/>
    </Rule>
    <DisableEntityHighlighting>false</DisableEntityHighlighting>

    <VersionOverrides xmlns="http://schemas.microsoft.com/office/mailappversionoverrides" xsi:type="VersionOverridesV1_0">
        <VersionOverrides xmlns="http://schemas.microsoft.com/office/mailappversionoverrides/1.1" xsi:type="VersionOverridesV1_1">
            <Requirements>
                <bt:Sets DefaultMinVersion="1.14">
                    <bt:Set Name="Mailbox" />
                </bt:Sets>
            </Requirements>
            <Hosts>
                <Host xsi:type="MailHost">
                    <!-- Event-based activation happens in a lightweight runtime.-->
                    <Runtimes>
                        <!-- HTML file including reference to or inline JavaScript event handlers.
                             This is used by Outlook on the web and on the new Mac UI, and new Outlook on Windows (preview). -->
                        <Runtime resid="Commands.Url">
                            <!-- JavaScript file containing event handlers. This is used by classic Outlook on Windows. -->
                            <Override type="javascript" resid="JSRuntime.Url"/>
                        </Runtime>
                    </Runtimes>
                    <DesktopFormFactor>
                        <!-- Configure other command surface extension points for add-in command support, if needed. -->
                        <FunctionFile resid="Commands.Url" />

                        <!-- Message compose form -->
                        <ExtensionPoint xsi:type="MessageComposeCommandSurface">
                            <OfficeTab id="TabDefault">
                                <Group id="msgProductGroup">
                                    <Label resid="ProductGroup.Label"/>
                                    <Tooltip resid="ProductGroup.Tooltip" />
                                    <Control xsi:type="Button" id="composePaneShow">
                                        <Label resid="ComposeMenu.Label"/>
                                        <Supertip>
                                            <Title resid="ComposeMenu.TipTitle" />
                                            <Description resid="ComposeMenu.Tooltip" />
                                        </Supertip>
                                        <Icon>
                                            <bt:Image size="16" resid="Icon.16x16"/>
                                            <bt:Image size="32" resid="Icon.32x32"/>
                                            <bt:Image size="80" resid="Icon.80x80"/>
                                        </Icon>
                                        <Action xsi:type="ShowTaskpane">
                                            <SourceLocation resid="ComposePane.Url" />
                                        </Action>
                                    </Control>
                                    <Control xsi:type="Button" id="attachPaneShow">
                                        <Label resid="AttachMenu.Label"/>
                                        <Supertip>
                                            <Title resid="AttachMenu.TipTitle" />
                                            <Description resid="AttachMenu.Tooltip" />
                                        </Supertip>
                                        <Icon>
                                            <bt:Image size="16" resid="Document.16x16"/>
                                            <bt:Image size="32" resid="Document.32x32"/>
                                            <bt:Image size="80" resid="Document.80x80"/>
                                        </Icon>
                                        <Action xsi:type="ShowTaskpane">
                                            <SourceLocation resid="AttachPane.Url" />
                                        </Action>
                                    </Control>
                                </Group>
                            </OfficeTab>
                        </ExtensionPoint>

                        <!-- Enable launching the add-in on the included event. -->
                        <ExtensionPoint xsi:type="LaunchEvent">
                            <LaunchEvents>
                                <LaunchEvent Type="OnMessageSend" FunctionName="onMessageSendHandler" SendMode="SoftBlock" />
                            </LaunchEvents>
                            <!-- Identify the runtime to be used (also referenced by the Runtime element). -->
                            <SourceLocation resid="Commands.Url"/>
                        </ExtensionPoint>
                    </DesktopFormFactor>
                </Host>
            </Hosts>
            <Resources>
                <bt:Images>
                    <bt:Image id="Icon.16x16" DefaultValue="https://witty-plant-0f2b88503.4.azurestaticapps.net/assets/icon-16.png"/>
                    <bt:Image id="Icon.32x32" DefaultValue="https://witty-plant-0f2b88503.4.azurestaticapps.net/assets/icon-32.png"/>
                    <bt:Image id="Icon.80x80" DefaultValue="https://witty-plant-0f2b88503.4.azurestaticapps.net/assets/icon-80.png"/>
                    <bt:Image id="Document.16x16" DefaultValue="https://witty-plant-0f2b88503.4.azurestaticapps.net/assets/document-16.png"/>
                    <bt:Image id="Document.32x32" DefaultValue="https://witty-plant-0f2b88503.4.azurestaticapps.net/assets/document-32.png"/>
                    <bt:Image id="Document.80x80" DefaultValue="https://witty-plant-0f2b88503.4.azurestaticapps.net/assets/document-80.png"/>
                </bt:Images>
                <bt:Urls>
                    <bt:Url id="Commands.Url" DefaultValue="https://witty-plant-0f2b88503.4.azurestaticapps.net/commands.html"/>
                    <bt:Url id="ComposePane.Url" DefaultValue="https://witty-plant-0f2b88503.4.azurestaticapps.net/composePane.html"/>
                    <bt:Url id="AttachPane.Url" DefaultValue="https://witty-plant-0f2b88503.4.azurestaticapps.net/attachPane.html"/>
                    <!-- Entry needed for classic Outlook on Windows. -->
                    <bt:Url id="JSRuntime.Url" DefaultValue="https://witty-plant-0f2b88503.4.azurestaticapps.net/commandsClassic.js" />
                </bt:Urls>
                <bt:ShortStrings>
                    <bt:String id="ProductGroup.Label" DefaultValue="LAN Crypt 2Go"/>
                    <bt:String id="ProductGroup.Tooltip" DefaultValue="Encrypt attachments">
                        <bt:Override Locale="de-DE" Value="Anhänge verschlüsseln"/>
                        <bt:Override Locale="fr-FR" Value="Crypter les fichiers joints"/>
                    </bt:String>
                    <bt:String id="AttachMenu.Label" DefaultValue="Securely attach file">
                        <bt:Override Locale="de-DE" Value="Datei verschlüsselt anfügen"/>
                        <bt:Override Locale="fr-FR" Value="Joindre un fichier en toute sécurité"/>
                    </bt:String>
                    <bt:String id="AttachMenu.TipTitle" DefaultValue="Select file and add as encrypted attachment">
                        <bt:Override Locale="de-DE" Value="Datei wählen und als verschlüsselten Anhang anfügen"/>
                        <bt:Override Locale="fr-FR" Value="Sélectionnez le fichier et joignez-le en tant que pièce jointe cryptée"/>
                    </bt:String>
                    <bt:String id="ComposeMenu.Label" DefaultValue="Encryption options">
                        <bt:Override Locale="de-DE" Value="Optionen für Verschlüsselung"/>
                        <bt:Override Locale="fr-FR" Value="Options de Chiffrement"/>
                    </bt:String>
                    <bt:String id="ComposeMenu.TipTitle" DefaultValue="Select encryption for attachments of this mail">
                        <bt:Override Locale="de-DE" Value="Verschlüsselung für Anhänge dieser E-Mail wählen"/>
                        <bt:Override Locale="fr-FR" Value="Choisissez le cryptage pour les pièces jointes de cet e-mail"/>
                    </bt:String>
                </bt:ShortStrings>
                <bt:LongStrings>
                    <bt:String id="AttachMenu.Tooltip" DefaultValue="Opens a pane for adding encrypted attachments.">
                        <bt:Override Locale="de-DE" Value="Öffnet ein Formular zum verschlüsselten Hinzufügen von Anhängen."/>
                        <bt:Override Locale="fr-FR" Value="Ouvre un volet pour ajouter des pièces jointes chiffrées."/>
                    </bt:String>
                    <bt:String id="ComposeMenu.Tooltip" DefaultValue="Opens a pane with encryption options for attachments of this mail.">
                        <bt:Override Locale="de-DE" Value="Öffnet ein Formular zum Konfigurieren der Verschlüsselung für Anhänge dieser E-Mail."/>
                        <bt:Override Locale="fr-FR" Value="Ouvre un volet avec des options de chiffrement pour les pièces jointes de ce courrier."/>
                    </bt:String>
                    <bt:String id="ProductControl.Tooltip" DefaultValue="LAN Crypt 2Go protects mail attachments.">
                        <bt:Override Locale="de-DE" Value="LAN Crypt 2Go schützt Anhänge von E-Mails."/>
                        <bt:Override Locale="fr-FR" Value="LAN Crypt 2Go protège les pièces jointes des e-mails."/>
                    </bt:String>
                </bt:LongStrings>
            </Resources>
        </VersionOverrides>
    </VersionOverrides>
</OfficeApp>