exportBytes(completion:)
Exports the data that represents a public key.
Declaration
func exportBytes(completion handler: @escaping @Sendable (Data?, (any Error)?) -> Void)var bytes: Data { get async throws }Parameters
- handler:
A completion handler to call when the export operation completes.
dataThe data that represents the public key.
errorAn error object that indicates why the export operation failed, or
nilif it succeeded.