---
title: SecExternalFormat
framework: security
role: symbol
role_heading: Enumeration
path: security/secexternalformat
---

# SecExternalFormat

The external format of a keychain item.

## Declaration

```swift
enum SecExternalFormat
```

## Topics

### Constants

- [SecExternalFormat.formatUnknown](security/secexternalformat/formatunknown.md)
- [SecExternalFormat.formatOpenSSL](security/secexternalformat/formatopenssl.md)
- [SecExternalFormat.formatSSH](security/secexternalformat/formatssh.md)
- [SecExternalFormat.formatBSAFE](security/secexternalformat/formatbsafe.md)
- [SecExternalFormat.formatSSHv2](security/secexternalformat/formatsshv2.md)
- [SecExternalFormat.formatRawKey](security/secexternalformat/formatrawkey.md)
- [SecExternalFormat.formatWrappedPKCS8](security/secexternalformat/formatwrappedpkcs8.md)
- [SecExternalFormat.formatWrappedOpenSSL](security/secexternalformat/formatwrappedopenssl.md)
- [SecExternalFormat.formatWrappedSSH](security/secexternalformat/formatwrappedssh.md)
- [SecExternalFormat.formatWrappedLSH](security/secexternalformat/formatwrappedlsh.md)
- [SecExternalFormat.formatX509Cert](security/secexternalformat/formatx509cert.md)
- [SecExternalFormat.formatPEMSequence](security/secexternalformat/formatpemsequence.md)
- [SecExternalFormat.formatPKCS7](security/secexternalformat/formatpkcs7.md)
- [SecExternalFormat.formatPKCS12](security/secexternalformat/formatpkcs12.md)
- [SecExternalFormat.formatNetscapeCertSequence](security/secexternalformat/formatnetscapecertsequence.md)

### Initializers

- [init(rawValue:)](security/secexternalformat/init(rawvalue:).md)

## Relationships

### Conforms To

- [BitwiseCopyable](swift/bitwisecopyable.md)
- [Equatable](swift/equatable.md)
- [Hashable](swift/hashable.md)
- [RawRepresentable](swift/rawrepresentable.md)
- [Sendable](swift/sendable.md)
- [SendableMetatype](swift/sendablemetatype.md)
