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