<!-- Copyright (c) 2026 defconxt. All rights reserved. -->
<!-- Licensed under AGPL-3.0 — see LICENSE file for details. -->
<!-- NERF is a trademark of defconxt. -->
# API Reference — Implementing Email Archival Security

## Exchange PowerShell
```powershell
Enable-Mailbox -Identity "user@example.com" -Archive
Get-Mailbox | Select DisplayName, ArchiveStatus, ArchiveQuota
Set-Mailbox -Identity "user@example.com" -LitigationHoldEnabled $true
```

## Integrity Verification
```bash
find /archive/ -name "*.eml" -exec sha256sum {} \; > manifest.sha256
sha256sum -c manifest.sha256
openssl dgst -sha256 -sign private.key -out manifest.sig manifest.sha256
```

## eDiscovery
```powershell
New-ComplianceCase -Name "Case Name"
New-ComplianceSearch -Name "Search" -ExchangeLocation All -ContentMatchQuery "keyword"
```
