init(compressedRepresentation:)
Creates a P-256 public key for key agreement from a compressed representation of the key.
- iOS
- 13+
- macOS
- 10.15+
- tvOS
- 13+
- watchOS
- 6+
init<Bytes>(compressedRepresentation: Bytes) throws where Bytes : ContiguousBytes
Parameters
- compressedRepresentation
A compressed representation of the key as a collection of contiguous bytes.