---
title: ASImportableCredential.SSHKey
framework: authenticationservices
role: symbol
role_heading: Structure
path: authenticationservices/asimportablecredential/sshkey
---

# ASImportableCredential.SSHKey

A representation of SSHKey as defined in the Credential Exchange Format (CXF) specs

## Declaration

```swift
struct SSHKey
```

## Topics

### Initializers

- [init(keyType:privateKey:keyComment:creationDate:expiryDate:keyGenerationSource:)](authenticationservices/asimportablecredential/sshkey/init(keytype:privatekey:keycomment:creationdate:expirydate:keygenerationsource:).md)

### Instance Properties

- [creationDate](authenticationservices/asimportablecredential/sshkey/creationdate.md)
- [expiryDate](authenticationservices/asimportablecredential/sshkey/expirydate.md)
- [keyComment](authenticationservices/asimportablecredential/sshkey/keycomment.md)
- [keyGenerationSource](authenticationservices/asimportablecredential/sshkey/keygenerationsource.md)
- [keyType](authenticationservices/asimportablecredential/sshkey/keytype.md)
- [privateKey](authenticationservices/asimportablecredential/sshkey/privatekey.md)

## Relationships

### Conforms To

- [Decodable](swift/decodable.md)
- [Encodable](swift/encodable.md)
- [Equatable](swift/equatable.md)
- [Hashable](swift/hashable.md)
- [Sendable](swift/sendable.md)
- [SendableMetatype](swift/sendablemetatype.md)
