---
title: derRepresentation
framework: cryptokit
role: symbol
role_heading: Instance Property
path: cryptokit/p256/signing/privatekey/derrepresentation
---

# derRepresentation

A Distinguished Encoding Rules (DER) encoded representation of the private key.

## Declaration

```swift
var derRepresentation: Data { get }
```

## See Also

### Representing the key

- [rawRepresentation](cryptokit/p256/signing/privatekey/rawrepresentation.md)
- [pemRepresentation](cryptokit/p256/signing/privatekey/pemrepresentation.md)
- [x963Representation](cryptokit/p256/signing/privatekey/x963representation.md)
