---
title: "init(x963Representation:)"
framework: cryptokit
role: symbol
role_heading: Initializer
path: "cryptokit/p256/signing/publickey/init(x963representation:)"
---

# init(x963Representation:)

Creates a P-256 public key for signing from an ANSI x9.63 representation.

## Declaration

```swift
init<Bytes>(x963Representation: Bytes) throws where Bytes : ContiguousBytes
```

## Parameters

- `x963Representation`: An ANSI x9.63 representation of the key.

## See Also

### Creating a key

- [init(rawRepresentation:)](cryptokit/p256/signing/publickey/init(rawrepresentation:).md)
- [init(compactRepresentation:)](cryptokit/p256/signing/publickey/init(compactrepresentation:).md)
- [init(compressedRepresentation:)](cryptokit/p256/signing/publickey/init(compressedrepresentation:).md)
- [init(derRepresentation:)](cryptokit/p256/signing/publickey/init(derrepresentation:).md)
- [init(pemRepresentation:)](cryptokit/p256/signing/publickey/init(pemrepresentation:).md)
