# Credential Manifest to Seal Mapping

This document maps each credential type to its corresponding Order of St John seal.

## Seal to Credential Type Mapping

### 1. Digital Bank of International Settlements Seal
**SVG**: `digital-bank-seal.svg`  
**PNG**: `digital-bank-seal.png`  
**CDN URL**: `https://cdn.theorder.org/images/digital-bank-seal.png`

**Used For**:
- Default/Identity credentials
- Financial credentials
- Banking credentials
- General membership credentials

**Manifest Templates**:
- `default-manifest-template.json`
- `financial-manifest-template.json`

---

### 2. International Criminal Court of Commerce (ICCC) Seal
**SVG**: `iccc-seal.svg`  
**PNG**: `iccc-seal.png`  
**CDN URL**: `https://cdn.theorder.org/images/iccc-seal.png`

**Used For**:
- Judicial credentials
- Legal credentials
- Court-related credentials
- ICCC member credentials

**Manifest Templates**:
- `judicial-manifest-template.json`

**Design Elements**:
- Maltese Cross with scales of justice
- Courthouse pediment
- "LEX ET ORDO" motto

---

### 3. ICCC Provost Marshals Seal
**SVG**: `iccc-provost-marshals-seal.svg`  
**PNG**: `iccc-provost-marshals-seal.png`  
**CDN URL**: `https://cdn.theorder.org/images/iccc-provost-marshals-seal.png`

**Used For**:
- Enforcement credentials
- Marshal credentials
- Security enforcement credentials
- Provost Marshal appointments

**Manifest Templates**:
- (Create new `provost-marshals-manifest-template.json` if needed)

**Design Elements**:
- Shield charged with Maltese Cross
- Upright sword
- Five-pointed star
- "VIGILIA ET IUSTITIA" motto

---

### 4. Provost Marshals Diplomatic Security Service Seal
**SVG**: `diplomatic-security-seal.svg`  
**PNG**: `diplomatic-security-seal.png`  
**CDN URL**: `https://cdn.theorder.org/images/diplomatic-security-seal.png`

**Used For**:
- Diplomatic credentials
- Security service credentials
- Letters of Credence
- Diplomatic appointments

**Manifest Templates**:
- `diplomatic-manifest-template.json` (Letters of Credence)

**Design Elements**:
- Shield with Maltese Cross
- Globe at center
- Key and olive branch
- Laurel wreath
- "ORDO S. IOANNIS" motto

---

## Quick Reference

| Credential Type | Seal File | Manifest Template |
|----------------|-----------|-------------------|
| Default/Identity | `digital-bank-seal.svg` | `default-manifest-template.json` |
| Financial | `digital-bank-seal.svg` | `financial-manifest-template.json` |
| Judicial | `iccc-seal.svg` | `judicial-manifest-template.json` |
| Diplomatic | `diplomatic-security-seal.svg` | `diplomatic-manifest-template.json` |
| Provost Marshals | `iccc-provost-marshals-seal.svg` | (Create if needed) |

## Usage in Code

```typescript
// Default/Financial credentials
const defaultClient = new EntraVerifiedIDClient({
  logoUri: 'https://cdn.theorder.org/images/digital-bank-seal.png',
});

// Judicial credentials
const judicialClient = new EntraVerifiedIDClient({
  logoUri: 'https://cdn.theorder.org/images/iccc-seal.png',
});

// Diplomatic credentials
const diplomaticClient = new EntraVerifiedIDClient({
  logoUri: 'https://cdn.theorder.org/images/diplomatic-security-seal.png',
});

// Provost Marshals credentials
const marshalsClient = new EntraVerifiedIDClient({
  logoUri: 'https://cdn.theorder.org/images/iccc-provost-marshals-seal.png',
});
```

## Environment Variables

Set per credential type:

```bash
# Default/Financial
ENTRA_CREDENTIAL_LOGO_URI=https://cdn.theorder.org/images/digital-bank-seal.png

# Judicial
ENTRA_CREDENTIAL_LOGO_URI=https://cdn.theorder.org/images/iccc-seal.png

# Diplomatic
ENTRA_CREDENTIAL_LOGO_URI=https://cdn.theorder.org/images/diplomatic-security-seal.png
```

---

**Last Updated**: [Current Date]  
**Design Heritage**: Order of St John (OSJ)

