Exports the public key to a byte array.
public func exportPublicKey() throws -> Data
Use this method to save the public key contained in Key to a byte array.