---
title: ArchiveEncryptionContext.SignatureMode
framework: applearchive
role: symbol
role_heading: Structure
path: applearchive/archiveencryptioncontext/signaturemode-swift.struct
---

# ArchiveEncryptionContext.SignatureMode

Constants that describe the signature modes of an encryption context.

## Declaration

```swift
struct SignatureMode
```

## Topics

### Signature Mode Constants

- [none](applearchive/archiveencryptioncontext/signaturemode-swift.struct/none.md)
- [ecdsa_p256](applearchive/archiveencryptioncontext/signaturemode-swift.struct/ecdsa_p256.md)

### Raw Values

- [rawValue](applearchive/archiveencryptioncontext/signaturemode-swift.struct/rawvalue.md)

## Relationships

### Conforms To

- [CustomStringConvertible](swift/customstringconvertible.md)
- [Equatable](swift/equatable.md)
- [Hashable](swift/hashable.md)
- [RawRepresentable](swift/rawrepresentable.md)

## See Also

### Signing an encryption context

- [sign(encryptedStream:encryptionContext:)](applearchive/archiveencryptioncontext/sign(encryptedstream:encryptioncontext:).md)
- [signatureMode](applearchive/archiveencryptioncontext/signaturemode-swift.property.md)
